From 48a703dec596b5d2c1b04b0b4f7ed0f28c1ca898 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期一, 13 十一月 2023 18:00:50 +0800
Subject: [PATCH] 新增社区共建评论模块2

---
 springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbCheckUnitMapper.java |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbCheckUnitMapper.java b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbCheckUnitMapper.java
index 36c50e5..7cae936 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbCheckUnitMapper.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbCheckUnitMapper.java
@@ -56,5 +56,48 @@
     List<ComPbCheckUnitVo> queryAllByList(@Param("dto") PageComPbCheckUnitDto comPbCheckUnit);
 
     Long selectCommunityId(@Param("area") String area,@Param("town")String town,@Param("community")String community);
+
+    /**
+     * 报到单位统计-顶部数据
+     * @param communityIds
+     * @param belongTo
+     * @param choice
+     * @return
+     */
+    PbCheckUnitStatisticsVo unitStatisticsTop(@Param("communityIds") List<Long> communityIds, @Param("belongTo") String belongTo, @Param("choice") String choice, @Param("unitIds")  Long[] unitIds);
+
+    /**
+     * 报到单位统计
+     * @param commonDto
+     * @param page
+     * @return
+     */
+    IPage<PbCheckUnitStatisticsVo> unitStatistics(@Param("commonDto") PagePbCheckUnitCommonDto commonDto, @Param("page") Page page);
+
+    /**
+     * 报到党员统计-顶部数据
+     * @param communityIds
+     * @param belongTo
+     * @param choice
+     * @param checkUnitId
+     * @return
+     */
+    PbCheckUnitStatisticsVo pbStatisticsTop(@Param("communityIds") List<Long> communityIds, @Param("belongTo") String belongTo, @Param("choice") String choice, @Param("checkUnitId") Long checkUnitId, @Param("unitIds")Long[] unitIds);
+
+    /**
+     * 报到党员统计-按单位归属统计
+     * @param commonDto
+     * @param page
+     * @return
+     */
+    IPage<PbCheckUnitStatisticsVo> pbStatisticsBelong(@Param("commonDto") PagePbCheckUnitCommonDto commonDto, @Param("page") Page page);
+
+    /**
+     * 报到党员统计-按单位统计
+     * @param commonDto
+     * @param page
+     * @return
+     */
+    IPage<ComPbCheckUnitVo> pbStatisticsUnit(@Param("commonDto") PagePbCheckUnitCommonDto commonDto, @Param("page") Page page);
 }
 

--
Gitblit v1.7.1