Merge pull request #3619 from zhangbing-bing/master

解决调度中心调度过程中在后台停止的job被错误启动问题(优化方案)
2.5.0
许雪里 8 months ago committed by GitHub
commit 5f0e0cd78b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -232,8 +232,10 @@
UPDATE xxl_job_info UPDATE xxl_job_info
SET SET
trigger_last_time = #{triggerLastTime}, trigger_last_time = #{triggerLastTime},
trigger_next_time = #{triggerNextTime}, trigger_next_time = #{triggerNextTime}
trigger_status = #{triggerStatus} <if test="triggerStatus == 0">
, trigger_status = #{triggerStatus}
</if>
WHERE id = #{id} WHERE id = #{id}
AND trigger_status = 1 AND trigger_status = 1
</update> </update>

Loading…
Cancel
Save