From ceebd4af3d580684023b1a67e851143b3b4d5186 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 02 Mar 2022 12:49:05 +0800 Subject: [PATCH] sql 控制调整 --- snowy-main/src/main/java/vip/xiaonuo/modular/blogarticlecomment/mapper/mapping/BlogArticleCommentMapper.xml | 4 ++-- 1 files changed, 2 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..b66c0e4 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,7 +22,7 @@ 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> -- Gitblit v1.9.1