insert into emergency_plan_log
id,
del_flag,
gmt_create,
gmt_moditify,
create_uid,
update_uid,
plan_id,
user_uid,
start_create,
remark,
#{id},
#{delFlag},
#{gmtCreate},
#{gmtModitify},
#{createUid},
#{updateUid},
#{planId},
#{userUid},
#{startCreate},
#{remark},
update emergency_plan_log
gmt_moditify = #{gmtModitify},
update_uid = #{updateUid},
plan_id = #{planId},
user_uid = #{userUid},
start_create = #{startCreate},
remark = #{remark},
where id = #{id}
update emergency_plan_log set del_flag = 1 where id = #{id}