| | |
| | | import com.panzhihua.common.model.dtos.community.integral.admin.EditComActIntegralRuleDTO; |
| | | import com.panzhihua.common.model.dtos.community.integral.admin.PageComActIntegralRuleDTO; |
| | | import com.panzhihua.common.model.dtos.community.integral.admin.PageComActIntegralTradeDTO; |
| | | import com.panzhihua.common.model.dtos.community.switchs.SearchCommunityDTO; |
| | | import com.panzhihua.common.model.dtos.community.wallet.*; |
| | | import com.panzhihua.common.model.dtos.elders.ComEldersAuthGetResultDTO; |
| | | import com.panzhihua.common.model.dtos.elders.ComEldersAuthPageDTO; |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/import") |
| | | R listSavePopulationServeExcelVO(@RequestBody List<ComMngPopulationServeExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量导入吸毒人员 |
| | | * |
| | | * @param list 吸毒人员数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/common/data/population/importDrug") |
| | | R listSavePopulationDrugExcelVO(@RequestBody List<ComMngPopulationDrugExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量导入社区矫正人员 |
| | | * |
| | | * @param list 社区矫正人员数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/common/data/population/importCorrect") |
| | | R listSavePopulationCorrectExcelVO(@RequestBody List<ComMngPopulationCorrectExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量导入重精人员 |
| | | * |
| | | * @param list 重精人员数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/common/data/population/importMajor") |
| | | R listSavePopulationMajorExcelVO(@RequestBody List<ComMngPopulationMajorExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量导入邪教人员 |
| | | * |
| | | * @param list 邪教人员数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/common/data/population/importCult") |
| | | R listSavePopulationCultExcelVO(@RequestBody List<ComMngPopulationCultExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量导入刑释人员 |
| | | * |
| | | * @param list 刑释人员数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/common/data/population/importRehabilitation") |
| | | R listSavePopulationRehabilitationExcelVO(@RequestBody List<ComMngPopulationRehabilitationExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量导入重点上访人员 |
| | | * |
| | | * @param list 重点上访人员数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/common/data/population/importKey") |
| | | R listSavePopulationKeyExcelVO(@RequestBody List<ComMngPopulationKeyExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量导入服刑人员 |
| | | * |
| | | * @param list 服刑人员数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/common/data/population/importSentence") |
| | | R listSavePopulationSentenceExcelVO(@RequestBody List<ComMngPopulationSentenceExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量导入退役军人 |
| | | * |
| | | * @param list 退役军人数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/common/data/population/importVeterans") |
| | | R listSavePopulationVeteransExcelVO(@RequestBody List<ComMngPopulationVeteransExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量导入残疾人 |
| | | * |
| | | * @param list 残疾人数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/common/data/population/importDisability") |
| | | R listSavePopulationDisabilityExcelVO(@RequestBody List<ComMngPopulationDisabilityExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量导入低保户 |
| | | * |
| | | * @param list 低保户数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/common/data/population/importLowSecurity") |
| | | R listSavePopulationLowSecurityExcelVO(@RequestBody List<ComMngPopulationLowSecurityExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 确认导入实有人口(有则更新,无则新建) |
| | |
| | | * @return 安全工作记录详情查询结果 |
| | | */ |
| | | @GetMapping("/patrolRecord/safetyWorkRecord/detail") |
| | | R detailSafetyWorkRecord(@RequestParam(value = "safetyWorkRecordId") Long safetyWorkRecordId); |
| | | R detailSafetyWorkRecord(@RequestParam(value = "safetyWorkRecordId") Long safetyWorkRecordId, @RequestParam(value = "communityId", required = false) Long communityId); |
| | | |
| | | /** |
| | | * 根据巡查记录id查询安全工作记录详情 |
| | |
| | | * @return 安全工作记录详情查询结果 |
| | | */ |
| | | @GetMapping("/patrolRecord/safetyWorkRecord/detailByPrId") |
| | | R detailSafetyWorkRecordByPrId(@RequestParam(value = "patrolRecordId") Long patrolRecordId); |
| | | R detailSafetyWorkRecordByPrId(@RequestParam(value = "patrolRecordId") Long patrolRecordId, @RequestParam(value = "communityId", required = false) Long communityId); |
| | | |
| | | /** |
| | | * 分页查询隐患报告 |
| | |
| | | R pageRota(@RequestBody ComSwRotaPageDTO comSwRotaPageDTO); |
| | | |
| | | /** |
| | | * 根据id查询值班表 |
| | | * @param rotaId 值班表id |
| | | * @return 值班表详情 |
| | | */ |
| | | @GetMapping("/patrolRecord/rota/detail") |
| | | R detailRota(@RequestParam("rotaId") Long rotaId); |
| | | |
| | | /** |
| | | * 新增值班表 |
| | | * |
| | | * @param comSwRotaSaveDTOs 新增参数 |
| | |
| | | @GetMapping("/patrolRecord/rota/getRotaLeaderByDate") |
| | | R getRotaLeaderByDate(@RequestParam(value = "rotaDate") String rotaDate); |
| | | |
| | | /** |
| | | * 批量导入值班表 |
| | | * |
| | | * @param list 值班表集合 |
| | | */ |
| | | @PostMapping("/patrolRecord/rota/import") |
| | | R listSaveSwRotaExcelVO(@RequestBody List<ComSwRotaExcelVO> list, @RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 定时任务检测即将开始的社区活动,并使用订阅消息通知用户 |
| | | */ |
| | | @PostMapping("timedTaskActivityNotice") |
| | | R timedTaskActivityNotice(); |
| | | |
| | | /** |
| | | * 查询社区所有列表 |
| | | * @return 社区列表 |
| | | */ |
| | | @GetMapping("/switch/community/all/list") |
| | | R communitySwitchList(); |
| | | |
| | | /** |
| | | * 根据名字查询所有社区列表 |
| | | * @param name 社区名字 |
| | | * @return 社区列表 |
| | | */ |
| | | @GetMapping("/switch/community/search/list") |
| | | R communitySwitchSearchList(@RequestParam(value = "name") String name); |
| | | |
| | | /** |
| | | * 根据经纬度以及距离搜索附近社区列表 |
| | | * @param communityDTO 请求参数 |
| | | * @return 社区列表 |
| | | */ |
| | | @PostMapping("/switch/community/search/distance/list") |
| | | R communitySwitchSearchDistanceList(@RequestBody SearchCommunityDTO communityDTO); |
| | | |
| | | } |