linwei
2024-01-08 ad2ec97fe0c60eee4bb7c8cdacff7c876f280ea7
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` name,
        bu.`avatar`,
        bu.`phone` phone,
        ja.title
        FROM
        jczz_article_comment jac
@@ -80,7 +82,8 @@
            <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
            and jac.user_id is not null
            order by jac.create_time desc
        </where>
    </select>