insert into emergency_team
id,
del_flag,
gmt_create,
gmt_moditify,
create_uid,
update_uid,
principal_uid,
principal_department_id,
team_level,
team_name,
principal_phone,
telephone_number,
team_desc,
#{id},
#{delFlag},
#{gmtCreate},
#{gmtModitify},
#{createUid},
#{updateUid},
#{principalUid},
#{principalDepartmentId},
#{teamLevel},
#{teamName},
#{principalPhone},
#{telephoneNumber},
#{teamDesc},
update emergency_team
gmt_moditify = #{gmtModitify},
update_uid = #{updateUid},
principal_uid = #{principalUid},
principal_department_id = #{principalDepartmentId},
team_level = #{teamLevel},
team_name = #{teamName},
principal_phone = #{principalPhone},
telephone_number = #{telephoneNumber},
team_desc = #{teamDesc},
where id = #{id}
update emergency_team set del_flag = 1 where id = #{teamId}