From a582839c97b0b5ed9af0399560a82d3aab6e74ea Mon Sep 17 00:00:00 2001 From: tangxiaobao <303826152@qq.com> Date: 星期二, 20 七月 2021 14:08:54 +0800 Subject: [PATCH] 社区后台基础数据库bug修改 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 53 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 2d2984f..2cecb93 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 @@ -4,6 +4,7 @@ import com.panzhihua.common.model.dtos.user.PageInputUserDTO; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.community.*; +import com.panzhihua.common.model.vos.user.ComMngTagVO; import com.panzhihua.common.model.vos.user.UserElectronicFileVO; import com.panzhihua.common.validated.AddGroup; import com.panzhihua.service_community.service.*; @@ -112,6 +113,17 @@ } /** + * 车辆导出 + * + * @param exportComMngCarExcelDTO + * @return + */ + @PostMapping("/car/export") + public R exportRealCar(ExportComMngCarExcelDTO exportComMngCarExcelDTO){ + return comMngCarService.exportRealCar(exportComMngCarExcelDTO); + } + + /** * 社区后台实有单位管理列表 * * @param pageComMngRealCompanyDTO @@ -120,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); } /** @@ -431,6 +454,36 @@ } /** + * 基础数据》特殊群体》分页查询标签列表 + * @param comMngUserTagDTO + * @return + */ + @PostMapping("/special/tags/page") + public R specialInputUserTags(@RequestBody PageInputUserDTO comMngUserTagDTO){ + return comMngPopulationService.specialInputUserTags(comMngUserTagDTO); + } + + /** + * 新增或修改特殊群体标签 + * @param comMngTagVO + * @return + */ + @PostMapping("/special/tags/save") + public R saveSpecialInputUserTags(@RequestBody ComMngTagVO comMngTagVO){ + return comMngPopulationService.saveSpecialInputUserTags(comMngTagVO); + } + + /** + * 删除特殊群体标签 + * @param id + * @return + */ + @PostMapping("/special/tags/delete") + public R deleteSpecialInputUserTags(@RequestParam(value = "id") Long id){ + return comMngPopulationService.deleteSpecialInputUserTags(id); + } + + /** * 编辑实有人口_电子档案 * * @param userElectronicFileVO -- Gitblit v1.7.1