lidongdong
2024-06-26 2c47237a314a8965f1b33be140f03eaa3e8804df
springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbCheckUnitMapper.java
@@ -56,5 +56,54 @@
    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("yearTime") String yearTime);
    /**
     * 报到单位统计
     * @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("yearTime") String yearTime);
    /**
     * 报到党员统计-按单位归属统计
     * @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);
    Integer organSumIntegral(@Param("communityIds") List<Long> communityIds,@Param("yearTime") String yearTime);
    Integer pbOrganSumIntegral(@Param("communityIds") List<Long> communityIds,@Param("yearTime") String yearTime);
}