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