代码提交

This commit is contained in:
liang.chao 2025-09-18 16:04:35 +08:00
parent d64b672217
commit e2abcc0df8
1 changed files with 5 additions and 4 deletions

View File

@ -81,10 +81,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</update>
<update id="updatecronExpression">
UPDATE da_ky_sys_job
SET cron_str = #{cronStr},
SET cron_expression = #{cronStr}
where
invoke_target = CASE
WHEN #{archivedType} = 1 THEN 'archivedSetting.regularly'
WHEN #{archivedType} = 2 THEN 'archivedSetting.noRegularly'
WHEN #{archivedType} = '1' THEN 'archivedSetting.regularly'
WHEN #{archivedType} = '2' THEN 'archivedSetting.noRegularly'
ELSE invoke_target END
</update>
@ -94,7 +95,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
archived_type AS archivedType,
cycle,
`time`,
weekOfDay,
week_of_day AS weekOfDay,
create_time AS createTime,
update_time AS updateTime,
use_status AS useStatus,