Browse Source

#仓库管理修改

zhongwei
yang_shj 1 year ago
parent
commit
aeee1bf576
  1. 9
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/WindHomeServiceImpl.java

9
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()); subordinate.setLgtd(station.getLgtd());
// 省市编码 // 省市编码
String areaCode = station.getAreaCode(); String areaCode = station.getAreaCode();
if (!StringUtil.isEmpty(areaCode)) { subordinate.setAreaCode(areaCode);
String[] arrCode = areaCode.split(",");
subordinate.setAreaCode(arrCode[arrCode.length-1]);
R<Region> R = sysClient.getRegion(arrCode[1]);
if (R.isSuccess() && ObjectUtil.isNotEmpty(R.getData())) {
subordinate.setAreaName(R.getData().getName());
}
}
// 机构Id // 机构Id
subordinate.setDepartId(entry.getKey().getId()); subordinate.setDepartId(entry.getKey().getId());
// 机构名称 // 机构名称

Loading…
Cancel
Save