diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/WindHomeServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/WindHomeServiceImpl.java index cf2e745..55da5b5 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/WindHomeServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/WindHomeServiceImpl.java @@ -238,14 +238,7 @@ public class WindHomeServiceImpl implements WindHomeService { subordinate.setLgtd(station.getLgtd()); // 省市编码 String areaCode = station.getAreaCode(); - if (!StringUtil.isEmpty(areaCode)) { - String[] arrCode = areaCode.split(","); - subordinate.setAreaCode(arrCode[arrCode.length-1]); - R R = sysClient.getRegion(arrCode[1]); - if (R.isSuccess() && ObjectUtil.isNotEmpty(R.getData())) { - subordinate.setAreaName(R.getData().getName()); - } - } + subordinate.setAreaCode(areaCode); // 机构Id subordinate.setDepartId(entry.getKey().getId()); // 机构名称