Commit 75ff07b2 by huangfusuper

修改告警时机的状态监测

parent 972746f2
......@@ -33,11 +33,11 @@ public class EndAndNotWarningThreadRunHelper extends BaseThreadRunHelper {
/**
* 失败时告警
*/
public static final String FAILURE_DONE = "3";
public static final String FAILURE_DONE = "2";
/**
* 成功时告警
*/
public static final String SUCCESS_DONE = "2";
public static final String SUCCESS_DONE = "3";
/**
* 运行实例操作
*/
......@@ -85,11 +85,11 @@ public class EndAndNotWarningThreadRunHelper extends BaseThreadRunHelper {
break;
default:
log.debug("------工作流{},告警类别不告警-----",runRecording);
//修改为已告警
runRecording.setIsAlarm("0");
runRecordingService.updateRunRecordingById(runRecording);
break;
}
//修改为已告警
runRecording.setIsAlarm("0");
runRecordingService.updateRunRecordingById(runRecording);
});
}else{
return UNIVERSAL_WAIT_TIME;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment