select id, flow_def_id, status, start_time, end_time, remark,
create_by, create_time, update_by, update_time
from wcs_flow_instance
insert into wcs_flow_instance(
flow_def_id,
status,
start_time,
end_time,
remark,
create_by,
create_time
)values(
#{flowDefId},
#{status},
#{startTime},
#{endTime},
#{remark},
#{createBy},
sysdate()
)
update wcs_flow_instance
flow_def_id = #{flowDefId},
status = #{status},
start_time = #{startTime},
end_time = #{endTime},
remark = #{remark},
update_by = #{updateBy},
update_time = sysdate()
where id = #{id}
delete from wcs_flow_instance where id = #{id}
delete from wcs_flow_instance where id in
#{id}