Update XxlJobInfoMapper.xml

解决调度过程中错误启动后台停止的任务bug
2.5.0
zhangbing-bing 8 months ago committed by GitHub
parent 2f2479d830
commit 69c77bf5d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save