select id, pic_url, celebrate_date, user_id, user_name, police_no, police_type, tel,status, email, del_flag,sex, operator_type, certificate_type,
certificate_name, certificate_no, certificate_file_id, scene_type, scene_name , create_by,
create_time, update_by, update_time, remark, plan_time, app_id, dept_id
from uav_operator
select LAST_INSERT_ID()
insert into uav_operator
user_id,
user_Name,
police_no,
police_type,
tel,
del_flag,
create_by,
create_time,
update_by,
update_time,
remark,
plan_time,
status,
email,
sex,
operator_type,
certificate_type,
certificate_name,
certificate_no,
certificate_file_id,
scene_type,
scene_name,
app_id,
dept_id,
pic_url,
celebrate_date,
job_type,
#{userId},
#{userName},
#{policeNo},
#{policeType},
#{tel},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
#{planTime},
#{status},
#{email},
#{sex},
#{operatorType},
#{certificateType},
#{certificateName},
#{certificateNo},
#{certificateFileId},
#{sceneType},
#{sceneName},
#{appId},
#{deptId},
#{picUrl},
#{celebrateDate},
#{jobType},
update uav_operator
user_id = #{userId},
user_Name = #{userName},
police_no = #{policeNo},
police_type = #{policeType},
tel = #{tel},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
plan_time = #{planTime},
status = #{status},
email = #{email},
sex = #{sex},
operator_type = #{operatorType},
certificate_type = #{certificateType},
certificate_name = #{certificateName},
certificate_no = #{certificateNo},
certificate_file_id = #{certificateFileId},
scene_type = #{sceneType},
scene_name = #{sceneName},
app_id = #{appId},
dept_id = #{deptId},
pic_url = #{picUrl},
celebrate_date = #{celebrateDate},
job_type = #{jobType},
where user_id = #{userId}
delete from uav_operator where user_id = #{id}
delete from uav_operator where user_id in
#{id}