From d18b8afc7bcbefa937b3b4f724fb04e4da6dbb0c Mon Sep 17 00:00:00 2001
From: findyguo <12205921@qq.com>
Date: 星期五, 05 三月 2021 13:02:24 +0800
Subject: [PATCH] 测试

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |  100 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 99 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
index f2228d4..ffd0ca9 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -9,6 +9,7 @@
 import com.panzhihua.common.model.vos.community.*;
 import com.panzhihua.common.model.vos.user.UserPhoneVO;
 import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestParam;
@@ -824,4 +825,101 @@
      */
     @PostMapping("detailadvertisement")
     R detailAdvertisement(@RequestParam("id") Long id);
-}
+
+    /**
+     * 删除广告
+     * @param id 主键
+     * @return 删除结果
+     */
+    @PostMapping("deleteadvertisement")
+    R deleteAdvertisement(@RequestParam("id")Long id);
+
+    /**
+     * 查询城市下属所有地区列表
+     * @param cityAdcode 城市地址编码
+     * @return 地区列表
+     */
+    @PostMapping("listareadistrict")
+    R listAreaDistrict(@RequestParam("cityAdcode") Long cityAdcode);
+
+    /**
+     * 首页图表数据汇总
+     * @param communityId 社区id
+     * @return 图表数据
+     */
+    @PostMapping("indexdatacommunitybackstageechart")
+    R indexDataCommunityBackstageEchart(@RequestParam("communityId")Long communityId);
+
+    /**
+     * 选择导入的小区
+     * @param param 小区名字 模糊查询
+     * @param communityId 社区id
+     * @return 小区集合 ComMngStructAreaVO
+     */
+    @PostMapping("listareas")
+    R listAreas(@RequestParam("param")String param, @RequestParam("communityId")Long communityId);
+
+    /**
+     * 检查小区是否已经批量设置过房屋并且返回小区房屋门号规则
+     * @param id 小区id
+     * @return ComMngStructAreaVO
+     */
+    @PostMapping("checkAreaHouse")
+    R checkAreaHouse(@RequestParam("id")Long id);
+    /**
+     * 新增留言
+     * @param comActMessageVO 新增留言信息
+     * @return 发布结果
+     */
+    @PostMapping("addmessage")
+	R addMessage(@RequestBody ComActMessageVO comActMessageVO);
+    /**
+     * 我的留言
+     * @param comActMessageVO 留言信息
+     * @return 发布结果
+     */
+    @PostMapping("pagemymessage")
+	R pageMyMessageApplets(@RequestBody ComActMessageVO comActMessageVO);
+    /**
+     * 给我的留言
+     * @param comActMessageVO 留言信息
+     * @return 发布结果
+     */
+    @PostMapping("pagesendtomemessage")
+	R pageSendToMessageApplets(@RequestBody ComActMessageVO comActMessageVO);
+    /**
+     * 新增留言回复
+     * @param comActMessageBackVO 保存留言回复信息
+     * @return 发布结果
+     */
+    @PostMapping("addmessageback")
+	R addMessageBack(@RequestBody ComActMessageBackVO comActMessageBackVO);
+    /**
+     * 根据id查询留言列表
+     * @param id 用户id
+     * @return 发布结果
+     */
+    @PostMapping("pagemessagebyuser")
+	R pageMessageByUser(@RequestBody ComActMessageVO comActMessageVO);
+    /**
+     * 根据id删除留言
+     * @param id id
+     * @return 删除结果
+     */
+    @PostMapping("deletemessage")
+	R deleteMessage(@RequestBody ComActMessageVO comActMessageVO);
+    /**
+     * 根据id集合批量设置是否公开
+     * @param ids id集合
+     * @return 删除结果
+     */
+    @PostMapping("resetmessagepublic")
+	R resetMessagePublic(@RequestBody ResetComActMessageVO resetComActMessageVO);
+    /**
+     * 分页显示社区所有留言
+     * @param comActMessageVO 留言信息
+     * @return 结果集合
+     */
+    @PostMapping("pagemycommunitymessage")
+	R pageMyCommunityMessage(@RequestBody ComActMessageVO comActMessageVO);
+} 

--
Gitblit v1.7.1