id AS id, is_delete AS isDelete, gmt_create AS gmtCreate, gmt_modified AS gmtModified, cycle_type AS cycleType, start_time AS startTime, end_time AS endTime, group_ids AS groupIds, name AS name
insert into lz_flow_start(
cycle_type,
start_time,
end_time,
group_ids,
name,
is_delete,
gmt_create,
gmt_modified
)values(
#{ cycleType},
#{ startTime},
#{ endTime},
#{ groupIds},
#{ name},
0,
now(),
now()
)
update
lz_flow_start
is_delete = #{isDelete},
gmt_create = #{gmtCreate},
cycle_type = #{cycleType},
start_time = #{startTime},
end_time = #{endTime},
group_ids = #{groupIds},
name = #{name}
,gmt_modified = now()
where id = #{id}
update
lz_flow_start
set
is_delete = #{isDelete},
gmt_create = #{gmtCreate},
cycle_type = #{cycleType},
start_time = #{startTime},
end_time = #{endTime},
group_ids = #{groupIds},
name = #{name}
,gmt_modified = now()
where id = #{id}
update lz_flow_start set is_delete = 1 where id=#{id} limit 1