| | |
| | | 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.*; |
| | |
| | | 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 新增数据 |
| | | * |
| | |
| | | @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); |
| | | } |
| | | |
| | | /** |
| | |
| | | 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); |
| | | } |
| | | |
| | | /** |