From a1ed31a624e7cf3d2f6c1c6582d853110c1867d0 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期一, 06 九月 2021 10:19:20 +0800
Subject: [PATCH] bug修复

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |  241 ++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 203 insertions(+), 38 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 76ad4d4..b67e67e 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
@@ -3,6 +3,7 @@
 import java.util.List;
 
 import com.panzhihua.common.model.dtos.community.*;
+import com.panzhihua.common.model.dtos.neighbor.*;
 import com.panzhihua.common.model.vos.community.*;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.cloud.openfeign.FeignClient;
@@ -62,20 +63,6 @@
 import com.panzhihua.common.model.dtos.grid.admin.ComMngVillageListExportAdminDTO;
 import com.panzhihua.common.model.dtos.grid.admin.PageComMngVillagePopulationDTO;
 import com.panzhihua.common.model.dtos.grid.admin.PageComMngVillagePopulationHouseDTO;
-import com.panzhihua.common.model.dtos.neighbor.AddComActNeighborCircleAppDTO;
-import com.panzhihua.common.model.dtos.neighbor.AddNeighborCircleTopicAdminDTO;
-import com.panzhihua.common.model.dtos.neighbor.ComActNeighborAddBrowseAppDTO;
-import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAdminDTO;
-import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAppDTO;
-import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleDetailAppDTO;
-import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleTopicAdminDTO;
-import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCommentAppDTO;
-import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCommentReplyAppDTO;
-import com.panzhihua.common.model.dtos.neighbor.ComActNeighborFabulousAppDTO;
-import com.panzhihua.common.model.dtos.neighbor.ComActNeighborForwardAppDTO;
-import com.panzhihua.common.model.dtos.neighbor.ComActNeighborReplyAppDTO;
-import com.panzhihua.common.model.dtos.neighbor.DetailNeighborAllCommentByAdminDTO;
-import com.panzhihua.common.model.dtos.neighbor.DetailNeighborCommentReplyByAdminDTO;
 import com.panzhihua.common.model.dtos.shop.ComShopAddressDTO;
 import com.panzhihua.common.model.dtos.shop.ComShopCartDTO;
 import com.panzhihua.common.model.dtos.shop.ComShopEditNubCartDTO;
@@ -295,6 +282,15 @@
      */
     @GetMapping("/activity/picture/getList")
     R getPictureList(@RequestParam("userId") Long userId);
+
+    /**
+     * 获取系统预置图库  getSysPictureList
+     * @return    R   系统图库集
+     * @author txb
+     * @date 2021/8/27 13:33
+     */
+    @GetMapping("/activity/sysPicture/getList")
+    R getSysPictureList(@RequestParam("type")Integer type);
 
     /**
      * 活动报名名单
@@ -1132,7 +1128,7 @@
     R addComActEasyPhotoComment(@RequestBody ComActEasyPhotoCommentDTO comActEasyPhotoCommentDTO);
 
     /**
-     * 一起议-新增
+     * 议事投票-新增
      *
      * @param comActDiscussDTO
      *            新增参数
@@ -1142,7 +1138,17 @@
     R addDiscuss(@RequestBody ComActDiscussDTO comActDiscussDTO);
 
     /**
-     * 一起议-详情
+     * 议事投票-新增
+     *
+     * @param comActDiscussDTO
+     *            新增参数
+     * @return 新增结果
+     */
+    @PostMapping("editdiscuss")
+    R editDiscuss(@RequestBody ComActDiscussDTO comActDiscussDTO);
+
+    /**
+     * 议事投票-详情
      *
      * @param id
      *            主键
@@ -1152,7 +1158,7 @@
     R detailDiscuss(@RequestParam("id") Long id);
 
     /**
-     * 一起议-删除
+     * 议事投票-删除
      *
      * @param id
      *            主键
@@ -1162,7 +1168,7 @@
     R deleteDiscuss(@RequestParam("id") Long id);
 
     /**
-     * 一起议-回复
+     * 议事投票-回复
      *
      * @param comActDiscussCommentDTO
      *            评论内容
@@ -1172,7 +1178,7 @@
     R addDiscussComment(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO);
 
     /**
-     * 一起议-分页查询
+     * 议事投票-分页查询
      *
      * @param pageComActDiscussDTO
      *            查询参数
@@ -1182,7 +1188,7 @@
     R pageDiscuss(@RequestBody PageComActDiscussDTO pageComActDiscussDTO);
 
     /**
-     * 一起议-评论-查看
+     * 议事投票-评论-查看
      *
      * @param id
      *            主键
@@ -1192,7 +1198,7 @@
     R detailDiscussComment(@RequestParam("id") Long id);
 
     /**
-     * 一起议-评论-置顶
+     * 议事投票-评论-置顶
      *
      * @param id
      *            主键
@@ -1202,7 +1208,7 @@
     R putDiscussCommentTop(@RequestParam("id") Long id);
 
     /**
-     * 一起议-评论-回复
+     * 议事投票-评论-回复
      *
      * @param comActDiscussCommentDTO
      *            回复内容
@@ -1212,7 +1218,7 @@
     R addDiscussCommentBack(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO);
 
     /**
-     * 一起议-评论-分页查询
+     * 议事投票-评论-分页查询
      *
      * @param pageComActDiscussCommentDTO
      *            分页查询参数
@@ -1222,7 +1228,7 @@
     R pageDiscussComment(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO);
 
     /**
-     * 一起议-分页查询 小程序
+     * 议事投票-分页查询 小程序
      *
      * @param pageComActDiscussDTO
      *            查询参数
@@ -1232,7 +1238,7 @@
     R pageDiscussApplets(@RequestBody PageComActDiscussDTO pageComActDiscussDTO);
 
     /**
-     * 一起议-点赞、取消点赞
+     * 议事投票-点赞、取消点赞
      *
      * @param comActDiscussUserDTO
      *            操作类型
@@ -1242,7 +1248,7 @@
     R putDiscussUser(@RequestBody ComActDiscussUserDTO comActDiscussUserDTO);
 
     /**
-     * 一起议-评论-分页查询 小程序
+     * 议事投票-评论-分页查询 小程序
      *
      * @param pageComActDiscussCommentDTO
      *            分页参数
@@ -1252,7 +1258,7 @@
     R pageDiscussCommentApplets(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO);
 
     /**
-     * 一起议-详情 小程序
+     * 议事投票-详情 小程序
      *
      * @param id
      *            主键
@@ -1264,7 +1270,7 @@
     R detailDiscussApplets(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
 
     /**
-     * 一起议-投票
+     * 议事投票-投票
      *
      * @param comActDiscussOptionUserDTO
      *            投票信息
@@ -1274,7 +1280,7 @@
     R addDiscussOptionUser(@RequestBody ComActDiscussOptionUserDTO comActDiscussOptionUserDTO);
 
     /**
-     * 一起议-评论-点赞、取消点赞
+     * 议事投票-评论-点赞、取消点赞
      *
      * @param comActDiscussUserDTO
      *            评论点赞
@@ -1449,7 +1455,7 @@
     R pageComCvtBusinessByServiceArea(@RequestBody PageComCvtBusinessAppletsDTO comCvtBusinessAppletsDTO);
 
     /**
-     * 一起议-新增
+     * 议事投票-新增
      *
      * @param comOpsHouseDTO
      *            新增参数
@@ -1459,7 +1465,7 @@
     R addOpsHouse(@RequestBody ComOpsHouseDTO comOpsHouseDTO);
 
     /**
-     * 一起议-详情
+     * 议事投票-详情
      *
      * @param id
      *            主键
@@ -1499,7 +1505,7 @@
     R undercarriageHouse(@RequestBody ComOpsHouseUndercarriageVO comOpsHouseVO);
 
     /**
-     * 一起议-删除
+     * 议事投票-删除
      *
      * @param id
      *            主键
@@ -2156,6 +2162,43 @@
     @PostMapping("/common/data/population/importLowSecurity")
     R listSavePopulationLowSecurityExcelVO(@RequestBody List<ComMngPopulationLowSecurityExcelVO> list,
                                            @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId);
+
+    /**
+     * 批量导入高龄老人  listSavePopulationElderExcelVO  批量导入高龄老人
+     * @param    list  高龄老人数据
+     * @param    communityId   社区id
+     * @return    R   导入结果
+     * @author txb
+     * @date 2021/9/01 15:03
+     */
+    @PostMapping("/common/data/population/importElder")
+    R listSavePopulationElderExcelVO(@RequestBody List<ComMngPopulationElderExcelVO> list,
+                                    @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId);
+
+    /**
+     * 批量导入养老金人员  listSavePopulationPensionExcelVO  批量导入养老金人员
+     * @param    list  养老金人员数据
+     * @param    communityId   社区id
+     * @return    R   导入结果
+     * @author txb
+     * @date 2021/9/01 15:03
+     */
+    @PostMapping("/common/data/population/importPension")
+    R listSavePopulationPensionExcelVO(@RequestBody List<ComMngPopulationPensionExcelVO> list,
+                                     @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId);
+
+    /**
+     * 批量导入高龄老人线下认证记录  listSaveElderAuthRecordExcelVO  批量导入高龄老人线下认证记录
+     * @param    list  高龄老人线下认证记录数据
+     * @param    communityId   社区id
+     * @param    userId   登录人id
+     * @return    R   导入结果
+     * @author txb
+     * @date 2021/9/01 15:03
+     */
+    @PostMapping("/elders/authRecords/underLine/import")
+    R listSaveElderAuthRecordExcelVO(@RequestBody List<ComElderAuthRecordImportExcelVO> list,
+                                       @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId);
 
     /**
      * 确认导入实有人口(有则更新,无则新建)
@@ -2965,6 +3008,45 @@
     R delectWorkGuide(@RequestParam("workGuideId") Long workGuideId);
 
     /**
+     * 分页查询办事指南-分类管理 pageWorkGuideClassify  分页查询办事指南-分类管理
+     * @param    comActWorkGuideClassifyVO   查询参数
+     * @return    R   返回结果
+     * @author txb
+     * @date 2021/8/31 15:03
+     */
+    @PostMapping("/workGuide/classify/apage")
+    R pageWorkGuideClassify(@RequestBody ComActWorkGuideClassifyVO comActWorkGuideClassifyVO);
+
+    /**
+     * 办事指南-分类管理新增或修改  addWorkGuideClassify  办事指南-分类管理新增或修改
+     * @param    comActWorkGuideClassifyVO   新增或修改参数
+     * @return    R   返回结果
+     * @author txb
+     * @date 2021/8/31 15:03
+     */
+    @PostMapping("/workGuide/classify/add")
+    R addWorkGuideClassify(@RequestBody ComActWorkGuideClassifyVO comActWorkGuideClassifyVO);
+
+    /**
+     * 办事指南-分类管理删除  deleteWorkGuideClassify  办事指南-分类管理删除
+     * @param    workGuideClassifyId    办事指南-分类管理id
+     * @return    R   返回结果
+     * @author txb
+     * @date 2021/8/31 15:03
+     */
+    @GetMapping("/workGuide/classify/delete")
+    R deleteWorkGuideClassify(@RequestParam("workGuideClassifyId") Long workGuideClassifyId);
+
+    /**
+     * 办事指南-分类管理列表查询  getWorkGuideClassifyList  办事指南-分类管理列表查询
+     * @return    R   返回结果
+     * @author txb
+     * @date 2021/8/31 15:03
+     */
+    @GetMapping("/workGuide/classify/getList")
+    R getWorkGuideClassifyList();
+
+    /**
      * 分页查询邻里圈
      *
      * @param neighborCircleAppDTO
@@ -3408,6 +3490,57 @@
     @PostMapping("/eldersauth/addFeedback")
     R addFeedback(@RequestBody EldersAuthFeedbackAddDTO eldersAuthFeedbackAddDTO);
 
+    //2021-8-30 身份认证改版(高龄老人认证管理)接口
+    /**
+     * 分页查询高龄老人认证记录  pageElderAuthRecords  分页查询高龄老人认证记录
+     * @param    pageElderAuthRecordsDTO   查询参数
+     * @return    R  查询结果
+     * @author txb
+     * @date 2021/9/02 11:03
+     */
+    @PostMapping("/elders/authRecords/page")
+    R pageElderAuthRecords(@RequestBody PageElderAuthRecordsDTO pageElderAuthRecordsDTO);
+
+    /**
+     * 根据高龄认证记录id查询详情 detailElderAuthRecords  根据高龄认证记录id查询详情
+     * @param    authRecordId   高龄认证记录id
+     * @return    R  查询结果
+     * @author txb
+     * @date 2021/9/02 11:03
+     */
+    @GetMapping("/elders/authRecords/detail")
+    R detailElderAuthRecords(@RequestParam(value = "authRecordId") Long authRecordId);
+
+    /**
+     * 高龄认证审核 examineElderAuthRecords  高龄认证审核
+     * @param    comElderAuthRecordVO   高龄认证审核参数
+     * @return    R  查询结果
+     * @author txb
+     * @date 2021/9/02 11:03
+     */
+    @PostMapping("/elders/authRecords/examine")
+    R examineElderAuthRecords(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO);
+
+    /**
+     * 高龄认证标记 examineElderAuthRecords  高龄认证标记
+     * @param    comElderAuthRecordVO   高龄认证标记参数
+     * @return    R  查询结果
+     * @author txb
+     * @date 2021/9/02 11:03
+     */
+    @PostMapping("/elders/authRecords/sign")
+    R signElderAuthRecords(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO);
+
+    /**
+     * 根据高龄认证记录id批量查询 getElderAuthRecordsByIds  根据高龄认证记录id批量查询
+     * @param    ids   高龄认证记录id集合
+     * @return    R  查询结果
+     * @author txb
+     * @date 2021/9/02 11:03
+     */
+    @PostMapping("/elders/authRecords/getList")
+    R getElderAuthRecordsByIds(@RequestBody List<Long> ids);
+
     /**
      * 小程序-查询疫苗分类列表
      *
@@ -3841,7 +3974,7 @@
     R activity(@RequestParam("communityId") Long communityId);
 
     /**
-     * 大屏统计一起议
+     * 大屏统计议事投票
      *
      * @param communityId
      * @return
@@ -3909,11 +4042,11 @@
     R getScreenEventDetail(@RequestBody BigScreenEventDetailDTO eventDetailDTO);
 
     /**
-     * 工作大屏-一起议列表
+     * 工作大屏-议事投票列表
      *
      * @param discussListDTO
      *            请求参数
-     * @return 一起议列表
+     * @return 议事投票列表
      */
     @PostMapping("/screen/work/getScreenDiscussList")
     R getScreenDiscussList(@RequestBody ScreenDiscussListDTO discussListDTO);
@@ -4489,6 +4622,17 @@
      */
     @PostMapping("/easyphoto/getUserReward")
     R getUserReward(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId);
+
+    /**
+     * 获取首页弹窗接口
+     * @param userId
+     *            用户id
+     * @param communityId
+     *            社区id
+     * @return 首页弹窗接口
+     */
+    @PostMapping("/easyphoto/getUserRewards")
+    R getUserRewards(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId);
 
     /**
      * 读取用户随手拍奖励
@@ -5193,8 +5337,6 @@
     @PostMapping("/activity/default-praise")
     R timedTaskActivityDefaultPraise();
 
-
-
     /**
      * 小程序-用户新增话题
      * @param circleTopicAppDTO 请求参数
@@ -5208,7 +5350,7 @@
      * @param circleTopicAppDTO 请求参数
      * @return  删除结果
      */
-    @PostMapping("/neighbor/circleTopicAppDTO")
+    @PostMapping("/neighbor/deleteNeighborByApp")
     R deleteNeighborByApp(@RequestBody DeleteNeighborCircleAppDTO circleTopicAppDTO);
 
     /**
@@ -5230,4 +5372,27 @@
      */
     @GetMapping("/sys/conf/addSysConfValue")
     R addSysConfValue(@RequestParam("key") String key,@RequestParam("communityId") Long communityId,@RequestParam("name") String name,@RequestParam("value") String value);
+
+    /**
+     * 编辑系统配置
+     * @param communityId   社区id
+     * @param status    配置值
+     * @return  编辑结果
+     */
+    @GetMapping("/sys/conf/editSysConfValue")
+    R editSysConfValue(@RequestParam("communityId") Long communityId,@RequestParam("status") Integer status);
+
+    /**
+     * 定时任务扫描高龄认证记录信息
+     * @return  执行结果
+     */
+    @PostMapping("/elders/auth/task")
+    R timedTaskEldersAuthJobHandler();
+
+    /**
+     * 定时任务扫描上月高龄认证使用视频认证的用户添加成功记录
+     * @return  执行结果
+     */
+    @PostMapping("/elders/auth/record/task")
+    R timedTaskEldersAuthRecordJobHandler();
 }

--
Gitblit v1.7.1