From 4fc7d65501820045e84297bcaf6ac5a06329112a Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期一, 02 八月 2021 13:33:47 +0800
Subject: [PATCH] 加入日志打印
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java | 26 ++++++++++++++++++++++++--
1 files changed, 24 insertions(+), 2 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 17da062..bef7196 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
@@ -119,7 +119,7 @@
* @return
*/
@PostMapping("/car/export")
- public R exportRealCar(ExportComMngCarExcelDTO exportComMngCarExcelDTO){
+ public R exportRealCar(@RequestBody ExportComMngCarExcelDTO exportComMngCarExcelDTO){
return comMngCarService.exportRealCar(exportComMngCarExcelDTO);
}
@@ -132,6 +132,17 @@
@PostMapping("/company/page")
public R pageQueryComMngRealCompany(@RequestBody PageComMngRealCompanyDTO pageComMngRealCompanyDTO) {
return comMngRealCompanyService.pageQueryComMngRealCompany(pageComMngRealCompanyDTO);
+ }
+
+ /**
+ * 社区后台实有单位统计
+ *
+ * @param communityId 社区id
+ * @return 统计结果
+ */
+ @PostMapping("/company/statistics")
+ public R getComMngRealCompanyTotalByAdmin(@RequestParam("communityId") Long communityId){
+ return comMngRealCompanyService.getComMngRealCompanyTotalByAdmin(communityId);
}
/**
@@ -314,7 +325,7 @@
*/
@PostMapping("/population/import")
@Transactional(rollbackFor = Exception.class)
- public R listSavePopulationExcelVO(@RequestBody List<ComMngPopulationServeExcelVO> list, @RequestParam(value = "communityId") Long communityId) throws Exception {
+ public R listSavePopulationExcelVO(@RequestBody List<ComMngPopulationServeExcelVO> list, @RequestParam(value = "communityId") Long communityId){
return comMngPopulationService.listSavePopulation(list, communityId);
}
@@ -410,6 +421,17 @@
}
/**
+ * 根据小区id查询实有人口
+ *
+ * @param villageId 小区id
+ * @return 查询结果
+ */
+ @PostMapping("/population/getListByVillageId")
+ R getPopulationListByVillageId(@RequestParam(value = "villageId") Long villageId){
+ return comMngPopulationService.getPopulationListByVillageId(villageId);
+ }
+
+ /**
* 编辑实有人口
*
* @param populationEditDTO
--
Gitblit v1.7.1