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