|
|
@ -319,7 +319,13 @@ public class PartyMemberLeadServiceImpl implements PartyMemberLeadService { |
|
|
|
public List<PartyUserPointResultDTO> advancedPartymemberRank(AgencyAndNumFormDTO param) { |
|
|
|
if(null == param.getTopNum()) param.setTopNum(NumConstant.TEN); |
|
|
|
PageHelper.startPage(NumConstant.ONE,param.getTopNum()); |
|
|
|
List<PartyUserPointResultDTO> result = screenPartyUserRankDataDao.selectPartymemberPointOrder(param.getAgencyId()); |
|
|
|
List<PartyUserPointResultDTO> result=new ArrayList<>(); |
|
|
|
if(StringUtils.isNotBlank(param.getAreaCode())){ |
|
|
|
log.info("先进排行榜单-先进党员排行按照areaCode查询入参:"+param.getAreaCode()); |
|
|
|
result=screenPartyUserRankDataDao.selectPartymemberPointOrderByAreaCode(param.getAreaCode()); |
|
|
|
}else{ |
|
|
|
result=screenPartyUserRankDataDao.selectPartymemberPointOrder(param.getAgencyId()); |
|
|
|
} |
|
|
|
if(null == result) return new ArrayList<>(); |
|
|
|
return result; |
|
|
|
} |
|
|
|