src/main/java/org/springblade/modules/article/mapper/ArticleCommentMapper.xml
@@ -55,9 +55,9 @@ jac.check_remark, jac.create_time, jac.is_deleted, bu.`real_name`, bu.`real_name` name, bu.`avatar`, bu.`phone`, bu.`phone` phone, ja.title FROM jczz_article_comment jac @@ -83,6 +83,7 @@ <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 order by jac.create_time desc </where> </select>