Browse Source

update: 作业区域管理页面添加安全负责人名称和分管领导名称字段信息

zhongwei
liwen 8 months ago
parent
commit
a2a2eb540f
  1. 2
      hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/risk/service/impl/HazardWorkServiceImpl.java

2
hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/risk/service/impl/HazardWorkServiceImpl.java

@ -110,7 +110,7 @@ public class HazardWorkServiceImpl extends BaseServiceImpl<HazardWorkMapper, Haz
} }
Long manageId = record.getManage(); Long manageId = record.getManage();
if (manageId != null) { if (manageId != null) {
R<User> manager = userClient.userInfoById(headId); R<User> manager = userClient.userInfoById(manageId);
if (manager.isSuccess()) { if (manager.isSuccess()) {
hazardWorkVO.setManagerName(manager.getData().getRealName()); hazardWorkVO.setManagerName(manager.getData().getRealName());
} }

Loading…
Cancel
Save