From 54ad966d0b142c97fc659263b51d1ea5d7b5c7c6 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期五, 28 五月 2021 16:17:08 +0800
Subject: [PATCH] 修改bug

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActQuestnaireService.java |   66 ++++++++++++++++++++++++++++----
 1 files changed, 57 insertions(+), 9 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActQuestnaireService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActQuestnaireService.java
index a00f332..0719cfb 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActQuestnaireService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActQuestnaireService.java
@@ -1,9 +1,12 @@
 package com.panzhihua.service_community.service;
 
+import com.panzhihua.common.model.dtos.community.PageQuestnaireAnswerDTO;
 import com.panzhihua.common.model.dtos.community.PageQuestnaireDTO;
+import com.panzhihua.common.model.dtos.community.PageQuestnaireSubDetailsDTO;
 import com.panzhihua.common.model.vos.R;
+import com.panzhihua.common.model.vos.community.questnaire.EditComActQuestnaireVo;
 import com.panzhihua.common.model.vos.community.questnaire.QuestnaireVO;
-import io.swagger.annotations.ApiModelProperty;
+import com.panzhihua.common.model.vos.community.questnaire.UsersAnswerQuestnaireVO;
 
 /**
  * @Author: llming
@@ -15,29 +18,45 @@
      *
      * @return
      */
-    R AddQuestnaire(QuestnaireVO questnaireVO, Long communityId, Long userId);
+    R addQuestnaire(QuestnaireVO questnaireVO, Long communityId, Long userId);
 
     /**
      * 社区问卷列表
      */
-    R PageQuestnaire(PageQuestnaireDTO pageQuestnaireDTO);
+    R pageQuestnaire(PageQuestnaireDTO pageQuestnaireDTO, Long communityId);
+
+    /**
+     * 编辑问卷——问卷、题目、选项
+     */
+    R editQuestnaire(QuestnaireVO questnaireVO);
 
     /**
      * 修改问卷状态
      */
-    R editQuestnaire(QuestnaireVO questnaireVO, Long communityId, Long userId);
+    R editQuestnaireDO(EditComActQuestnaireVo editComActQuestnaireVo, Long userId);
 
     /**
-     * 删除问卷
-     * @param queId 问卷调查ID
+     * 删除问卷  ——隐藏
+     *
+     * @param questId 问卷调查ID
      * @return
      */
-    R deleteQuestnaire(Long queId);
+    R deleteQuestnaire(Long questId, Long userId);
 
     /**
-     * 问卷详情
+     * 问卷详情-调查结果统计
+     *
+     * @param questId 问卷ID
      */
-    R infoQuestnaire();
+    R statQuestnaire(Long questId);
+
+    /**
+     * 问卷详细-问卷查看
+     *
+     * @param questId
+     * @return
+     */
+    R infoQuestnaire(Long questId);
 
     /**
      * 问卷答题详情
@@ -46,4 +65,33 @@
      * @param questId 问卷ID
      */
     R answerInfoQuestnaire(Long userId, Long questId);
+
+    /**
+     * 问卷答题结果
+     *
+     * @param questId 问卷ID
+     */
+    R answerResultList(Long questId);
+
+    /**
+     * 问答题详细回答列表
+     * @param pageQuestnaireSubDetailsDTO 分页查询参数
+     * @return 分页查询结果
+     */
+    R qaQeustDetails(PageQuestnaireSubDetailsDTO pageQuestnaireSubDetailsDTO);
+
+    /**
+     * 社区问卷 回答分页信息
+     * @param pageQuestnaireAnswerDTO 分页查询数据
+     * @return 分页信息
+     */
+    R pageQuestnaireAnswer(PageQuestnaireAnswerDTO pageQuestnaireAnswerDTO);
+
+    /**
+     * 居民填写问卷调查问卷
+     * @param usersAnswerQuestnaireVO
+     * @param userId
+     * @return
+     */
+    R usersAnsweQuestnaire(UsersAnswerQuestnaireVO usersAnswerQuestnaireVO, Long userId);
 }

--
Gitblit v1.7.1