Browse Source

修改查不到客户网格信息

dev_shibei_match
zxc 5 years ago
parent
commit
0ffcb7d84d
  1. 2
      epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/constant/ExtractConstant.java
  2. 4
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/impl/CalGridIndexServiceImpl.java

2
epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/constant/ExtractConstant.java

@ -32,4 +32,6 @@ public interface ExtractConstant {
String EVALUATE_PERFECT = "perfect";
String CUSTOMER_INFO_NULL = "客户【%s】未查出网格信息";
}

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

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

Loading…
Cancel
Save