代码提交
This commit is contained in:
parent
d64b672217
commit
e2abcc0df8
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue