Browse Source

修改查不到客户网格信息

master
zxc 5 years ago
parent
commit
69cc574f68
  1. 6
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/impl/CalGridIndexServiceImpl.java

6
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/impl/CalGridIndexServiceImpl.java

@ -91,7 +91,8 @@ public class CalGridIndexServiceImpl implements CalGridIndexService {
public Boolean calGridIndexPartyAbility(String customerId, String monthId) {
List<PartyAbilityGridMonthlyFormDTO> result = governAbilityDao.selectAllGridInfoToParty(customerId);
if (CollectionUtils.isEmpty(result)){
throw new RenException("客户【"+customerId+"】未查出网格信息");
log.warn("客户【"+customerId+"】未查出网格信息");
return true;
}
// 网格群众用户数 , 网格党员用户数
List<GridUserCountResultDTO> gridUserCountList = userGridMonthlyService.selectGridUserCount(customerId, monthId);
@ -245,7 +246,8 @@ public class CalGridIndexServiceImpl implements CalGridIndexService {
List<GovernAbilityGridMonthlyFormDTO> result = governAbilityDao.selectAllGridInfo(customerId);
if (CollectionUtils.isEmpty(result)){
throw new RenException("客户【"+customerId+"】未查出网格信息");
log.warn("客户【"+customerId+"】未查出网格信息");
return true;
}
//网格总议题数目,网格人均议题数目
List<GridIssueCountResultDTO> gridIssueTotalList = issueExtractService.selectIssueTotal(customerId, monthId);

Loading…
Cancel
Save