mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 21:29:02 +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
+4
-2
+4
-2
@@ -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 gte 0">
|
||||||
|
, trigger_status = #{triggerStatus}
|
||||||
|
</if>
|
||||||
WHERE id = #{id}
|
WHERE id = #{id}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user