From 1b98564e7dcc63a60d74b27c82d87cc5e40aed84 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期三, 10 七月 2024 11:26:55 +0800 Subject: [PATCH] 花城 修改问题清单打卡时间限制 --- springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/api/ComPbCheckUnitController.java | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/api/ComPbCheckUnitController.java b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/api/ComPbCheckUnitController.java index f609c78..ed4fd7c 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/api/ComPbCheckUnitController.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/api/ComPbCheckUnitController.java @@ -1,6 +1,7 @@ package com.panzhihua.service_dangjian.api; import com.panzhihua.common.model.dtos.partybuilding.ComPbCheckUserDTO; +import com.panzhihua.common.model.vos.TreeListVO; import com.panzhihua.common.model.vos.partybuilding.excel.ComPbCheckUnitExcelVO; import com.panzhihua.service_dangjian.service.ComPbCheckUnitService; import com.panzhihua.common.model.dtos.common.*; @@ -40,6 +41,15 @@ return this.comPbCheckUnitService.queryByPage(comPbCheckUnit); } + @PostMapping("/treeList") + public R treeList(@RequestBody TreeListVO treeListVO){ + return this.comPbCheckUnitService.treeList(treeListVO); + } + + @GetMapping("/orgList") + public R orgList(){ + return this.comPbCheckUnitService.orgList(); + } /** * description add 新增数据 * @@ -141,8 +151,9 @@ public R unitStatisticsTop(@RequestParam(value = "communityId", required = false) Long communityId, @RequestParam(value = "belongTo") String belongTo, @RequestParam(value = "belongTo", required = false) String choice, - @RequestParam(value = "unitIds", required = false) Long[] unitIds) { - return comPbCheckUnitService.unitStatisticsTop(communityId, belongTo, choice,unitIds); + @RequestParam(value = "unitIds", required = false) Long[] unitIds, + @RequestParam(value = "yearTime",required = false) String yearTime) { + return comPbCheckUnitService.unitStatisticsTop(communityId, belongTo, choice,unitIds,yearTime); } /** @@ -168,8 +179,9 @@ @RequestParam(value = "belongTo") String belongTo, @RequestParam(value = "choice", required = false) String choice, @RequestParam(value = "checkUnitId", required = false) Long checkUnitId, - @RequestParam(value = "unitIds", required = false) Long[] unitIds) { - return comPbCheckUnitService.pbStatisticsTop(communityId, belongTo, choice, checkUnitId,unitIds); + @RequestParam(value = "unitIds", required = false) Long[] unitIds, + @RequestParam(value = "yearTime",required = false) String yearTime) { + return comPbCheckUnitService.pbStatisticsTop(communityId, belongTo, choice, checkUnitId,unitIds,yearTime); } /** -- Gitblit v1.7.1