Browse Source

集中监控提示优化

zhongwei
ty 8 months ago
parent
commit
96ddb48341
  1. 5
      hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/show/service/impl/AlarmHandleServiceImpl.java

5
hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/show/service/impl/AlarmHandleServiceImpl.java

@ -112,8 +112,8 @@ public class AlarmHandleServiceImpl extends BaseServiceImpl<AlarmHandleMapper, A
}
R r = iFdpDiagnoseClient.setFaultStatusInfo(map);
if (!r.isSuccess()){
log.error("setFaultStatusInfo接口修改处理状态异常参数为:"+param);
throw new ServiceException("修改告警状态异常,请稍后重试!");
log.error("setFaultStatusInfo接口修改处理状态异常,请求数据为:"+map+"\n"+"参数为:"+param+r.getMsg());
// throw new ServiceException("修改告警状态异常,请稍后重试!");
}
}
//开启流程
@ -127,6 +127,7 @@ public class AlarmHandleServiceImpl extends BaseServiceImpl<AlarmHandleMapper, A
R<BladeFlow> result = processClient.startProcessInstanceContainNameByKey(AlarmHandleConstant.dealAlarm, businessKey, processName, variable);
// 流程开启失败
if (!result.isSuccess()) {
log.error("缺陷流程开启失败,错误描述 : " + result.getMsg());
throw new ServiceException("缺陷流程开启失败,错误描述 : " + result.getMsg());
}
param.setProcessInstanceId(result.getData().getProcessInstanceId());

Loading…
Cancel
Save