mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 04:39:00 +08:00
fix(xxl-job-admin): 修复XxlJobInfoMapper.xml中trigger_status的条件更新逻辑
#6315 5.8版本 xxl-job运行一次后自动停止
This commit is contained in:
1 parent
c536348d52
commit
86a3340802
1 file changed
+5
-3
+5
-3
@@ -232,9 +232,11 @@
|
||||
UPDATE xxl_job_info
|
||||
SET
|
||||
trigger_last_time = #{triggerLastTime},
|
||||
trigger_next_time = #{triggerNextTime},
|
||||
trigger_status = #{triggerStatus}
|
||||
trigger_next_time = #{triggerNextTime}
|
||||
<if test="triggerStatus gte 0">
|
||||
, trigger_status = #{triggerStatus}
|
||||
</if>
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
</mapper>
|
||||
Reference in new issue
Block a user