select id, customer_name,customer_id ,product_id,product_name, card_user_no, car_no, indate, firstWeight, firstWeightdate, secondWeight, secondWeightdate, netweight, outdate, type, loadingendtime, loadingstarttime, contacts, telephone, nodecode, deltag, create_by, create_time, update_by, update_time, remark from bk_process
select a.id, a.customer_name,a.customer_id,a.product_id,a.product_name,a.card_user_no, a.car_no, a.indate, a.firstWeight, a.firstWeightdate, a.secondWeight, a.secondWeightdate, a.netweight, a.outdate, a.type, a.loadingendtime, a.loadingstarttime, a.contacts, a.telephone, a.nodecode, a.deltag, a.create_by, a.create_time, a.update_by, a.update_time, a.remark from bk_process a
insert into bk_process
id,
customer_name,
product_name,
card_user_no,
car_no,
indate,
firstWeight,
firstWeightdate,
secondWeight,
secondWeightdate,
netweight,
outdate,
type,
loadingendtime,
loadingstarttime,
contacts,
telephone,
nodecode,
deltag,
create_by,
create_time,
update_by,
update_time,
remark,
customer_id,
product_id,
#{id},
#{customerName},
#{productName},
#{cardUserNo},
#{carNo},
#{indate},
#{firstWeight},
#{firstWeightdate},
#{secondWeight},
#{secondWeightdate},
#{netweight},
#{outdate},
#{type},
#{loadingendtime},
#{loadingstarttime},
#{contacts},
#{telephone},
#{nodecode},
#{deltag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
#{customerId},
#{productId},
update bk_process
customer_name = #{customerName},
product_name = #{productName},
card_user_no = #{cardUserNo},
car_no = #{carNo},
indate = #{indate},
firstWeight = #{firstWeight},
firstWeightdate = #{firstWeightdate},
secondWeight = #{secondWeight},
secondWeightdate = #{secondWeightdate},
netweight = #{netweight},
outdate = #{outdate},
type = #{type},
loadingendtime = #{loadingendtime},
loadingstarttime = #{loadingstarttime},
contacts = #{contacts},
telephone = #{telephone},
nodecode = #{nodecode},
deltag = #{deltag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
customer_id = #{customerId},
product_id = #{productId},
where id = #{id}
delete from bk_process where id = #{id}
delete from bk_process where id in
#{id}