From eaf26c265f8882b2e100428d942ac377330cc114 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Thu, 04 Aug 2022 18:47:07 +0800 Subject: [PATCH] 新增:消息盒子功能 --- snowy-main/src/main/java/vip/xiaonuo/modular/blogarticlecomment/mapper/mapping/BlogArticleCommentMapper.xml | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticlecomment/mapper/mapping/BlogArticleCommentMapper.xml b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticlecomment/mapper/mapping/BlogArticleCommentMapper.xml index bcbce7f..ccd9e8c 100644 --- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticlecomment/mapper/mapping/BlogArticleCommentMapper.xml +++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticlecomment/mapper/mapping/BlogArticleCommentMapper.xml @@ -10,7 +10,7 @@ b.visitor_id AS visitorId, b.visitor_nick_name AS visitorNickName, b.visitor_home_page AS visitorHomePage, - b.comment_content AS commentContent, + IF(b.auth_status=2,'(悄悄话已隐藏)******',b.comment_content) as commentContent, b.create_date AS createDate, b.auth_status AS authStatus, a.visitor_nick_name AS replyUserName, @@ -22,9 +22,10 @@ AND b.is_enable=1 AND b.is_check=1 ORDER BY - a.create_date ASC + b.create_date ASC <if test="limitCount != null"> LIMIT #{limitCount}; </if> </select> + </mapper> -- Gitblit v1.9.1