select bind_barcode_id, print_time, print_person, batch_flag, bind_barcode_info, barcode_info, weight, amount, machine_name, project_no, saleorder_code, plan_id, plan_detail_id, serial_number, remark, active_flag, create_by, create_time, update_by, update_time from mes_bind_barcode
insert into mes_bind_barcode
print_time,
print_person,
batch_flag,
bind_barcode_info,
barcode_info,
weight,
amount,
machine_name,
project_no,
saleorder_code,
plan_id,
plan_detail_id,
serial_number,
remark,
active_flag,
create_by,
create_time,
update_by,
update_time,
#{printTime},
#{printPerson},
#{batchFlag},
#{bindBarcodeInfo},
#{barcodeInfo},
#{weight},
#{amount},
#{machineName},
#{projectNo},
#{saleorderCode},
#{planId},
#{planDetailId},
#{serialNumber},
#{remark},
#{activeFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update mes_bind_barcode
print_time = #{printTime},
print_person = #{printPerson},
batch_flag = #{batchFlag},
bind_barcode_info = #{bindBarcodeInfo},
barcode_info = #{barcodeInfo},
weight = #{weight},
amount = #{amount},
machine_name = #{machineName},
project_no = #{projectNo},
saleorder_code = #{saleorderCode},
plan_id = #{planId},
plan_detail_id = #{planDetailId},
serial_number = #{serialNumber},
remark = #{remark},
active_flag = #{activeFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where bind_barcode_id = #{bindBarcodeId}
delete from mes_bind_barcode where bind_barcode_id = #{bindBarcodeId}
delete from mes_bind_barcode where bind_barcode_id in
#{bindBarcodeId}