select special_work_permit_id, work_permit_id, licence_num, special_work_type, special_work_data, is_del, create_time, update_time, remarks from t_special_work_permit
insert into t_special_work_permit
work_permit_id,
licence_num,
special_work_type,
special_work_data,
is_del,
create_time,
update_time,
remarks,
#{workPermitId},
#{licenceNum},
#{specialWorkType},
#{specialWorkData},
#{isDel},
#{createTime},
#{updateTime},
#{remarks},
update t_special_work_permit
work_permit_id = #{workPermitId},
licence_num = #{licenceNum},
special_work_type = #{specialWorkType},
special_work_data = #{specialWorkData},
is_del = #{isDel},
create_time = #{createTime},
update_time = #{updateTime},
remarks = #{remarks},
where special_work_permit_id = #{specialWorkPermitId}
delete from t_special_work_permit where special_work_permit_id = #{specialWorkPermitId}
delete from t_special_work_permit where special_work_permit_id in
#{specialWorkPermitId}