Browse Source

Merge remote-tracking branch 'origin/dev_dingV1' into dev_dingV1

master
yinzuomei 3 years ago
parent
commit
94700b6b01
  1. 7
      epmet-module/gov-issue/gov-issue-server/src/main/java/com/epmet/service/impl/IssueServiceImpl.java

7
epmet-module/gov-issue/gov-issue-server/src/main/java/com/epmet/service/impl/IssueServiceImpl.java

@ -2066,13 +2066,14 @@ public class IssueServiceImpl extends BaseServiceImpl<IssueDao, IssueEntity> imp
result.setTotal(allIssueListResultDTOS.size());
}
if (CollectionUtils.isNotEmpty(result.getList())){
result.getList().forEach(l -> {
for (AllIssueListResultDTO l : result.getList()) {
GridInfoCache gridInfo = CustomerOrgRedis.getGridInfo(l.getGridId());
if(null == gridInfo){
throw new EpmetException("查询网格信息失败:"+l.getGridId());
logger.warn("查询网格信息失败:"+l.getGridId());
continue;
}
l.setGridName(gridInfo.getGridNamePath());
});
}
}
return result;
}

Loading…
Cancel
Save