Browse Source

加了个网格

dev
zxc 3 years ago
parent
commit
5c6b538bce
  1. 2
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcEpidemicSpecialAttentionServiceImpl.java

2
epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcEpidemicSpecialAttentionServiceImpl.java

@ -173,11 +173,13 @@ public class IcEpidemicSpecialAttentionServiceImpl extends BaseServiceImpl<IcEpi
} }
if (CollectionUtils.isNotEmpty(result.getList())){ if (CollectionUtils.isNotEmpty(result.getList())){
result.getList().forEach(r -> { result.getList().forEach(r -> {
if (StringUtils.isNotBlank(r.getGridId())){
GridInfoCache gridInfo = CustomerOrgRedis.getGridInfo(r.getGridId()); GridInfoCache gridInfo = CustomerOrgRedis.getGridInfo(r.getGridId());
if (null == gridInfo){ if (null == gridInfo){
throw new EpmetException("查询网格失败:"+r.getGridId()); throw new EpmetException("查询网格失败:"+r.getGridId());
} }
r.setGridName(gridInfo.getGridNamePath()); r.setGridName(gridInfo.getGridNamePath());
}
}); });
} }
} }

Loading…
Cancel
Save