From 3e4562c98fc95cc95a51114c7e153a9c35792732 Mon Sep 17 00:00:00 2001 From: tangxiaobao <303826152@qq.com> Date: 星期二, 24 八月 2021 11:09:39 +0800 Subject: [PATCH] 修改测试服下载文件地址 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 257 +++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 197 insertions(+), 60 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 fb67eb4..e27db30 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 @@ -10,10 +10,7 @@ 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.easyPhoto.AddEasyPhotoActivityDTO; -import com.panzhihua.common.model.dtos.community.easyPhoto.EditEasyPhotoActivityDTO; -import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityDTO; -import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityUserDTO; +import com.panzhihua.common.model.dtos.community.easyPhoto.*; import com.panzhihua.common.model.dtos.community.integral.ComActIntegralCommunityRankDTO; import com.panzhihua.common.model.dtos.community.integral.admin.AddComActIntegralUserDTO; import com.panzhihua.common.model.dtos.community.integral.admin.EditComActIntegralRuleDTO; @@ -336,6 +333,24 @@ */ @PostMapping("puteasyphotostatus") R putEasypHotoStatus(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); + + /** + * 城管随手拍统计 + */ + @PostMapping("/esayPhotoCount") + R esayphotoCount(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); + + /** + * 城管安排 + */ + @PostMapping("updatePageeasyphoto") + R updatePageeasyphoto(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); + + /** + * 随手拍城管导出 + */ + @PostMapping("exportEasyPhoto") + R exportEasyPhoto(@RequestBody ExportEasyPhotoDTO exportEasyPhotoDTO); /** * 新增社区 @@ -1702,7 +1717,7 @@ * @return 导入结果 */ @PostMapping("/common/data/population/import") - R listSavePopulationServeExcelVO(@RequestBody List<ComMngPopulationServeExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationServeExcelVO(@RequestBody List<ComMngPopulationServeExcelVO> list, @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入吸毒人员 @@ -1712,7 +1727,7 @@ * @return 导入结果 */ @PostMapping("/common/data/population/importDrug") - R listSavePopulationDrugExcelVO(@RequestBody List<ComMngPopulationDrugExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationDrugExcelVO(@RequestBody List<ComMngPopulationDrugExcelVO> list, @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入社区矫正人员 @@ -1722,7 +1737,7 @@ * @return 导入结果 */ @PostMapping("/common/data/population/importCorrect") - R listSavePopulationCorrectExcelVO(@RequestBody List<ComMngPopulationCorrectExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationCorrectExcelVO(@RequestBody List<ComMngPopulationCorrectExcelVO> list, @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入重精人员 @@ -1732,7 +1747,7 @@ * @return 导入结果 */ @PostMapping("/common/data/population/importMajor") - R listSavePopulationMajorExcelVO(@RequestBody List<ComMngPopulationMajorExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationMajorExcelVO(@RequestBody List<ComMngPopulationMajorExcelVO> list, @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入邪教人员 @@ -1742,7 +1757,7 @@ * @return 导入结果 */ @PostMapping("/common/data/population/importCult") - R listSavePopulationCultExcelVO(@RequestBody List<ComMngPopulationCultExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationCultExcelVO(@RequestBody List<ComMngPopulationCultExcelVO> list, @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入刑释人员 @@ -1752,7 +1767,7 @@ * @return 导入结果 */ @PostMapping("/common/data/population/importRehabilitation") - R listSavePopulationRehabilitationExcelVO(@RequestBody List<ComMngPopulationRehabilitationExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationRehabilitationExcelVO(@RequestBody List<ComMngPopulationRehabilitationExcelVO> list, @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入重点上访人员 @@ -1762,7 +1777,7 @@ * @return 导入结果 */ @PostMapping("/common/data/population/importKey") - R listSavePopulationKeyExcelVO(@RequestBody List<ComMngPopulationKeyExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationKeyExcelVO(@RequestBody List<ComMngPopulationKeyExcelVO> list, @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入服刑人员 @@ -1772,7 +1787,7 @@ * @return 导入结果 */ @PostMapping("/common/data/population/importSentence") - R listSavePopulationSentenceExcelVO(@RequestBody List<ComMngPopulationSentenceExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationSentenceExcelVO(@RequestBody List<ComMngPopulationSentenceExcelVO> list, @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入退役军人 @@ -1782,7 +1797,7 @@ * @return 导入结果 */ @PostMapping("/common/data/population/importVeterans") - R listSavePopulationVeteransExcelVO(@RequestBody List<ComMngPopulationVeteransExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationVeteransExcelVO(@RequestBody List<ComMngPopulationVeteransExcelVO> list, @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入残疾人 @@ -1792,7 +1807,7 @@ * @return 导入结果 */ @PostMapping("/common/data/population/importDisability") - R listSavePopulationDisabilityExcelVO(@RequestBody List<ComMngPopulationDisabilityExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationDisabilityExcelVO(@RequestBody List<ComMngPopulationDisabilityExcelVO> list, @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入低保户 @@ -1802,7 +1817,7 @@ * @return 导入结果 */ @PostMapping("/common/data/population/importLowSecurity") - R listSavePopulationLowSecurityExcelVO(@RequestBody List<ComMngPopulationLowSecurityExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationLowSecurityExcelVO(@RequestBody List<ComMngPopulationLowSecurityExcelVO> list, @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 确认导入实有人口(有则更新,无则新建) @@ -1900,7 +1915,7 @@ * 小程序-社区问卷列表 * * @param pageQuestnaireDTO 请求参数 - * @return 社区问卷列表 + * @return 社区问卷列表 */ @PostMapping("/questnaire/pagequestnaire") R pageQuestnaire(@RequestBody PageQuestnaireDTO pageQuestnaireDTO); @@ -1909,7 +1924,7 @@ * 社区后台-社区问卷列表 * * @param pageQuestnaireDTO 请求参数 - * @return 社区问卷列表 + * @return 社区问卷列表 */ @PostMapping("/questnaire/admin/pagequestnaire") R pageQuestnaireAdmin(@RequestBody PageQuestnaireDTO pageQuestnaireDTO); @@ -1963,17 +1978,38 @@ /** * 小程序-问卷调查详情 - * @param userId 用户id - * @param questId 问卷id - * @return 问卷调查详情 + * + * @param userId 用户id + * @param questId 问卷id + * @return 问卷调查详情 */ @GetMapping("/questnaire/view/detail") R viewDetail(@RequestParam("userId") Long userId, @RequestParam("questId") Long questId); /** + * 小程序-新增问卷调查浏览数量 + * + * @param questId 问卷调查id + * @return 增加结果 + */ + @GetMapping("/questnaire/add/view") + R addView(@RequestParam("questId") Long questId); + + /** + * 小程序-用户弹窗添加不在提醒接口 + * + * @param questId 问卷id + * @param userId 用户id + * @return 添加结果 + */ + @GetMapping("/questnaire/add/noNotice") + R addNoNotice(@RequestParam("questId") Long questId, @RequestParam("userId") Long userId); + + /** * 社区后台-查询问卷调查详情 - * @param questId 问卷id - * @return 问卷调查详情 + * + * @param questId 问卷id + * @return 问卷调查详情 */ @GetMapping("/questnaire/admin/detail") R QuesDetail(@RequestParam("questId") Long questId); @@ -3776,40 +3812,45 @@ /** * 查询用户交易记录总额 + * * @param pageTradeAdminDTO 请求参数 - * @return 交易记录总额 + * @return 交易记录总额 */ @PostMapping("/user/wallet/trade/total") R getTradeUserTotalWalletTradeAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO); /** * 查询用户导出数据 + * * @param pageTradeAdminDTO 请求参数 - * @return 用户导出数据 + * @return 用户导出数据 */ @PostMapping("/user/wallet/trade/export") R getTradeUserTotalWalletTradeExportAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO); /** * 导出奖励台账数据 + * * @param pageTradeAdminDTO 请求参数 - * @return 奖励台账数据 + * @return 奖励台账数据 */ @PostMapping("/user/wallet/trade/reward/export") R getTradeUserTotalJLWalletTradeExportAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO); /** * 查询社区统计数据 + * * @param pageTradeAdminDTO 查询社区统计数据 - * @return 社区统计数据 + * @return 社区统计数据 */ @PostMapping("/user/wallet/trade/statistics") R getTradeUserStatisticsAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO); /** * 社区随手拍列表统计 - * @param communityId 社区id - * @return 统计结果 + * + * @param communityId 社区id + * @return 统计结果 */ @GetMapping("/easyphoto/statistics") R easyPhotoStatistics(@RequestParam("communityId") Long communityId); @@ -4058,80 +4099,90 @@ /** * 小程序-查询积分说明 - * @return 积分说明 + * + * @return 积分说明 */ @GetMapping("/integral/explain/applets") R getIntegralExplainApplets(); /** * 小程序-用户查询当前社区可领取积分规则列表 - * @param userId 用户id - * @param communityId 社区id - * @return 可领取积分规则列表 + * + * @param userId 用户id + * @param communityId 社区id + * @return 可领取积分规则列表 */ @PostMapping("/integral/receive/applets") - R getIntegralReceiveApplets(@RequestParam("userId") Long userId,@RequestParam("communityId") Long communityId); + R getIntegralReceiveApplets(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); /** * 小程序-查询用户积分列表 - * @param userId 用户id - * @return 用户积分列表 + * + * @param userId 用户id + * @return 用户积分列表 */ @PostMapping("/integral/user/list/applets") R getIntegralUserListApplets(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); /** * 小程序-查询社区积分账户排行榜 - * @param communityRankDTO 请求参数 - * @return 社区积分账户排行榜 + * + * @param communityRankDTO 请求参数 + * @return 社区积分账户排行榜 */ @PostMapping("/integral/community/rank/applets") R getIntegralCommunityRankApplets(@RequestBody ComActIntegralCommunityRankDTO communityRankDTO); /** * 小程序-查询用户社区积分明细 + * * @param communityTradeDTO 请求参数 - * @return 用户社区积分明细 + * @return 用户社区积分明细 */ @PostMapping("/integral/community/trade/applets") R getIntegralCommunityTradeApplets(@RequestBody ComActIntegralCommunityRankDTO communityTradeDTO); /** * 社区后台-根据社区id查询社区下积分规则列表 - * @param integralRuleDTO 请求参数 - * @return 社区下积分规则列表 + * + * @param integralRuleDTO 请求参数 + * @return 社区下积分规则列表 */ @PostMapping("/integral/rule/list/admin") R getIntegralRuleAdminList(@RequestBody PageComActIntegralRuleDTO integralRuleDTO); /** * 社区后台-编辑社区积分规则 - * @param integralRuleDTO 请求参数 - * @return 编辑结果 + * + * @param integralRuleDTO 请求参数 + * @return 编辑结果 */ @PostMapping("/integral/rule/edit/admin") R editIntegralRuleAdmin(@RequestBody EditComActIntegralRuleDTO integralRuleDTO); /** * 社区后台-分页查询社区下积分明细记录 - * @param integralRuleDTO 请求参数 - * @return 社区下积分明细记录 + * + * @param integralRuleDTO 请求参数 + * @return 社区下积分明细记录 */ @PostMapping("/integral/user/trade/page/admin") R getIntegralTradeListAdmin(@RequestBody PageComActIntegralTradeDTO integralRuleDTO); /** * 给用户添加积分 - * @param integralUserDTO 请求参数 - * @return 添加积分结果 + * + * @param integralUserDTO 请求参数 + * @return 添加积分结果 */ @PostMapping("/integral/user/add/admin") R addIntegralTradeAdmin(@RequestBody AddComActIntegralUserDTO integralUserDTO); /** * 根据社区活动id查询社区活动报名人员列表 - * @param activityId 活动id - * @return 社区活动报名人员列表 + * + * @param activityId 活动id + * @return 社区活动报名人员列表 */ @PostMapping("/integral/act/activity/admin") R getTaskActivityPeopleList(@RequestParam("activityId") Long activityId); @@ -4147,6 +4198,7 @@ /** * 根据id查询值班表 + * * @param rotaId 值班表id * @return 值班表详情 */ @@ -4164,6 +4216,7 @@ /** * 批量删除值班表 + * * @param rotaIds 值班ids * @return 删除结果 */ @@ -4200,53 +4253,137 @@ @PostMapping("timedTaskActivityNotice") R timedTaskActivityNotice(); + /** + * 定时任务检测待发布,调研中的问卷调查状态 + */ @PostMapping("timedTaskQuestionnaire") R timedTaskQuestionnaire(); /** * 查询社区所有列表 - * @return 社区列表 + * + * @return 社区列表 */ @GetMapping("/switch/community/all/list") R communitySwitchList(); /** * 根据名字查询所有社区列表 - * @param name 社区名字 - * @return 社区列表 + * + * @param name 社区名字 + * @return 社区列表 */ @GetMapping("/switch/community/search/list") R communitySwitchSearchList(@RequestParam(value = "name") String name); /** * 根据经纬度以及距离搜索附近社区列表 - * @param communityDTO 请求参数 - * @return 社区列表 + * + * @param communityDTO 请求参数 + * @return 社区列表 */ @PostMapping("/switch/community/search/distance/list") R communitySwitchSearchDistanceList(@RequestBody SearchCommunityDTO communityDTO); /** * 问卷调查统计汇总 - * @param summaryDTO 请求参数 - * @return 统计汇总 + * + * @param summaryDTO 请求参数 + * @return 统计汇总 */ @PostMapping("/questnaire/statisticsSummary") R statisticsSummary(@RequestBody StatisticsSummaryDTO summaryDTO); /** * 问卷调查统计汇总导出数据查询 - * @param questId 调查问卷id - * @return 调查统计汇总导出数据 + * + * @param questId 调查问卷id + * @return 调查统计汇总导出数据 */ @GetMapping("/questnaire/statisticsSummary/export") R statisticsSummaryExport(@RequestParam("questId") Long questId); /** * 问卷调查统计汇总表头统计 - * @param questId 调查问卷id - * @return 问卷调查统计汇总表头统计数据 + * + * @param questId 调查问卷id + * @return 问卷调查统计汇总表头统计数据 */ @GetMapping("/questnaire/statisticsSummary/header") - R statisticsSummaryHeader(@RequestParam("questId") Long questId); + R statisticsSummaryHeader(@RequestParam("questId") Long questId, @RequestParam("communityId") Long communityId); + + + /** + * 运营后台-新增随手拍分类 + * + * @param addPhotoClassify 请求参数 + * @return 新增结果 + */ + @PostMapping("/classify/admin/add") + R addPhotoClassify(@RequestBody AddEasyPhotoClassifyDTO addPhotoClassify); + + /** + * 运营后台-编辑随手拍分类 + * + * @param addPhotoClassify 请求参数 + * @return 编辑结果 + */ + @PostMapping("/classify/admin/edit") + R editPhotoClassify(@RequestBody AddEasyPhotoClassifyDTO addPhotoClassify); + + /** + * 运营后台-分页查询随手拍分类 + * + * @param addPhotoClassify 请求参数 + * @return 随手拍分类列表 + */ + @PostMapping("/classify/admin/page") + R pagePhotoClassify(@RequestBody AddEasyPhotoClassifyDTO addPhotoClassify); + + /** + * 运营后台-随手拍分类详情 + * + * @param id 随手拍分类id + * @return 随手拍分类 + */ + @GetMapping("/classify/admin/detail") + R detailPhotoClassify(@RequestParam("id") Long id); + + /** + * 运营后台-随手拍分类删除 + * + * @param id 随手拍分类id + * @return 删除结果 + */ + @GetMapping("/classify/admin/delete") + R deletePhotoClassify(@RequestParam("id") Long id); + + /** + * 运营后台-查询随手拍分类列表 + * + * @return 随手拍分类列表 + */ + @GetMapping("/classify/admin/list") + R listPhotoClassify(); + + /** + * 社区后台-切换随手拍公示状态 + * + * @param comActEasyPhotoVO 请求参数 + * @return 切换结果 + */ + @PostMapping("/easyphoto/switch/publicity") + R easyPhotoSwitchPublicity(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); + + /** + * 查询社区待处理随手拍id集合 + * + * @param communityId 社区id + * @return 社区待处理随手拍id集合 + */ + @GetMapping("/easyphoto/noHandle/list") + R easyPhotoNoHandleList(@RequestParam("communityId") Long communityId); + + @GetMapping("/common/data/my") + void add(); } -- Gitblit v1.7.1