From fa2fb4d1985e71b6bdd04ed012ed776d7104f7f4 Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期二, 26 七月 2022 14:42:20 +0800 Subject: [PATCH] 双争双评优化 --- springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/service/impl/ComPbCheckUnitServiceImpl.java | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 55 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/service/impl/ComPbCheckUnitServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/service/impl/ComPbCheckUnitServiceImpl.java index 0259658..529c53e 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/service/impl/ComPbCheckUnitServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/service/impl/ComPbCheckUnitServiceImpl.java @@ -5,7 +5,6 @@ import com.google.common.collect.Lists; import com.panzhihua.common.enums.ComPbCheckUnitTypeEnum; import com.panzhihua.common.model.vos.common.ComPbCheckUnitVo; -import com.panzhihua.common.model.vos.partybuilding.PartyBuildingMemberVO; import com.panzhihua.common.model.vos.partybuilding.excel.ComPbCheckUnitErrorExcelVO; import com.panzhihua.common.model.vos.partybuilding.excel.ComPbCheckUnitExcelVO; import com.panzhihua.common.utlis.StringUtils; @@ -237,4 +236,59 @@ } return R.ok(); } + + /** + * 报到单位统计-顶部数据 + * @param communityId + * @param belongTo + * @param choice + * @return + */ + @Override + public R unitStatisticsTop(Long communityId, String belongTo, String choice) { + return R.ok(this.baseMapper.unitStatisticsTop(communityId, belongTo, choice)); + } + + /** + * 报到单位统计 + * @param commonDto + * @return + */ + @Override + public R unitStatistics(PagePbCheckUnitCommonDto commonDto) { + return R.ok(this.baseMapper.unitStatistics(commonDto, new Page(commonDto.getPageNum(), commonDto.getPageSize()))); + } + + /** + * 报到党员统计-顶部数据 + * @param communityId + * @param belongTo + * @param choice + * @param checkUnitId + * @return + */ + @Override + public R pbStatisticsTop(Long communityId, String belongTo, String choice, Long checkUnitId) { + return R.ok(this.baseMapper.pbStatisticsTop(communityId, belongTo, choice, checkUnitId)); + } + + /** + * 报到党员统计-按单位归属统计 + * @param commonDto + * @return + */ + @Override + public R pbStatisticsBelong(PagePbCheckUnitCommonDto commonDto) { + return R.ok(this.baseMapper.pbStatisticsBelong(commonDto, new Page(commonDto.getPageNum(), commonDto.getPageSize()))); + } + + /** + * 报到党员统计-按单位统计 + * @param commonDto + * @return + */ + @Override + public R pbStatisticsUnit(PagePbCheckUnitCommonDto commonDto) { + return R.ok(this.baseMapper.pbStatisticsUnit(commonDto, new Page(commonDto.getPageNum(), commonDto.getPageSize()))); + } } -- Gitblit v1.7.1