From 2ca2e51f3a838252ed9cd8989f4f5d6fe35d468c Mon Sep 17 00:00:00 2001 From: 罗元桥 <2376770955@qq.com> Date: 星期三, 30 六月 2021 18:02:00 +0800 Subject: [PATCH] Merge branch 'test' into 'master' --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 165 insertions(+), 6 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 cb0da89..c449e01 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 @@ -14,9 +14,13 @@ import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenActActivityPeopleListDTO; import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenDiscussListDTO; import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenMicroListDTO; +import com.panzhihua.common.model.dtos.community.wallet.ComActWalletDetailDTO; +import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeDTO; import com.panzhihua.common.model.dtos.elders.ComEldersAuthGetResultDTO; import com.panzhihua.common.model.dtos.elders.ComEldersAuthPageDTO; import com.panzhihua.common.model.dtos.elders.ComEldersAuthUserAddAppDTO; +import com.panzhihua.common.model.dtos.grid.*; +import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationListDTO; import com.panzhihua.common.model.dtos.neighbor.*; import com.panzhihua.common.model.dtos.neighbor.*; import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAdminDTO; @@ -47,7 +51,6 @@ import com.panzhihua.common.model.vos.shop.ShopStoreVO; import com.panzhihua.common.model.vos.user.UserElectronicFileVO; import com.panzhihua.common.model.vos.user.UserPhoneVO; -import com.panzhihua.common.utlis.ExcelSelectObject; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.*; @@ -273,6 +276,13 @@ */ @PostMapping("addeasyphoto") R addEasyPhoto(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); + + /** + * 查询随手拍是否有活动 + * @return 活动详情 + */ + @PostMapping("getEasyPhotoActivity") + R getEasyPhotoActivity(@RequestParam("communityId") Long communityId); /** * 发布微心愿 @@ -2872,10 +2882,17 @@ */ @PostMapping("/elders/records/page") R pageQueryEldersAuthRecord(@RequestBody PageEldersAuthRecordDTO pageEldersAuthElderlyDTO); - + /** + * description 批量保存重点人群人员信息 + * + * @param list 重点人群信息 + * @return R 保存结果 + * @author manailin + * @date 2021/6/10 17:00 + */ @PostMapping("/key_person/batch/save") R saveBatchKeyPerson(@RequestBody List<KeyPersonInfoDTO> list); - + @GetMapping("/screen/population/statistic") R statistic(@RequestParam("communityId")Long communityId); @@ -2893,7 +2910,7 @@ @PostMapping("/elders/getAuthHistoryExport") R getAuthHistoryExport(@RequestBody PageEldersAuthHistoryDTO pageEldersAuthElderlyDTO); - + @GetMapping("/screen/work/neighborCircle") R statisticNeighborCircle(@RequestParam("communityId") Long communityId); @@ -2956,7 +2973,7 @@ */ @GetMapping("/screen/getScreenCivil") R getScreenCivil(@RequestParam("communityId")Long communityId); - + /** * 大屏统计邻里圈 */ @@ -3003,7 +3020,7 @@ */ @GetMapping("/screen/work/workCount") R workCount(@RequestParam("communityId")Long communityId); - + /** * description 批量保存残疾人人员信息 * @@ -3063,4 +3080,146 @@ @PostMapping("/screen/work/getScreenMicroList") R getScreenMicroList(@RequestBody ScreenMicroListDTO microListDTO); + /** + * 获取系统参数接口 + * @param code 参数code + * @return 系统参数 + */ + @GetMapping("/sys/conf/get") + R getConf(@RequestParam("code") String code); + + /** + * 根据社区id获取社区下人口数据信息 + * @param populationListDTO 请求参数 + * @return 人口数据 + */ + @PostMapping("/population/list/app") + R getPopulationListByApp(@RequestBody PagePopulationListDTO populationListDTO); + + /** + * 根据人口id获取人口详情 + * @param populationId + * @return + */ + @GetMapping("/population/detail/app") + R getPopulationDetailByApp(@RequestParam("populationId") Long populationId); + + /** + * 修复人口加密问题 + * @return 修复结果 + */ + @GetMapping("/population/repair") + R getPopulationRepairByApp(); + + /** + * 工作大屏-社区动态模块数据统计 + * @param communityId 社区id + * @return 社区动态数据统计 + */ + @GetMapping("/screen/work/dynamic") + R dynamicWork(@RequestParam("communityId")Long communityId); + + /** + * 查询用户钱包信息 + * @param walletDetailDTO 请求参数 + * @return 用户钱包信息 + */ + @PostMapping("/wallet/get/my") + R getUserWalletDetail(@RequestBody ComActWalletDetailDTO walletDetailDTO); + + /** + * 查询用户收支记录列表 + * @param walletTradeDTO 请求参数 + * @return 收支记录 + */ + @PostMapping("/wallet/get/trade") + R getUserWalletTrade(@RequestBody PageComActWalletTradeDTO walletTradeDTO); + + /** + * 查询用户绑定的社区收益排行榜 + * @param walletTradeDTO 请求参数 + * @return 社区收益排行榜 + */ + @PostMapping("/wallet/get/ranking") + R getWalletRanking(@RequestBody PageComActWalletTradeDTO walletTradeDTO); + + /** + * 综治后台-居民列表 + * @param populationListDTO 请求参数 + * @return 居民列表 + */ + @PostMapping("/population/grid/list") + R getGridPopulationList(@RequestBody ComMngPopulationListDTO populationListDTO); + + /** + * 综治后台-删除居民 + * @param ids 居民id集合 + * @return 删除结果 + */ + @PostMapping("/population/grid/del") + R delGridPopulation(@RequestBody List<Long> ids); + + /** + * 综治后台-居民详情 + * @param populationId 居民id + * @return 居民详情 + */ + @GetMapping("/population/grid/get") + R getGridPopulationDetail(@RequestParam("populationId")Long populationId); + + /** + * 综治app-小区列表 + * @param villageListAppDTO 请求参数 + * @return 小区列表 + */ + @PostMapping("/village/grid/list") + R getGridVillageList(@RequestBody ComMngVillageListAppDTO villageListAppDTO); + + /** + * 综治app-根据小区id查询小区下楼栋列表 + * @param villageId 小区id + * @return 楼栋列表 + */ + @PostMapping("/village/grid/building/list") + R getGridVillageBuildingList(@RequestParam("villageId")Long villageId); + + /** + * 小区楼栋下房屋列表 + * @param buildHouseAppDTO 请求参数 + * @return 房屋列表 + */ + @PostMapping("/village/grid/building/house/list") + R getGridVillageBuildingHouseList(@RequestBody PageComMngVillageBuildHouseAppDTO buildHouseAppDTO); + + /** + * 小区楼栋下房屋信息 + * @param houseId 房屋id + * @return 房屋信息 + */ + @PostMapping("/village/grid/building/house/detail") + R getGridVillageBuildingHouseDetail(@RequestParam("houseId")Long houseId); + + /** + * 查询平台人口列表 + * @param populationDTO 请求参数 + * @return 人口列表 + */ + @PostMapping("/village/grid/building/house/population/list") + R getBuildingHousePopulationList(@RequestBody PageComMngPopulationDTO populationDTO); + + /** + * 批量向房屋新增人员 + * @param housePopulationDTO 请求参数 + * @return 添加结果 + */ + @PostMapping("/village/grid/building/house/add/population") + R addBuildingHousePopulation(@RequestBody AddComMngHousePopulationDTO housePopulationDTO); + + /** + * 批量删除房屋内人员 + * @param housePopulationDTO 请求参数 + * @return 删除结果 + */ + @PostMapping("/village/grid/building/house/del/population") + R delBuildingHousePopulation(@RequestBody DelComMngHousePopulationDTO housePopulationDTO); } -- Gitblit v1.7.1