Browse Source

Merge remote-tracking branch 'origin/master'

zhongwei
tyty 1 year ago
parent
commit
92a58b4c2f
  1. 4
      hzims-service/assets/src/main/java/com/hnac/hzims/spare/service/impl/WtSpWarehouseServiceImpl.java

4
hzims-service/assets/src/main/java/com/hnac/hzims/spare/service/impl/WtSpWarehouseServiceImpl.java

@ -78,8 +78,8 @@ public class WtSpWarehouseServiceImpl extends BaseServiceImpl<WtSpWarehouseMappe
warehouseVO.setAffiliatedUnit(entity.getAffiliatedUnit()); warehouseVO.setAffiliatedUnit(entity.getAffiliatedUnit());
warehouseVO.setAffiliatedName(entity.getAffiliatedName()); warehouseVO.setAffiliatedName(entity.getAffiliatedName());
warehouseVO.setCreateDept(entity.getCreateDept()); warehouseVO.setCreateDept(entity.getCreateDept());
if(null!=entity.getCreateUser()){ if(null!=entity.getManager()){
User manager = userClient.userInfoById(entity.getCreateUser()).getData(); User manager = userClient.userInfoById(entity.getManager()).getData();
warehouseVO.setManagerName(ObjectUtil.isNotEmpty(manager) ? manager.getName() : null); warehouseVO.setManagerName(ObjectUtil.isNotEmpty(manager) ? manager.getName() : null);
} }
warehouseVO.setStatus(entity.getStatus()); warehouseVO.setStatus(entity.getStatus());

Loading…
Cancel
Save