From 2ddbd99aa5b2e396f96c6daba60fe1ac2573d9fb Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Sat, 18 May 2024 11:53:54 +0800
Subject: [PATCH] 新增RSS 订阅链接

---
 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