清空配置并失效所有定时任务
This commit is contained in:
@@ -79,4 +79,8 @@ public interface SchedulerDao extends CrudDao<ScheduleCfg> {
|
||||
*/
|
||||
int updateScheduleExceNew(ScheduleExceInfo exceInfo);
|
||||
|
||||
/**
|
||||
* 失效所有定时任务
|
||||
*/
|
||||
void inValidAllSchedule();
|
||||
}
|
||||
@@ -364,6 +364,12 @@
|
||||
compile_Id = #{compileId} and issue_status = #{issueStatus}
|
||||
</update>
|
||||
|
||||
|
||||
<update id="inValidAllSchedule">
|
||||
update schedule_cfg
|
||||
<set>
|
||||
del_flag = 0
|
||||
</set>
|
||||
WHERE del_flag =1
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user