select job_id, job_name, job_group, invoke_target, cron_expression, misfire_policy, concurrent, status, create_by, create_time, remark
from sys_job
delete from sys_job where job_id = #{jobId}
delete from sys_job where job_id in
#{jobId}
update sys_job
job_name = #{jobName},
job_group = #{jobGroup},
invoke_target = #{invokeTarget},
cron_expression = #{cronExpression},
misfire_policy = #{misfirePolicy},
concurrent = #{concurrent},
status = #{status},
remark = #{remark},
update_by = #{updateBy},
update_time = getdate()
where job_id = #{jobId}
insert into sys_job(
job_id,
job_name,
job_group,
invoke_target,
cron_expression,
misfire_policy,
concurrent,
status,
remark,
create_by,
create_time
)values(
#{jobId},
#{jobName},
#{jobGroup},
#{invokeTarget},
#{cronExpression},
#{misfirePolicy},
#{concurrent},
#{status},
#{remark},
#{createBy},
getdate()
)