Commit 7a270cc4 authored by 王飞's avatar 王飞

Merge branch 'wangfei' into 'dev'

1、修复新建任务时状态错误的bug

See merge request !81
parents 1bc2f4ec daab955f
package com.ruoyi.service.impl; package com.ruoyi.service.impl;
import com.ruoyi.service.StrategyReviewSceneChange;
import com.ruoyi.service.TaskState; import com.ruoyi.service.TaskState;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
......
...@@ -83,6 +83,6 @@ public class TaskStateNew implements TaskState, InitializingBean { ...@@ -83,6 +83,6 @@ public class TaskStateNew implements TaskState, InitializingBean {
@Override @Override
public void afterPropertiesSet() throws Exception { public void afterPropertiesSet() throws Exception {
taskStateContext.putResource(Task.TASK_STATUS_PENDING, applicationContext.getBean(this.getClass())); taskStateContext.putResource(Task.TASK_STATUS_NEW, applicationContext.getBean(this.getClass()));
} }
} }
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