修复定时任务新增结果始终为[暂停]状态问题
This commit is contained in:
parent
15abd4d053
commit
53ddd9966a
@ -194,7 +194,6 @@ public class SysJobServiceImpl implements ISysJobService
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public int insertJob(SysJob job) throws SchedulerException, TaskException
|
||||
{
|
||||
job.setStatus(ScheduleConstants.Status.PAUSE.getValue());
|
||||
int rows = jobMapper.insertJob(job);
|
||||
if (rows > 0)
|
||||
{
|
||||
|
@ -177,7 +177,6 @@ export default {
|
||||
"updateCrontabValue", name, value, from;
|
||||
this.crontabValueObj[name] = value;
|
||||
if (from && from !== name) {
|
||||
console.log(`来自组件 ${from} 改变了 ${name} ${value}`);
|
||||
this.changeRadio(name, value);
|
||||
}
|
||||
},
|
||||
|
@ -352,7 +352,7 @@ export default {
|
||||
{ required: true, message: "调用目标字符串不能为空", trigger: "blur" }
|
||||
],
|
||||
cronExpression: [
|
||||
{ required: true, message: "cron执行表达式不能为空", trigger: "blur" }
|
||||
{ required: true, message: "cron执行表达式不能为空", trigger: "blur, change" }
|
||||
]
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user