select barcode_id, print_time, print_person, batch_flag, barcode_info, batch_code, rfid_code, material_id, manufacturer_id, weight, amount, machine_name, po_no, production_date, accepted_date, limiting_date, last_outstock_date, serial_number, remark, active_flag, create_by, create_time, update_by, update_time from mes_base_barcode_info
insert into mes_base_barcode_info
print_time,
print_person,
batch_flag,
barcode_info,
batch_code,
rfid_code,
material_id,
manufacturer_id,
weight,
amount,
machine_name,
po_no,
production_date,
accepted_date,
limiting_date,
last_outstock_date,
serial_number,
remark,
active_flag,
create_by,
create_time,
update_by,
update_time,
#{printTime},
#{printPerson},
#{batchFlag},
#{barcodeInfo},
#{batchCode},
#{rfidCode},
#{materialId},
#{manufacturerId},
#{weight},
#{amount},
#{machineName},
#{poNo},
#{productionDate},
#{acceptedDate},
#{limitingDate},
#{lastOutstockDate},
#{serialNumber},
#{remark},
#{activeFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update mes_base_barcode_info
print_time = #{printTime},
print_person = #{printPerson},
batch_flag = #{batchFlag},
barcode_info = #{barcodeInfo},
batch_code = #{batchCode},
rfid_code = #{rfidCode},
material_id = #{materialId},
manufacturer_id = #{manufacturerId},
weight = #{weight},
amount = #{amount},
machine_name = #{machineName},
po_no = #{poNo},
production_date = #{productionDate},
accepted_date = #{acceptedDate},
limiting_date = #{limitingDate},
last_outstock_date = #{lastOutstockDate},
serial_number = #{serialNumber},
remark = #{remark},
active_flag = #{activeFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where barcode_id = #{barcodeId}
delete from mes_base_barcode_info where barcode_id = #{barcodeId}
delete from mes_base_barcode_info where barcode_id in
#{barcodeId}