From 8555f974846ca5b4f4734f52b51e39cd4502df44 Mon Sep 17 00:00:00 2001
From: DESKTOP-71BH0QO\L、ming <172680469@qq.com>
Date: 星期五, 02 四月 2021 15:46:30 +0800
Subject: [PATCH] fix:修改bug

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 1094 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 1,073 insertions(+), 21 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 22fe613..bf10002 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
@@ -2,16 +2,16 @@
 
 import com.panzhihua.common.model.dtos.AppletesBackstageConfigDTO;
 import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO;
-import com.panzhihua.common.model.dtos.community.PageComActDTO;
-import com.panzhihua.common.model.dtos.user.PageFeedBackDTO;
+import com.panzhihua.common.model.dtos.advertisement.PageComOpsAdvDTO;
+import com.panzhihua.common.model.dtos.community.*;
 import com.panzhihua.common.model.vos.R;
 import com.panzhihua.common.model.vos.SystemmanagementConfigVO;
 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.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
 
 /**
  * @program: springcloud_k8s_panzhihuazhihuishequ
@@ -23,6 +23,7 @@
 public interface CommunityService {
     /**
      * 新增社区活动
+     *
      * @param comActActivityVO 新增信息
      * @return 新增结果
      */
@@ -31,6 +32,7 @@
 
     /**
      * 编辑社区活动
+     *
      * @param comActActivityVO 编辑内容
      * @return 编辑结果
      */
@@ -39,6 +41,7 @@
 
     /**
      * 删除社区活动
+     *
      * @param comActActivityVO 活动主键
      * @return 删除结果
      */
@@ -47,6 +50,7 @@
 
     /**
      * 分页查询社区活动
+     *
      * @param comActActivityVO 查询参数
      * @return 分页集合
      */
@@ -55,6 +59,7 @@
 
     /**
      * 发布活动
+     *
      * @param comActActivityVO 主键id 发布时间
      * @return 发布结果
      */
@@ -63,6 +68,7 @@
 
     /**
      * 取消活动
+     *
      * @param comActActivityVO 取消原因
      * @return 取消结果
      */
@@ -71,15 +77,17 @@
 
     /**
      * 活动详情
-     * @param id 活动id
+     *
+     * @param id     活动id
      * @param userId 当前登录者id
      * @return 详情
      */
     @PostMapping("detailactivity")
-    R detailActivity(@RequestParam("id") Long id, @RequestParam("userId")Long userId);
+    R detailActivity(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
 
     /**
      * 活动报名名单
+     *
      * @param activitySignVO 查询参数
      * @return 报名人员集合
      */
@@ -88,6 +96,7 @@
 
     /**
      * 新增社区动态
+     *
      * @param comActDynVO 新增信息
      * @return 新增结果
      */
@@ -96,6 +105,7 @@
 
     /**
      * 编辑社区动态
+     *
      * @param comActDynVO 编辑内容
      * @return 编辑结果
      */
@@ -104,6 +114,7 @@
 
     /**
      * 删除社区动态
+     *
      * @param comActDynVO 动态id
      * @return 删除结果
      */
@@ -112,6 +123,7 @@
 
     /**
      * 分页查询社区动态
+     *
      * @param comActDynVO 查询参数
      * @return 动态集合
      */
@@ -120,6 +132,7 @@
 
     /**
      * 社区动态详情
+     *
      * @param id 动态id
      * @return 详情
      */
@@ -128,6 +141,7 @@
 
     /**
      * 分页查询随手拍
+     *
      * @param comActEasyPhotoVO 查询参数
      * @return 心愿列表
      */
@@ -136,15 +150,17 @@
 
     /**
      * 随手拍详情
-     * @param id 随手拍主键
+     *
+     * @param id     随手拍主键
      * @param userId 登录用户id
      * @return 详情内容
      */
     @PostMapping("detaileasyphoto")
-    R detailEasyPhoto(@RequestParam("id") Long id, @RequestParam("userId")Long userId);
+    R detailEasyPhoto(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
 
     /**
      * 分页查询微心愿
+     *
      * @param comActMicroWishVO 查询参数
      * @return 分页集合
      */
@@ -153,15 +169,17 @@
 
     /**
      * 心愿详情
-     * @param id 查询主键
+     *
+     * @param id     查询主键
      * @param userId 登录用户id
      * @return 心愿内容
      */
     @PostMapping("detailmicrowish")
-    R detailMicroWish(@RequestParam("id") Long id, @RequestParam("userId")Long userId);
+    R detailMicroWish(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
 
     /**
      * 审核、分配、反馈心愿
+     *
      * @param comActMicroWishVO 具体操作
      * @return 操作结果
      */
@@ -170,6 +188,7 @@
 
     /**
      * 分页展示我的所有活动 时间倒序排列
+     *
      * @param comActActivityVO 分页参数
      * @return 分页集合
      */
@@ -178,6 +197,7 @@
 
     /**
      * 报名/取消报名社区活动
+     *
      * @param signactivityVO 报名参数
      * @return 报名 取消报名 结果
      */
@@ -186,6 +206,7 @@
 
     /**
      * 上传随手拍
+     *
      * @param comActEasyPhotoVO 上传数据
      * @return 上传结果
      */
@@ -194,6 +215,7 @@
 
     /**
      * 发布微心愿
+     *
      * @param comActMicroWishVO 发布内容
      * @return 发布结果
      */
@@ -202,6 +224,7 @@
 
     /**
      * 点赞/取消点赞随手拍
+     *
      * @param comActEasyPhotoVO 操作参数
      * @return 操作结果
      */
@@ -210,6 +233,7 @@
 
     /**
      * 点赞/取消点赞微心愿
+     *
      * @param comActMicroWishVO 操作参数
      * @return 操作结果
      */
@@ -218,15 +242,17 @@
 
     /**
      * 新增社区动态浏览记录
-     * @param id 动态主键
+     *
+     * @param id     动态主键
      * @param userId 登录用户id
      * @return 新增结果
      */
     @PostMapping("adddynamicuser")
-    R addDynamicUser(@RequestParam("id") Long id, @RequestParam("userId")Long userId);
+    R addDynamicUser(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
 
     /**
      * 审核、反馈随手拍
+     *
      * @param comActEasyPhotoVO 操作参数
      * @return 操作结果
      */
@@ -235,6 +261,7 @@
 
     /**
      * 新增社区
+     *
      * @param comActVO 社区信息
      * @return 新增结果
      */
@@ -243,6 +270,7 @@
 
     /**
      * 编辑社区
+     *
      * @param comActVO 编辑内容
      * @return 编辑结果
      */
@@ -251,6 +279,7 @@
 
     /**
      * 房屋信息
+     *
      * @param userId 用户id
      * @return 房屋信息
      */
@@ -259,6 +288,7 @@
 
     /**
      * 新增小区
+     *
      * @param comMngStructAreaVO 小区信息
      * @return 新增结果
      */
@@ -267,6 +297,7 @@
 
     /**
      * 分页查询小区
+     *
      * @param comMngStructAreaVO 查询参数
      * @return 分页结果
      */
@@ -275,6 +306,7 @@
 
     /**
      * 编辑小区
+     *
      * @param comMngStructAreaVO 编辑内容
      * @return 编辑结果
      */
@@ -283,6 +315,7 @@
 
     /**
      * 删除小区
+     *
      * @param comMngStructAreaVO 地址编码
      * @return 删除结果
      */
@@ -291,6 +324,7 @@
 
     /**
      * 小区批量建房
+     *
      * @param batchhouseVO 建房参数
      * @return 建房结果
      */
@@ -299,14 +333,26 @@
 
     /**
      * 展示下级建筑
+     *
      * @param houseCode 房屋编号
      * @return 下级建筑列表
      */
     @PostMapping("listsubordinatebuilding")
-    R listSubordinatebuilding(@RequestParam("houseCode")String houseCode);
+    R listSubordinatebuilding(@RequestParam("houseCode") String houseCode);
+
+    /**
+     * 实有单位归属地
+     *
+     * @param comMngRealCompanyBelongsDTO
+     * @return
+     */
+    @PostMapping("/common/data/company/belongs")
+    R belongsComMngRealCompany(@RequestBody ComMngRealCompanyBelongsDTO comMngRealCompanyBelongsDTO);
+
 
     /**
      * 添加同级地址
+     *
      * @param comMngStructHouseVO 同级参数
      * @return 添加结果
      */
@@ -315,6 +361,7 @@
 
     /**
      * 编辑地址
+     *
      * @param comMngStructHouseVO 编辑内容
      * @return 编辑结果
      */
@@ -323,6 +370,7 @@
 
     /**
      * 删除地址
+     *
      * @param comMngStructHouseVO 删除指定地址和所有下级
      * @return 删除结果
      */
@@ -331,6 +379,7 @@
 
     /**
      * 新增其他建筑
+     *
      * @param comMngStructOtherBuildVO 建筑参数
      * @return 新增结果
      */
@@ -339,6 +388,7 @@
 
     /**
      * 查询所有建筑类型
+     *
      * @return 类型列表
      */
     @PostMapping("listbuildtype")
@@ -346,6 +396,7 @@
 
     /**
      * 分页查询 其他建筑
+     *
      * @param comMngStructOtherBuildVO 分页查询参数
      * @return 查询结果
      */
@@ -354,6 +405,7 @@
 
     /**
      * 增加志愿者
+     *
      * @param comMngVolunteerMngVO 志愿者信息
      * @return 增加结果
      */
@@ -362,6 +414,7 @@
 
     /**
      * 删除志愿者
+     *
      * @param comMngVolunteerMngVO 手机号
      * @return 删除结果
      */
@@ -370,6 +423,7 @@
 
     /**
      * 编辑志愿者
+     *
      * @param comMngVolunteerMngVO 编辑内容
      * @return 编辑结果
      */
@@ -378,6 +432,7 @@
 
     /**
      * 分页展示志愿者
+     *
      * @param comMngVolunteerMngVO 查询参数
      * @return 分页集合返回
      */
@@ -386,6 +441,7 @@
 
     /**
      * 分页展示志愿者审核
+     *
      * @param comMngVolunteerMngVO 查询参数
      * @return 查询结果
      */
@@ -394,6 +450,7 @@
 
     /**
      * 志愿者审核详情
+     *
      * @param id 主键
      * @return 详情
      */
@@ -402,6 +459,7 @@
 
     /**
      * 志愿者审核
+     *
      * @param comMngVolunteerMngVO 审核操作
      * @return 审核结果
      */
@@ -410,6 +468,7 @@
 
     /**
      * 删除志愿者审核
+     *
      * @param comMngVolunteerMngVO 主键
      * @return 删除结果
      */
@@ -418,6 +477,7 @@
 
     /**
      * 查询区域
+     *
      * @param comActVO 登录人的经纬度、或者指定区域的社区
      * @return 10个社区
      */
@@ -426,6 +486,7 @@
 
     /**
      * 用户修改手机号对应的志愿者手机号也要修改
+     *
      * @param userPhoneVO 新旧手机号
      * @return 修改结果
      */
@@ -434,15 +495,17 @@
 
     /**
      * 房屋地址下拉列表
+     *
      * @param parentCode 父级编码
-     * @param areaId 小区id
+     * @param areaId     小区id
      * @return 下级列表
      */
     @PostMapping("listhouses")
-    R listHouses(@RequestParam("parentCode")String parentCode, @RequestParam("areaId")Long areaId);
+    R listHouses(@RequestParam("parentCode") String parentCode, @RequestParam("areaId") Long areaId);
 
     /**
      * 新增房屋
+     *
      * @param comMngStructHouseVO 房屋信息
      * @return 新增结果
      */
@@ -451,22 +514,25 @@
 
     /**
      * 查询小区
+     *
      * @param communityId 社区id
      * @return 小区集合
      */
     @PostMapping("listarea")
-    R listArea(@RequestParam("communityId")Long  communityId);
+    R listArea(@RequestParam("communityId") Long communityId);
 
     /**
      * 用户参加的所有社区活动
+     *
      * @param userId 用户id
      * @return 活动列表
      */
     @PostMapping("listactivity")
-    R listActivity(@RequestParam("userId")Long  userId );
+    R listActivity(@RequestParam("userId") Long userId);
 
     /**
      * 用户确认心愿
+     *
      * @param comActMicroWishVO 用户评价
      * @return 确认结果
      */
@@ -475,6 +541,7 @@
 
     /**
      * 建筑类型
+     *
      * @param communityId 社区id
      * @return 建筑集合
      */
@@ -483,14 +550,16 @@
 
     /**
      * 增加删除建筑类型
+     *
      * @param systemmanagementConfigVO 操作内容
-     * @return  操作结果
+     * @return 操作结果
      */
     @PostMapping("putcommngstructbuildtype")
     R putComMngStructBuildType(@RequestBody SystemmanagementConfigVO systemmanagementConfigVO);
 
     /**
      * 获取广告跳转内容配置
+     *
      * @return 跳转内容集合
      */
     @PostMapping("getjumpcontent")
@@ -498,6 +567,7 @@
 
     /**
      * 编辑运营后台系统配置
+     *
      * @param appletesBackstageConfigDTO 编辑内容
      * @return 编辑结果
      */
@@ -506,6 +576,7 @@
 
     /**
      * 社区详情
+     *
      * @param communityId 社区id
      * @return 社区详情
      */
@@ -514,14 +585,16 @@
 
     /**
      * 小区详情
+     *
      * @param areaId 小区id
      * @return 小区信息
      */
     @PostMapping("detailarea")
-    R detailArea(@RequestParam("areaId")Long areaId);
+    R detailArea(@RequestParam("areaId") Long areaId);
 
     /**
      * 分页查询社区
+     *
      * @param pageComActDTO 查询参数
      * @return 分页集合
      */
@@ -530,14 +603,16 @@
 
     /**
      * 志愿者详情
+     *
      * @param id 主键
      * @return
      */
     @PostMapping("detailvolunteer")
-    R detailVolunteer(@RequestParam("id")Long id);
+    R detailVolunteer(@RequestParam("id") Long id);
 
     /**
      * 查询平台所有的社区
+     *
      * @return 社区集合 按照创建顺序倒序排列
      */
     @PostMapping("listcommunityall")
@@ -545,6 +620,7 @@
 
     /**
      * 首页广告banner
+     *
      * @return
      */
     @PostMapping("listadvertisement")
@@ -552,6 +628,7 @@
 
     /**
      * 新增广告
+     *
      * @param comOpsAdvDTO
      * @return
      */
@@ -560,6 +637,7 @@
 
     /**
      * 编辑广告
+     *
      * @param comOpsAdvDTO 编辑内容
      * @return 编辑结果
      */
@@ -568,6 +646,7 @@
 
     /**
      * 广告位置下拉列表
+     *
      * @return 位置集合
      */
     @PostMapping("listadvpos")
@@ -575,10 +654,983 @@
 
     /**
      * 跳转内容下拉列表
+     *
      * @return 跳转内容集合
      */
     @PostMapping("listadvjump")
     R listAdvjump();
 
+    /**
+     * 社区管理后台数据看板 代办事件
+     *
+     * @param communityId 社区id
+     * @param userId
+     * @return 代办事件列表
+     */
+    @PostMapping("indexdatacommunitybackstage")
+    R indexDataCommunityBackstage(@RequestParam("communityId") Long communityId, @RequestParam("userId") Long userId);
+
+    /**
+     * 删除社区
+     *
+     * @param communityId 社区id
+     * @return 删除结果
+     */
+    @PostMapping("delectcommunity")
+    R delectCommunity(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 定时任务刷新社区动态置顶状态
+     *
+     * @return
+     */
+    @PostMapping("timedtaskdynistopping")
+    R timedTaskDynIstopping();
+
+    /**
+     * 定时任务刷新社区动态发布状态
+     *
+     * @return
+     */
+    @PostMapping("timedtaskdynstatus")
+    R timedTaskDynStatus();
+
+    /**
+     * 定时任务查询所有要取消的社区活动
+     *
+     * @return 社区活动集合
+     */
+    @PostMapping("timedtaskactactivity")
+    R timedTaskActActivity();
+
+    /**
+     * 定时任务刷新社区活动的各个状态 除取消外
+     *
+     * @return
+     */
+    @PostMapping("timedtaskactactivityall")
+    R timedTaskActActivityAll();
+
+    /**
+     * 其他建筑详情
+     *
+     * @param id 主键id
+     * @return 建筑内容
+     */
+    @PostMapping("detailotherbuild")
+    R detailOtherbuild(@RequestParam("id") Long id);
+
+    /**
+     * 编辑其他建筑
+     *
+     * @param comMngStructOtherBuildVO 编辑内容
+     * @return 编辑结果
+     */
+    @PostMapping("putotherbuild")
+    R putOtherbuild(@RequestBody ComMngStructOtherBuildVO comMngStructOtherBuildVO);
+
+    /**
+     * 删除其他建筑
+     *
+     * @param id 主键
+     * @return 删除结果
+     */
+    @PostMapping("deleteotherbuild")
+    R deleteOtherbuild(@RequestParam("id") Long id);
+
+    /**
+     * 社区后台分页查询社区活动
+     *
+     * @param comActActivityVO 查询参数
+     * @return 返回结果
+     */
+    @PostMapping("pageactivitycommunityback")
+    R pageActivityCommunityBack(@RequestBody ComActActivityVO comActActivityVO);
+
+    /**
+     * 小程序分页查询随手拍
+     *
+     * @param comActEasyPhotoVO 查询参数
+     * @return 返回结果
+     */
+    @PostMapping("pageeasyphotoapplets")
+    R pageEasyPhotoApplets(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO);
+
+    /**
+     * 随手拍评论分页查询
+     *
+     * @param pageComActEasyPhotoCommentDTO 查询参数
+     * @return 查询结果
+     */
+    @PostMapping("pagecomacteasyphotocomment")
+    R pageComActEasyPhotoComment(@RequestBody PageComActEasyPhotoCommentDTO pageComActEasyPhotoCommentDTO);
+
+    /**
+     * 评论点赞/取消点赞
+     *
+     * @param comActEasyPhotoCommentUserDTO 操作
+     * @return 操作结果
+     */
+    @PostMapping("commentsign")
+    R commentSign(@RequestBody ComActEasyPhotoCommentUserDTO comActEasyPhotoCommentUserDTO);
+
+    /**
+     * 随手拍--评论--新增评论
+     *
+     * @param comActEasyPhotoCommentDTO 新增内容
+     * @return 新增结果
+     */
+    @PostMapping("addcomacteasyphotocomment")
+    R addComActEasyPhotoComment(@RequestBody ComActEasyPhotoCommentDTO comActEasyPhotoCommentDTO);
+
+    /**
+     * 一起议-新增
+     *
+     * @param comActDiscussDTO 新增参数
+     * @return 新增结果
+     */
+    @PostMapping("adddiscuss")
+    R addDiscuss(@RequestBody ComActDiscussDTO comActDiscussDTO);
+
+    /**
+     * 一起议-详情
+     *
+     * @param id 主键
+     * @return ComActDiscussVO
+     */
+    @PostMapping("detaildiscuss")
+    R detailDiscuss(@RequestParam("id") Long id);
+
+    /**
+     * 一起议-删除
+     *
+     * @param id 主键
+     * @return 删除结果
+     */
+    @PostMapping("deletediscuss")
+    R deleteDiscuss(@RequestParam("id") Long id);
+
+    /**
+     * 一起议-回复
+     *
+     * @param comActDiscussCommentDTO 评论内容
+     * @return 回复结果
+     */
+    @PostMapping("adddiscusscomment")
+    R addDiscussComment(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO);
+
+    /**
+     * 一起议-分页查询
+     *
+     * @param pageComActDiscussDTO 查询参数
+     * @return ComActDiscussVO
+     */
+    @PostMapping("pagediscuss")
+    R pageDiscuss(@RequestBody PageComActDiscussDTO pageComActDiscussDTO);
+
+    /**
+     * 一起议-评论-查看
+     *
+     * @param id 主键
+     * @return 详情
+     */
+    @PostMapping("detaildiscusscomment")
+    R detailDiscussComment(@RequestParam("id") Long id);
+
+    /**
+     * 一起议-评论-置顶
+     *
+     * @param id 主键
+     * @return 置顶结果
+     */
+    @PostMapping("putdiscusscommenttop")
+    R putDiscussCommentTop(@RequestParam("id") Long id);
+
+    /**
+     * 一起议-评论-回复
+     *
+     * @param comActDiscussCommentDTO 回复内容
+     * @return 回复结果
+     */
+    @PostMapping("adddiscusscommentback")
+    R addDiscussCommentBack(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO);
+
+    /**
+     * 一起议-评论-分页查询
+     *
+     * @param pageComActDiscussCommentDTO 分页查询参数
+     * @return ComActDiscussCommentVO
+     */
+    @PostMapping("pagediscusscomment")
+    R pageDiscussComment(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO);
+
+    /**
+     * 一起议-分页查询 小程序
+     *
+     * @param pageComActDiscussDTO 查询参数
+     * @return ComActDiscussVO 分页
+     */
+    @PostMapping("pagediscussapplets")
+    R pageDiscussApplets(@RequestBody PageComActDiscussDTO pageComActDiscussDTO);
+
+    /**
+     * 一起议-点赞、取消点赞
+     *
+     * @param comActDiscussUserDTO 操作类型
+     * @return 操作结果
+     */
+    @PostMapping("putdiscussuser")
+    R putDiscussUser(@RequestBody ComActDiscussUserDTO comActDiscussUserDTO);
+
+    /**
+     * 一起议-评论-分页查询 小程序
+     *
+     * @param pageComActDiscussCommentDTO 分页参数
+     * @return ComActDiscussCommentVO
+     */
+    @PostMapping("pagediscusscommentapplets")
+    R pageDiscussCommentApplets(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO);
+
+    /**
+     * 一起议-详情 小程序
+     *
+     * @param id     主键
+     * @param userId 登录用户主键
+     * @return ComActDiscussVO
+     */
+    @PostMapping("detaildiscussapplets")
+    R detailDiscussApplets(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
+
+    /**
+     * 一起议-投票
+     *
+     * @param comActDiscussOptionUserDTO 投票信息
+     * @return 投票结果
+     */
+    @PostMapping("adddiscussoptionuser")
+    R addDiscussOptionUser(@RequestBody ComActDiscussOptionUserDTO comActDiscussOptionUserDTO);
+
+    /**
+     * 一起议-评论-点赞、取消点赞
+     *
+     * @param comActDiscussUserDTO 评论点赞
+     * @return 点赞结果
+     */
+    @PostMapping("putdiscusscommentuser")
+    R putDiscussCommentUser(@RequestBody ComActDiscussCommentUserDTO comActDiscussUserDTO);
+
+    /**
+     * 分页查询广告
+     *
+     * @param pageComOpsAdvDTO 查询内容
+     * @return 查询结果 ComOpsAdvVO
+     */
+    @PostMapping("pageadvertisement")
+    R pageAdvertisement(@RequestBody PageComOpsAdvDTO pageComOpsAdvDTO);
+
+    /**
+     * 广告详情
+     *
+     * @param id 主键
+     * @return 广告内容
+     */
+    @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查询留言列表
+     *
+     * @return 发布结果
+     */
+    @PostMapping("pagemessagebyuser")
+    R pageMessageByUser(@RequestBody ComActMessageVO comActMessageVO);
+
+    /**
+     * 根据id删除留言
+     *
+     * @return 删除结果
+     */
+    @PostMapping("deletemessage")
+    R deleteMessage(@RequestBody ComActMessageVO comActMessageVO);
+
+    /**
+     * 根据id集合批量设置是否公开
+     *
+     * @return 删除结果
+     */
+    @PostMapping("resetmessagepublic")
+    R resetMessagePublic(@RequestBody ResetComActMessageVO resetComActMessageVO);
+
+    /**
+     * 分页显示社区所有留言
+     *
+     * @param comActMessageVO 留言信息
+     * @return 结果集合
+     */
+    @PostMapping("pagemycommunitymessage")
+    R pageMyCommunityMessage(@RequestBody ComActMessageVO comActMessageVO);
+
+    /**
+     * 根据id查找留言详情
+     *
+     * @param id
+     * @return
+     */
+    @PostMapping("detailmessage")
+    R detailMessage(@RequestParam("id") Long id);
+
+    /**
+     * 小程序通过便民服务区域分页查询便民服务商家
+     *
+     * @param comCvtBusinessAppletsDTO 查询参数
+     * @return 返回结果
+     */
+    @PostMapping("/convenient/business/area/page")
+    R pageComCvtBusinessByServiceArea(@RequestBody PageComCvtBusinessAppletsDTO comCvtBusinessAppletsDTO);
+
+    /**
+     * 一起议-新增
+     *
+     * @param comOpsHouseDTO 新增参数
+     * @return 新增结果
+     */
+    @PostMapping("addOpsHouse")
+    R addOpsHouse(@RequestBody ComOpsHouseDTO comOpsHouseDTO);
+
+    /**
+     * 一起议-详情
+     *
+     * @param id 主键
+     * @return ComOpsHouseVO
+     */
+    @PostMapping("detailOpsHouse")
+    R detailOpsHouse(@RequestParam("id") Long id);
+
+    /**
+     * 房屋租售-修改
+     *
+     * @param comOpsHouseVO 修改参数
+     * @return 修改结果
+     */
+    @PostMapping("/putOpsHouse")
+    R putOpsHouse(@RequestBody ComOpsHouseVO comOpsHouseVO);
+
+    /**
+     * 房屋租售-小程序修改
+     *
+     * @param comOpsHouseVO 修改参数
+     * @return 修改结果
+     */
+    @PostMapping("/putOpsHouseByApplets")
+    R putOpsHouseByApplets(@RequestBody ComOpsHouseVO comOpsHouseVO);
+
+    /**
+     * 房屋租售-上下架
+     *
+     * @param comOpsHouseVO 上下架参数
+     * @return 上下架结果
+     */
+    @PostMapping("/undercarriageHouse")
+    R undercarriageHouse(@RequestBody ComOpsHouseUndercarriageVO comOpsHouseVO);
+
+    /**
+     * 一起议-删除
+     *
+     * @param id 主键
+     * @return 删除结果
+     */
+    @PostMapping("deleteOpsHouse")
+    R deleteOpsHouse(@RequestParam("id") Long id);
+
+    /**
+     * 一起议-分页查询
+     *
+     * @param pageComOpsHouseDTO 查询参数
+     * @return ComOpsHouseVO
+     */
+    @PostMapping("pageOpsHouse")
+    R pageOpsHouse(@RequestBody PageComOpsHouseDTO pageComOpsHouseDTO);
+
+    /**
+     * 社区后台分页查询便民服务商家
+     *
+     * @param pageComCvtBusinessDTO 查询参数
+     * @return 返回结果
+     */
+    @PostMapping("/convenient/business/page")
+    R pageComCvtBusiness(@RequestBody PageComCvtBusinessDTO pageComCvtBusinessDTO);
+
+    /**
+     * 添加便民服务商家信息
+     *
+     * @param comCvtBusinessDTO
+     * @return
+     */
+    @PostMapping("/convenient/business/add")
+    R addComCvtBusiness(ComCvtBusinessDTO comCvtBusinessDTO);
+
+
+    /**
+     * 编辑便民服务商家
+     *
+     * @param comCvtBusinessDTO 商家参数
+     * @return 返回结果
+     */
+    @PutMapping("/convenient/business/put")
+    R putComCvtBusiness(@RequestBody ComCvtBusinessDTO comCvtBusinessDTO);
+
+    /**
+     * 查询便民服务商家详情
+     *
+     * @param id 商家主键
+     * @return 返回结果
+     */
+    @GetMapping("/convenient/business/get")
+    R getComCvtBusiness(@RequestParam("id") Long id);
+
+    /**
+     * 删除便民服务商家信息
+     *
+     * @param id 商家主键
+     * @return 返回结果
+     */
+    @DeleteMapping("/convenient/business/delete")
+    R deleteComCvtBusiness(@RequestParam("id") Long id);
+
+
+    /**
+     * 社区后台分页查询便民服务分类
+     *
+     * @param pageComCvtCategoryDTO 查询参数
+     * @return 返回结果
+     */
+    @PostMapping("/convenient/category/page")
+    R pageComCvtCategory(@RequestBody PageComCvtCategoryDTO pageComCvtCategoryDTO);
+
+
+    /**
+     * 社区后台分页查询便民服务分类
+     *
+     * @return 返回结果
+     */
+    @PostMapping("/convenient/category/all")
+    R allComCvtCategory();
+
+    /**
+     * 新增便民服务分类
+     *
+     * @param comCvtCategoryDTO 分类参数
+     * @return 返回结果
+     */
+    @PostMapping("/convenient/category/add")
+    R addComCvtCategory(@RequestBody ComCvtCategoryDTO comCvtCategoryDTO);
+
+    /**
+     * 编辑便民服务分类
+     *
+     * @param comCvtCategoryDTO 分类参数
+     * @return 返回结果
+     */
+    @PutMapping("/convenient/category/put")
+    R putComCvtCategory(@RequestBody ComCvtCategoryDTO comCvtCategoryDTO);
+
+    /**
+     * 查询便民服务分类详情
+     *
+     * @param id 分类主键
+     * @return 返回结果
+     */
+    @GetMapping("/convenient/category/get")
+    R getComCvtCategory(@RequestParam("id") Long id);
+
+    /**
+     * 删除便民服务分类信息
+     *
+     * @param id 分类主键
+     * @return 返回结果
+     */
+    @DeleteMapping("/convenient/category/delete")
+    R deleteComCvtCategory(@RequestParam("id") Long id);
+
+    /**
+     * 社区后台分页查询便民服务
+     *
+     * @param pageComCvtServeDTO 查询参数
+     * @return 返回结果
+     */
+    @PostMapping("/convenient/serve/page")
+    R pageComCvtServe(@RequestBody PageComCvtServeDTO pageComCvtServeDTO);
+
+    /**
+     * 新增便民服务
+     *
+     * @param comCvtServeDTO 参数
+     * @return 返回结果
+     */
+    @PostMapping("/convenient/serve/add")
+    R addComCvtServe(@RequestBody ComCvtServeDTO comCvtServeDTO);
+
+    /**
+     * 编辑便民服务
+     *
+     * @param comCvtServeDTO 分类参数
+     * @return 返回结果
+     */
+    @PutMapping("/convenient/serve/put")
+    R putComCvtServe(@RequestBody ComCvtServeDTO comCvtServeDTO);
+
+    /**
+     * 查询便民服务详情
+     *
+     * @param id 服务主键
+     * @return 返回结果
+     */
+    @GetMapping("/convenient/serve/get")
+    R getComCvtServe(@RequestParam("id") Long id);
+
+    /**
+     * 删除便民服务信息
+     *
+     * @param id 服务主键
+     * @return 返回结果
+     */
+    @DeleteMapping("/convenient/serve/delete")
+    R deleteComCvtServe(@RequestParam("id") Long id);
+
+
+    /**
+     * 小程序便民服务商家详情
+     *
+     * @param id 商家ID
+     * @return
+     */
+    @GetMapping("/convenient/business/serve/get")
+    R getComCvtBusinessServeDetail(@RequestParam("id") Long id);
+
+    /**
+     * 批量导入便民服务
+     *
+     * @param list 便民服务集合
+     */
+    @PostMapping("/convenient/serve/import")
+    R listSaveConvenientServeExcelVO(@RequestBody List<ComCvtServeExcelVO> list, @RequestParam("communityId") Long communityId);
+
+    /**
+     * 导出房屋信息
+     *
+     * @param areaId
+     * @return
+     */
+    @PostMapping("/house/export")
+    R houseExport(@RequestParam("areaId") Long areaId);
+
+    /**
+     * 小程序添加车辆信息
+     *
+     * @param comCvtBusinessDTO
+     * @return
+     */
+    @PostMapping("/common/data/car/user/register")
+    R addComMngCarApplet(@RequestBody ComMngCarAppletDTO comCvtBusinessDTO);
+
+    /**
+     * 小程序用户登记车辆列表
+     *
+     * @param userId
+     * @return
+     */
+    @GetMapping("/common/data/car/user/list")
+    R userComMngCarList(@RequestParam("userId") Long userId);
+
+    @PostMapping("/common/data/car/page")
+    R pageQueryComMngCar(@RequestBody PageComMngCarDTO pageComMngCarDTO);
+
+    @PostMapping("/common/data/car/save")
+    R saveComMngCar(@RequestBody ComMngCarSaveDTO comMngCarSaveDTO);
+
+    /**
+     * 删除车辆信息
+     *
+     * @param id
+     * @return
+     */
+    @DeleteMapping("/common/data/car/delete")
+    R deleteComMngCar(@RequestParam(value = "id") Long id);
+
+    /**
+     * 批量导入便民服务
+     *
+     * @param list 便民服务集合
+     */
+    @PostMapping("/common/data/car/import")
+    R listSaveMngCarExcelVO(@RequestBody List<ComMngCarExcelVO> list, @RequestParam("communityId") Long communityId);
+
+    /**
+     * 社区后台实有单位管理列表
+     *
+     * @param pageComMngRealCompanyDTO
+     * @return
+     */
+    @PostMapping("/common/data/company/page")
+    R pageQueryComMngRealCompany(@RequestBody PageComMngRealCompanyDTO pageComMngRealCompanyDTO);
+
+    /**
+     * 社区后台添加修改实有单位
+     *
+     * @param comMngRealCompanyVO
+     * @return
+     */
+    @PostMapping("/common/data/company/save")
+    R saveComMngRealCompany(@RequestBody ComMngRealCompanyVO comMngRealCompanyVO);
+
+    /**
+     * 社区后台删除实有单位
+     *
+     * @param id
+     * @return
+     */
+    @DeleteMapping("/common/data/company/delete")
+    R deleteComMngRealCompany(@RequestParam(value = "id") Long id);
+
+    /**
+     * 实有单位详情
+     *
+     * @param id
+     * @return
+     */
+    @GetMapping("/common/data/company/detail")
+    R detailComMngRealCompany(@RequestParam(value = "id") Long id);
+
+    /**
+     * 批量导入实有单位
+     *
+     * @param list 实有单位集合
+     */
+    @PostMapping("/common/data/company/import")
+    R listSaveMngRealCompanyExcelVO(@RequestBody List<ComMngRealCompanyExcelVO> list, @RequestParam("communityId") Long communityId);
+
+    /**
+     * 实有单位导出
+     *
+     * @param exportRealCompanyExcelDTO
+     * @return
+     */
+    @PostMapping("/common/data/company/export")
+    R exportRealCompany(ExportRealCompanyExcelDTO exportRealCompanyExcelDTO);
+
+    /**
+     * 社区后台实有单位管理列表
+     *
+     * @param pageComMngRealAssetsDTO
+     * @return
+     */
+    @PostMapping("/common/data/assets/page")
+    R pageQueryComMngRealAssets(@RequestBody PageComMngRealAssetsDTO pageComMngRealAssetsDTO);
+
+    /**
+     * 社区后台添加修改实有单位
+     *
+     * @param comMngRealAssetsVO
+     * @return
+     */
+    @PostMapping("/common/data/assets/save")
+    R saveComMngRealAssets(@RequestBody ComMngRealAssetsVO comMngRealAssetsVO);
+
+    /**
+     * 社区后台删除实有单位
+     *
+     * @param id
+     * @return
+     */
+    @DeleteMapping("/common/data/assets/delete")
+    R deleteComMngRealAssets(@RequestParam(value = "id") Long id);
+
+    /**
+     * 实有单位详情
+     *
+     * @param id
+     * @return
+     */
+    @GetMapping("/common/data/assets/detail")
+    R detailComMngRealAssets(@RequestParam(value = "id") Long id);
+
+    /**
+     * 批量导入实有单位
+     *
+     * @param list 实有单位集合
+     */
+    @PostMapping("/common/data/assets/import")
+    R listSaveMngRealAssetsExcelVO(@RequestBody List<ComMngRealAssetsExcelVO> list, @RequestParam("communityId") Long communityId);
+
+    /**
+     * 实有单位导出
+     *
+     * @param exportRealAssetsExcelDTO
+     * @return
+     */
+    @PostMapping("/common/data/assets/export")
+    R exportRealAssets(ExportRealAssetsExcelDTO exportRealAssetsExcelDTO);
+
+    /**
+     * 查询所有省份
+     *
+     * @return
+     */
+    @GetMapping("/common/data/province")
+    R getProvince();
+
+    /**
+     * 查询省份下所有的城市
+     *
+     * @param provinceAdcode
+     * @return
+     */
+    @GetMapping("/common/data/city")
+    R getCityByProvinceCode(@RequestParam(value = "provinceAdcode") Integer provinceAdcode);
+
+    /**
+     * 查询城市下所有的区县
+     *
+     * @param cityAdcode
+     * @return
+     */
+    @GetMapping("/common/data/district")
+    R getDistrictByCityCode(@RequestParam(value = "cityAdcode") Integer cityAdcode);
+
+    /**
+     * 查询省下所有区域  tree结构
+     *
+     * @param provinceAdcode    省份code
+     * @return  查询结果
+     */
+    @GetMapping("/common/data/area/all")
+    R getCityTreeByProvinceCode(@RequestParam(value = "provinceAdcode") Integer provinceAdcode);
+
+    /**
+     * 分页查询街道
+     *
+     * @param pageComStreetDTO  查询条件
+     * @return  查询结果
+     */
+    @PostMapping("/pagestreet")
+    R pageStreet(@RequestBody PageComStreetDTO pageComStreetDTO);
+
+    /**
+     * 新增街道
+     *
+     * @param comStreetVOO  需要新增的街道数据
+     * @return  新增结果
+     */
+    @PostMapping("/addstreet")
+    R addStreet(@RequestBody ComStreetVO comStreetVOO);
+
+    /**
+     * 删除街道
+     *
+     * @param Ids   需要删除街道id集合
+     * @return  删除结果
+     */
+    @PostMapping("/deletestreet")
+    R delectStreat(@RequestBody List<Long> Ids);
+
+    /**
+     * 查询街道
+     *
+     * @param comStreetVO   查询条件
+     * @return  返回结果
+     */
+    @PostMapping("/liststreet")
+    R listStreet(ComStreetVO comStreetVO);
+
+    /**
+     * 分页查询实有房屋
+     *
+     * @param pageComMngVillageDTO  查询条件
+     * @return  返回结果
+     */
+    @PostMapping("/pagevillage")
+    R pageVillage(@RequestBody PageComMngVillageDTO pageComMngVillageDTO);
+
+    /**
+     * 新增实有房屋
+     *
+     * @param comMngVillageVO   新增的实有房屋数据
+     * @return  新增结果
+     */
+    @PostMapping("/addvillage")
+    R addVillage(@RequestBody ComMngVillageVO comMngVillageVO);
+
+    /**
+     * 删除实有房屋
+     *
+     * @param Ids   需要删除的id集合
+     * @return  删除结果
+     */
+    @PostMapping("/deletevillage")
+    R delectVillage(@RequestBody List<Long> Ids);
+
+    /**
+     * 查询实有房屋
+     *
+     * @param comMngVillageVO   查询条件
+     * @return  查询结果
+     */
+    @PostMapping("/listvillage")
+    R listVillage(ComMngVillageVO comMngVillageVO);
+
+    /**
+     * 批量导入实有房屋
+     *
+     * @param list  实有房屋数据
+     * @param communityId   社区id
+     * @return  导入结果
+     */
+    @PostMapping("/village/import")
+    R listSaveVillageServeExcelVO(@RequestBody List<ComMngVillageServeExcelVO> list, @RequestParam(value = "communityId") Long communityId);
+
+
+    /**
+     * 批量导入实有人口
+     *
+     * @param list  实有人口数据
+     * @param communityId   社区id
+     * @return  导入结果
+     */
+    @PostMapping("/common/data/population/import")
+    R listSavePopulationServeExcelVO(@RequestBody List<ComMngPopulationServeExcelVO> list, @RequestParam(value = "communityId") Long communityId);
+
+    /**
+     * 分页查询实有人口
+     *
+     * @param comMngPopulationVO 查询参数
+     * @return 分页集合
+     */
+    @PostMapping("/common/data/population/page")
+    R pagePopulation(ComMngPopulationDTO comMngPopulationVO);
+
+    /**
+     * 根据id实有人口详细信息
+     *
+     * @param populationId 实有人口id
+     * @return 实有人口详细信息
+     */
+    @PostMapping("/common/data/population/detail")
+    R detailPopulation(@RequestParam(value = "populationId") Long populationId);
+
+    /**
+     * 根据id修改实有人口标签列表
+     *
+     * @param populationTagDTO 请求参数
+     * @return 修改结果
+     */
+    @PostMapping("/common/data/population/editTag")
+    R editTagPopulation(ComMngPopulationTagDTO populationTagDTO);
+
+    /**
+     * 批量删除实有人口
+     *
+     * @param Ids   实有人口id集合
+     * @return  删除结果
+     */
+    @PostMapping("/common/data/population/delete")
+    R deletePopulations(@RequestBody List<Long> Ids);
+
+    /**
+     * 根据社区id查询所有实有人口
+     * @param communityId   社区id
+     * @return  查询结果
+     */
+    @PostMapping("/common/data/population/getAll")
+    R getPopulationListByCommunityId(@RequestParam(value = "communityId") Long communityId);
+
+    /**
+     * 根据id集合查询实有人口
+     * @param Ids   实有人口id集合
+     * @return  查询结果
+     */
+    @PostMapping("/common/data/population/getList")
+    R getPopulationLists(@RequestBody List<Long> Ids);
 
 }

--
Gitblit v1.7.1