From 9f2153c7d97b375f0a9913beed65350d1e9fc0c4 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期五, 30 四月 2021 15:20:10 +0800
Subject: [PATCH] 邻里圈bug解决

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActNeighborCircleDAO.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActNeighborCircleDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActNeighborCircleDAO.java
index 66b747d..1925342 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActNeighborCircleDAO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActNeighborCircleDAO.java
@@ -9,6 +9,7 @@
 import com.panzhihua.common.model.vos.neighbor.ComActNeighborCircleAdminVO;
 import com.panzhihua.common.model.vos.neighbor.ComActNeighborCircleAppVO;
 import com.panzhihua.common.model.vos.neighbor.ComActNeighborCircleDetailAppVO;
+import com.panzhihua.common.model.vos.neighbor.ComActNeighborCommentReplyAppVO;
 import com.panzhihua.common.model.vos.user.AdministratorsUserVO;
 import com.panzhihua.service_community.model.dos.ComActNeighborCircleDO;
 import org.apache.ibatis.annotations.Mapper;
@@ -97,4 +98,12 @@
             " </script>")
     IPage<ComActNeighborCircleAppVO> neighborExamineByApp(Page page,@Param("userId") Long userId);
 
+    @Select("select reply.id,reply.comment_id,reply.reply_content,reply.fabulous_num,reply.create_at" +
+            ",reply.is_release,su.nick_name as userName,su.image_url as userHeadUrl,su1.nick_name as oldUserName" +
+            " from com_act_neighbor_circle_comment_reply as reply" +
+            " left join sys_user as su on su.user_id = reply.user_id" +
+            " left join sys_user as su1 on su1.user_id = reply.parent_user_id" +
+            " where reply.comment_id = #{commentId}")
+    IPage<ComActNeighborCommentReplyAppVO> neighborCommentReplyByApp(Page page, @Param("commentId") Long commentId);
+
 }

--
Gitblit v1.7.1