| | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import com.panzhihua.common.model.dtos.community.PageMemberForInviteDTO; |
| | | import com.panzhihua.common.model.dtos.partybuilding.PageComDataStatisticsMemberDto; |
| | | import com.panzhihua.common.model.vos.PartyMemberListExcelVO; |
| | | import com.panzhihua.common.model.vos.partybuilding.*; |
| | |
| | | /** |
| | | * 根据id查询党员信息 |
| | | * @param id 主键id |
| | | * @param areaCode |
| | | * @return 党员信息 |
| | | */ |
| | | PartyBuildingMemberVO queryById(@Param("id") Long id); |
| | | PartyBuildingMemberVO queryById(@Param("id") Long id, @Param("areaCode") String areaCode); |
| | | |
| | | /** |
| | | * 分页查询党员数据统计 |
| | |
| | | * @param orgIds 党组织id集合 |
| | | * @param startTime 查询开始时间 |
| | | * @param endTime 查询结束时间 |
| | | * @param areaCode |
| | | * @return 社区党组织左下统计数据 |
| | | */ |
| | | ComDataStatisticsOrgVo getOrgDataStatisticsLeftDown(@Param("communityId") Long communityId,@Param("orgIds") List<Long> orgIds |
| | | ,@Param("startTime") String startTime,@Param("endTime") String endTime); |
| | | ComDataStatisticsOrgVo getOrgDataStatisticsLeftDown(@Param("communityId") Long communityId, @Param("orgIds") List<Long> orgIds |
| | | , @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("areaCode") String areaCode); |
| | | |
| | | /** |
| | | * 分页查询社区党组织下党员 |
| | | * @param page 分页参数 |
| | | * @param communityId 社区id |
| | | * @param orgIds 党组织id集合 |
| | | * @param areaCode |
| | | * @return 党员列表 |
| | | */ |
| | | IPage<PartyBuildingMemberVO> getOrgDataStatisticsMember(Page page,@Param("communityId") Long communityId,@Param("orgIds") List<Long> orgIds); |
| | | IPage<PartyBuildingMemberVO> getOrgDataStatisticsMember(@Param("page") Page page, |
| | | @Param("communityId") Long communityId, |
| | | @Param("orgIds") List<Long> orgIds, |
| | | @Param("areaCode") String areaCode); |
| | | |
| | | /** |
| | | * 查询社区党组织下某个时间段统计数据 |
| | |
| | | * @param endDate 查询结束时间 |
| | | * @return 社区党组织下某个时间段统计数据 |
| | | */ |
| | | Map<String,Object> getOrgDataStatisticsRightDown(@Param("communityId") Long communityId,@Param("orgIds") List<Long> orgIds,@Param("startDate") String startDate,@Param("endDate") String endDate); |
| | | Map<String,Object> getOrgDataStatisticsRightDown(@Param("communityId") Long communityId, |
| | | @Param("orgIds") List<Long> orgIds, |
| | | @Param("startDate") String startDate, |
| | | @Param("endDate") String endDate); |
| | | |
| | | /** |
| | | * 查询党组织表头统计数据 |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | List<PartyBuildingMemberVO> getDetailByApp(Long id); |
| | | PartyBuildingMemberVO getDetailByApp(Long id); |
| | | |
| | | PartyBuildingMemberVO selectDetail(Long userId); |
| | | PartyBuildingMemberVO selectDetail(@Param("phone") String phone,@Param("type")Integer type); |
| | | |
| | | /** |
| | | * 分页查询注册党员列表 |
| | | * @param page |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | IPage<PartyBuildingMemberVO> pageRegisterMember(@Param("page") Page page, @Param("dto") PageMemberForInviteDTO dto); |
| | | |
| | | @Select("SELECT caa.community_id FROM com_act caa WHERE caa.`name` = ( select ca.`name` FROM com_act ca WHERE ca.community_id =#{id})") |
| | | List<Long> selectIds(@Param("id") Long id); |
| | | |
| | | /** |
| | | * 根据区域名称查询社区id |
| | | * @param area |
| | | * @return |
| | | */ |
| | | @Select("select distinct community_id from com_area_town_community where area=#{area}") |
| | | List<Long> selectDistinctCommunityId(@Param("area") String area); |
| | | |
| | | } |