Browse Source

#仓库管理修改

zhongwei
yang_shj 1 year ago
parent
commit
36a541193a
  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