zhongrj
2024-01-02 c464bb203d8d9874a97424f674f816e45bcd981b
src/main/java/org/springblade/modules/article/mapper/ArticleCommentMapper.xml
@@ -55,7 +55,9 @@
        jac.check_remark,
        jac.create_time,
        jac.is_deleted,
        bu.`name`,
        bu.`real_name`,
        bu.`avatar`,
        bu.`phone`,
        ja.title
        FROM
        jczz_article_comment jac
@@ -80,6 +82,7 @@
            <if test="noticeComment.phone != null ">and bu.phone like concat('%',#{noticeComment.phone},'%')</if>
            <if test="noticeComment.name != null ">and bu.name like concat('%',#{noticeComment.name},'%')</if>
            <if test="noticeComment.title != null ">and ja.title  like concat('%',#{noticeComment.title},'%') </if>
            and  jac.user_id is not null
        </where>
    </select>