select id, instance_id, node_id, node_type, status, input, output,
error_msg, start_time, end_time, create_by, create_time
from wcs_flow_node_log
insert into wcs_flow_node_log(
instance_id,node_id,node_type,status,input,output,error_msg,start_time,end_time,create_by,
create_time
)values(
#{instanceId},#{nodeId},#{nodeType},#{status},#{input},#{output},#{errorMsg},#{startTime},#{endTime},#{createBy},
sysdate()
)
update wcs_flow_node_log
status = #{status},input = #{input},output = #{output},error_msg = #{errorMsg},start_time = #{startTime},end_time = #{endTime},
where id = #{id}
delete from wcs_flow_node_log where id = #{id}
delete from wcs_flow_node_log where id in
#{id}
delete from wcs_flow_node_log where instance_id = #{instanceId}