select id, area,entity, budget_subject, taxpayer_number, address, is_provide, commercial_status, project_type, industry_type, distance, predict_max, predict_sign, predict_install, predict_use, machine_name, machine_model, user_type, contact_person, duties, phone_number, sys_ctime, sys_utime, create_by, update_by, delete_flag from pool_industry
insert into pool_industry
id,
area,
entity,
budget_subject,
taxpayer_number,
address,
is_provide,
commercial_status,
project_type,
industry_type,
distance,
predict_max,
predict_sign,
predict_install,
predict_use,
machine_name,
machine_model,
user_type,
contact_person,
duties,
phone_number,
sys_ctime,
sys_utime,
create_by,
update_by,
delete_flag,
#{id},
#{area},
#{entity},
#{budgetSubject},
#{taxpayerNumber},
#{address},
#{isProvide},
#{commercialStatus},
#{projectType},
#{industryType},
#{distance},
#{predictMax},
#{predictSign},
#{predictInstall},
#{predictUse},
#{machineName},
#{machineModel},
#{userType},
#{contactPerson},
#{duties},
#{phoneNumber},
#{sysCtime},
#{sysUtime},
#{createBy},
#{updateBy},
#{deleteFlag},
update pool_industry
area = #{area},
entity = #{entity},
budget_subject = #{budgetSubject},
taxpayer_number = #{taxpayerNumber},
address = #{address},
is_provide = #{isProvide},
commercial_status = #{commercialStatus},
project_type = #{projectType},
industry_type = #{industryType},
distance = #{distance},
predict_max = #{predictMax},
predict_sign = #{predictSign},
predict_install = #{predictInstall},
predict_use = #{predictUse},
machine_name = #{machineName},
machine_model = #{machineModel},
user_type = #{userType},
contact_person = #{contactPerson},
duties = #{duties},
phone_number = #{phoneNumber},
sys_ctime = #{sysCtime},
sys_utime = #{sysUtime},
create_by = #{createBy},
update_by = #{updateBy},
delete_flag = #{deleteFlag},
where id = #{id}
delete from pool_industry where id = #{id}
update pool_industry set delete_flag = 1
where id in
#{id}