From f8895e8dd74845ccdcab865ac9a2c6578ed8d926 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期四, 05 八月 2021 22:34:05 +0800
Subject: [PATCH] 修改社区通使用人数
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java | 78 +++++++++++++++++++++++++++++++++++++++
1 files changed, 78 insertions(+), 0 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java
index bef7196..52e1c71 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java
@@ -330,6 +330,84 @@
}
/**
+ * 批量导入吸毒人员
+ *
+ * @param list 吸毒人员数据
+ * @param communityId 社区id
+ * @return 导入结果
+ */
+ @PostMapping("population/importDrug")
+ @Transactional(rollbackFor = Exception.class)
+ public R listSavePopulationDrugExcelVO(@RequestBody List<ComMngPopulationDrugExcelVO> list, @RequestParam(value = "communityId") Long communityId){
+ return comMngPopulationService.listSaveDrugPopulation(list, communityId);
+ }
+
+ /**
+ * 批量导入社区矫正人员
+ *
+ * @param list 社区矫正人员数据
+ * @param communityId 社区id
+ * @return 导入结果
+ */
+ @PostMapping("population/importCorrect")
+ @Transactional(rollbackFor = Exception.class)
+ public R listSavePopulationCorrectExcelVO(@RequestBody List<ComMngPopulationCorrectExcelVO> list, @RequestParam(value = "communityId") Long communityId){
+ return comMngPopulationService.listSaveCorrectPopulation(list, communityId);
+ }
+
+ /**
+ * 批量导入重精人员
+ *
+ * @param list 重精人员数据
+ * @param communityId 社区id
+ * @return 导入结果
+ */
+ @Transactional(rollbackFor = Exception.class)
+ @PostMapping("population/importMajor")
+ public R listSavePopulationMajorExcelVO(@RequestBody List<ComMngPopulationMajorExcelVO> list, @RequestParam(value = "communityId") Long communityId){
+ return comMngPopulationService.listSaveMajorPopulation(list, communityId);
+ }
+
+ /**
+ * 批量导入邪教人员
+ *
+ * @param list 邪教人员数据
+ * @param communityId 社区id
+ * @return 导入结果
+ */
+ @PostMapping("population/importCult")
+ @Transactional(rollbackFor = Exception.class)
+ public R listSavePopulationCultExcelVO(@RequestBody List<ComMngPopulationCultExcelVO> list, @RequestParam(value = "communityId") Long communityId){
+ return comMngPopulationService.listSaveCultPopulation(list, communityId);
+ }
+
+ /**
+ * 批量导入刑释人员
+ *
+ * @param list 刑释人员数据
+ * @param communityId 社区id
+ * @return 导入结果
+ */
+ @PostMapping("population/importRehabilitation")
+ @Transactional(rollbackFor = Exception.class)
+ public R listSavePopulationRehabilitationExcelVO(@RequestBody List<ComMngPopulationRehabilitationExcelVO> list, @RequestParam(value = "communityId") Long communityId){
+ return comMngPopulationService.listSaveRehabilitationPopulation(list, communityId);
+ }
+
+ /**
+ * 批量导入重点上访人员
+ *
+ * @param list 重点上访人员数据
+ * @param communityId 社区id
+ * @return 导入结果
+ */
+ @Transactional(rollbackFor = Exception.class)
+ @PostMapping("population/importKey")
+ public R listSavePopulationKeyExcelVO(@RequestBody List<ComMngPopulationKeyExcelVO> list, @RequestParam(value = "communityId") Long communityId){
+ return comMngPopulationService.listSaveKeyPopulation(list, communityId);
+ }
+
+ /**
* 确认导入实有人口(有则更新,无则新建)
*
* @param list 用户信息
--
Gitblit v1.7.1