1、AlertMessage入库修复字段和库表不匹配问题,增加display_id
2、command增加display_id 3、规则、任务、配置增加新建时(批量导入除外)、任务运行状态、审核状态改变时的历史记录
This commit is contained in:
@@ -70,8 +70,15 @@ public class StateChangeService {
|
||||
originalState.getClass().getSimpleName(),
|
||||
newState.getClass().getSimpleName()));
|
||||
|
||||
|
||||
// 这里一定是handle成功的状态,我们再进行task status的修改,如果handle失败,要么返回false,要么抛出异常,不会进入此处
|
||||
return taskService.changeTaskStatus(taskId, stateNum);
|
||||
Boolean isChanged = taskService.changeTaskStatus(taskId, stateNum);
|
||||
//记录状态日志
|
||||
if (isChanged) {
|
||||
taskService.insertTaskStatusLog(taskId);
|
||||
}
|
||||
|
||||
return isChanged;
|
||||
}
|
||||
|
||||
private Boolean checkState(State originalState, State newState) {
|
||||
|
||||
Reference in New Issue
Block a user