diff --git a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/impl/CalGridIndexServiceImpl.java b/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/impl/CalGridIndexServiceImpl.java index 35c1484992..9a7ab48dc8 100644 --- a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/impl/CalGridIndexServiceImpl.java +++ b/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 result = governAbilityDao.selectAllGridInfoToParty(customerId); if (CollectionUtils.isEmpty(result)){ - throw new RenException("客户【"+customerId+"】未查出网格信息"); + log.warn("客户【"+customerId+"】未查出网格信息"); + return true; } // 网格群众用户数 , 网格党员用户数 List gridUserCountList = userGridMonthlyService.selectGridUserCount(customerId, monthId); @@ -245,7 +246,8 @@ public class CalGridIndexServiceImpl implements CalGridIndexService { List result = governAbilityDao.selectAllGridInfo(customerId); if (CollectionUtils.isEmpty(result)){ - throw new RenException("客户【"+customerId+"】未查出网格信息"); + log.warn("客户【"+customerId+"】未查出网格信息"); + return true; } //网格总议题数目,网格人均议题数目 List gridIssueTotalList = issueExtractService.selectIssueTotal(customerId, monthId);