select id, area, area_name, entity, entity_name, accounting, accounting_name, cust_no, cust_name, industry, status, year_consumption, loss_time, loss_reason, recover_time, work_plan, completion, remark, sys_ctime, sys_utime, create_by, update_by, delete_flag from customer_recovery_progress
insert into customer_recovery_progress
id,
area,
area_name,
entity,
entity_name,
accounting,
accounting_name,
cust_no,
cust_name,
industry,
status,
year_consumption,
loss_time,
loss_reason,
recover_time,
work_plan,
completion,
remark,
sys_ctime,
sys_utime,
create_by,
update_by,
delete_flag,
#{id},
#{area},
#{areaName},
#{entity},
#{entityName},
#{accounting},
#{accountingName},
#{custNo},
#{custName},
#{industry},
#{status},
#{yearConsumption},
#{lossTime},
#{lossReason},
#{recoverTime},
#{workPlan},
#{completion},
#{remark},
#{sysCtime},
#{sysUtime},
#{createBy},
#{updateBy},
#{deleteFlag},
update customer_recovery_progress
area = #{area},
area_name = #{areaName},
entity = #{entity},
entity_name = #{entityName},
accounting = #{accounting},
accounting_name = #{accountingName},
cust_no = #{custNo},
cust_name = #{custName},
industry = #{industry},
status = #{status},
year_consumption = #{yearConsumption},
loss_time = #{lossTime},
loss_reason = #{lossReason},
recover_time = #{recoverTime},
work_plan = #{workPlan},
completion = #{completion},
remark = #{remark},
sys_ctime = #{sysCtime},
sys_utime = #{sysUtime},
create_by = #{createBy},
update_by = #{updateBy},
delete_flag = #{deleteFlag},
where id = #{id}
delete from customer_recovery_progress where id = #{id}
delete from customer_recovery_progress
where id in
#{id}