Browse Source

# 站点所属机构删除错误日志打印

zhongwei
haungxing 2 years ago
parent
commit
f4be103efb
  1. 1
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java

1
hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java

@ -138,6 +138,7 @@ public class StationServiceImpl extends BaseServiceImpl<StationMapper, StationEn
// 删除所属机构 // 删除所属机构
R<Dept> deptResult = sysClient.getDept(stationEntity.getRefDept()); R<Dept> deptResult = sysClient.getDept(stationEntity.getRefDept());
if (deptResult.isSuccess() && ObjectUtil.isNotEmpty(deptResult.getData())) { if (deptResult.isSuccess() && ObjectUtil.isNotEmpty(deptResult.getData())) {
logger.error("hzims-operational:station:removeStation", stationEntity.getRefDept() + "所属机构删除失败,报错信息为:" + dataDelete.getMsg());
deptClient.deleteDeptById(stationEntity.getRefDept()); deptClient.deleteDeptById(stationEntity.getRefDept());
} }
// 删除智能诊断站点 // 删除智能诊断站点

Loading…
Cancel
Save