select id, dept_id, stake_mark, direction, user_id, start_time, end_time, estimated_end_time, event_level, event_type, event_subclass, event_cause, description, event_state, event_source, event_nature, remark, create_time, update_time, event_source_tips, in_tunnel from dc_event
insert into dc_event
id,
dept_id,
stake_mark,
direction,
user_id,
start_time,
end_time,
estimated_end_time,
event_level,
event_type,
event_subclass,
event_cause,
description,
event_state,
event_source,
event_nature,
remark,
create_time,
update_time,
event_source_tips,
in_tunnel,
#{id},
#{deptId},
#{stakeMark},
#{direction},
#{userId},
#{startTime},
#{endTime},
#{estimatedEndTime},
#{eventLevel},
#{eventType},
#{eventSubclass},
#{eventCause},
#{description},
#{eventState},
#{eventSource},
#{eventNature},
#{remark},
#{createTime},
#{updateTime},
#{eventSourceTips},
#{inTunnel},
update dc_event
dept_id = #{deptId},
stake_mark = #{stakeMark},
direction = #{direction},
user_id = #{userId},
start_time = #{startTime},
end_time = #{endTime},
estimated_end_time = #{estimatedEndTime},
event_level = #{eventLevel},
event_type = #{eventType},
event_subclass = #{eventSubclass},
event_cause = #{eventCause},
description = #{description},
event_state = #{eventState},
event_source = #{eventSource},
event_nature = #{eventNature},
remark = #{remark},
create_time = #{createTime},
update_time = #{updateTime},
event_source_tips = #{eventSourceTips},
in_tunnel = #{inTunnel},
where id = #{id}
delete from dc_event where id = #{id}
delete from dc_event where id in
#{id}