修复定时任务新增结果始终为[暂停]状态问题

This commit is contained in:
稚屿
2021-09-10 11:42:21 +08:00
parent 15abd4d053
commit 53ddd9966a
3 changed files with 1 additions and 3 deletions

View File

@ -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)
{