Commit daab955f authored by 王飞's avatar 王飞

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

parent e0f0f7ca
package com.ruoyi.service.impl;
import com.ruoyi.service.StrategyReviewSceneChange;
import com.ruoyi.service.TaskState;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
......
......@@ -83,6 +83,6 @@ public class TaskStateNew implements TaskState, InitializingBean {
@Override
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