修复库位显示报错
This commit is contained in:
parent
968d0fd903
commit
4fe19336cd
@ -78,8 +78,11 @@ public class WmStorageAreaServiceImpl implements IWmStorageAreaService
|
||||
List<WmStorageArea> areaVos1 = wmStorageAreaMapper.getAll();
|
||||
for (WmStorageArea vo : areaVos1) {
|
||||
for (AreaVo vo1 : areaVos)
|
||||
if (vo1.getAttr1().equals(vo.getAreaId().toString()))
|
||||
vo1.setSuperiorName(vo.getAreaName());
|
||||
if (vo.getAreaId().toString().equals("")&&vo1.getAttr1().equals("")){
|
||||
if (vo1.getAttr1().equals(vo.getAreaId().toString()))
|
||||
vo1.setSuperiorName(vo.getAreaName());
|
||||
}
|
||||
|
||||
}
|
||||
return areaVos;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user