|
|
@ -138,8 +138,10 @@ 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()); |
|
|
|
R<Void> projectResult = deptClient.deleteDeptById(stationEntity.getRefDept()); |
|
|
|
deptClient.deleteDeptById(stationEntity.getRefDept()); |
|
|
|
if(!projectResult.isSuccess()) { |
|
|
|
|
|
|
|
logger.info("hzims-operational:station:removeStation", stationEntity.getRefDept() + "所属机构删除失败,报错信息为:" + projectResult.getMsg()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// 删除智能诊断站点
|
|
|
|
// 删除智能诊断站点
|
|
|
|
questionClient.deleteStationInfo(stationEntity.getCode()); |
|
|
|
questionClient.deleteStationInfo(stationEntity.getCode()); |
|
|
|