linwei
2024-01-02 d2331b078b92fe13c7de5ad3dcead6ce88a4d03d
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>