| | |
| | | return this.comPbCheckUnitService.importCheckUnit(list,communityId,userId); |
| | | } |
| | | |
| | | /** |
| | | * 报到单位统计-顶部数据 |
| | | * @param communityId |
| | | * @param belongTo |
| | | * @return |
| | | */ |
| | | @GetMapping("/statistics/top") |
| | | public R unitStatisticsTop(@RequestParam(value = "communityId", required = false) Long communityId, |
| | | @RequestParam(value = "belongTo") String belongTo) { |
| | | return comPbCheckUnitService.unitStatisticsTop(communityId, belongTo); |
| | | } |
| | | |
| | | /** |
| | | * 报到单位统计 |
| | | * @param commonDto |
| | | * @return |
| | | */ |
| | | @PostMapping("/statistics") |
| | | public R unitStatistics(@RequestBody PagePbCheckUnitCommonDto commonDto) { |
| | | return comPbCheckUnitService.unitStatistics(commonDto); |
| | | } |
| | | |
| | | /** |
| | | * 报到党员统计-顶部数据 |
| | | * @param communityId |
| | | * @param belongTo |
| | | * @return |
| | | */ |
| | | @GetMapping("/pbStatistics/top") |
| | | public R pbStatisticsTop(@RequestParam(value = "communityId", required = false) Long communityId, |
| | | @RequestParam(value = "belongTo") String belongTo) { |
| | | return comPbCheckUnitService.pbStatisticsTop(communityId, belongTo); |
| | | } |
| | | |
| | | /** |
| | | * 报到党员统计-按单位归属统计 |
| | | * @param commonDto |
| | | * @return |
| | | */ |
| | | @PostMapping("/pbStatistics/belong") |
| | | public R pbStatisticsBelong(@RequestBody PagePbCheckUnitCommonDto commonDto) { |
| | | return comPbCheckUnitService.pbStatisticsBelong(commonDto); |
| | | } |
| | | |
| | | /** |
| | | * 报到党员统计-按单位统计 |
| | | * @param commonDto |
| | | * @return |
| | | */ |
| | | @PostMapping("/pbStatistics/unit") |
| | | public R pbStatisticsUnit(@RequestBody PagePbCheckUnitCommonDto commonDto) { |
| | | return comPbCheckUnitService.pbStatisticsUnit(commonDto); |
| | | } |
| | | } |
| | | |