From 1aa70f3b0a1411d0de3f4ca78b639bf065168be2 Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期五, 10 九月 2021 18:29:10 +0800
Subject: [PATCH] Merge branch 'zzj' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into discuss

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

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDiscussDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDiscussDAO.java
index dfe30b7..bd5c558 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDiscussDAO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDiscussDAO.java
@@ -75,6 +75,24 @@
     IPage<ComActDiscussCommentVO> pageDiscussComment(Page page,
         @Param("pageComActDiscussCommentDTO") PageComActDiscussCommentDTO pageComActDiscussCommentDTO);
 
+    /**
+     * 议事投票-评论-后台分页查询
+     *
+     * @param pageComActDiscussCommentDTO
+     *            分页查询参数
+     * @return ComActDiscussCommentVO
+     */
+    IPage<ComActDiscussCommentVO> pageDiscussCommentAdmin(Page page,
+                                                     @Param("pageComActDiscussCommentDTO") PageComActDiscussCommentDTO pageComActDiscussCommentDTO);
+
+    /**
+     * 默认查询评论下两条回复信息
+     * @param commentId 评论id
+     * @return  回复列表
+     */
+    List<ComActDiscussCommentVO> getDiscussCommentReplyList(@Param("commentId") Long commentId);
+
+
 //    @Select("<script> " + "select t.* from (" + "SELECT " + "d.id, " + "d.vote_title, "
 //        + "if(d.address is null or d.address='null',a.name,d.address )address, " + "d.photo_pah, "
 //        + "d.`discuss_subject`, " + "d.type, " + "d.end_time, " + "d.status, " + "d.views_num, " + "d.join_num, "
@@ -168,6 +186,13 @@
     List<ComActDiscussOptionVO> getScreenDiscussOptionList(@Param("discussId") Long discussId);
 
     /**
+     * 添加议事投票评论数
+     * @param discussId 议事投票
+     * @param num   添加数量
+     */
+    void addCommentCount(@Param("discussId") Long discussId,@Param("num") Integer num);
+
+    /**
      * 更新一起议主题状态
      * @param discussId
      * @param status

--
Gitblit v1.7.1