Update ExecutionJob.java

任务失败了, setIsPause 应该是true吧, true表示暂停
pull/813/head
BestDarkHorse 2023-08-04 10:40:53 +08:00 committed by GitHub
parent f3fb86a699
commit 8324419e83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class ExecutionJob extends QuartzJobBean {
log.setExceptionDetail(ThrowableUtil.getStackTrace(e));
// 任务如果失败了则暂停
if(quartzJob.getPauseAfterFailure() != null && quartzJob.getPauseAfterFailure()){
quartzJob.setIsPause(false);
quartzJob.setIsPause(true);
//更新状态
quartzJobService.updateIsPause(quartzJob);
}