From 5aa0c96c5bee86ca8d121b90a0a31ae7416d3df9 Mon Sep 17 00:00:00 2001 From: luoxinwu <934743099@qq.com> Date: 星期五, 29 十二月 2023 10:55:18 +0800 Subject: [PATCH] bug --- springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/api/ComPbCheckUnitController.java | 16 ++++++++++++---- 1 files changed, 12 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 7acc80f..16c71ef 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.*; @@ -38,6 +39,11 @@ @PostMapping("/page") public R queryByPage(@RequestBody PageComPbCheckUnitDto comPbCheckUnit) { return this.comPbCheckUnitService.queryByPage(comPbCheckUnit); + } + + @PostMapping("/treeList") + public R treeList(@RequestBody TreeListVO treeListVO){ + return this.comPbCheckUnitService.treeList(treeListVO); } /** @@ -140,8 +146,9 @@ @GetMapping("/statistics/top") public R unitStatisticsTop(@RequestParam(value = "communityId", required = false) Long communityId, @RequestParam(value = "belongTo") String belongTo, - @RequestParam(value = "belongTo", required = false) String choice) { - return comPbCheckUnitService.unitStatisticsTop(communityId, belongTo, choice); + @RequestParam(value = "belongTo", required = false) String choice, + @RequestParam(value = "unitIds", required = false) Long[] unitIds) { + return comPbCheckUnitService.unitStatisticsTop(communityId, belongTo, choice,unitIds); } /** @@ -166,8 +173,9 @@ public R pbStatisticsTop(@RequestParam(value = "communityId", required = false) Long communityId, @RequestParam(value = "belongTo") String belongTo, @RequestParam(value = "choice", required = false) String choice, - @RequestParam(value = "checkUnitId", required = false) Long checkUnitId) { - return comPbCheckUnitService.pbStatisticsTop(communityId, belongTo, choice, checkUnitId); + @RequestParam(value = "checkUnitId", required = false) Long checkUnitId, + @RequestParam(value = "unitIds", required = false) Long[] unitIds) { + return comPbCheckUnitService.pbStatisticsTop(communityId, belongTo, choice, checkUnitId,unitIds); } /** -- Gitblit v1.7.1