select record_id, workorder_code, rfid, factory_code, machine_code, now_process_id,
next_process_id, order_num, in_time, out_time, status, remark, attr1, attr2,
attr3, attr4, create_by, create_time, update_by, update_time, work_batch_code, bind_status
from pro_rfid_process_detail
insert into pro_rfid_process_detail
record_id,
workorder_code,
rfid,
factory_code,
machine_code,
now_process_id,
next_process_id,
order_num,
in_time,
out_time,
status,
remark,
attr1,
attr2,
attr3,
attr4,
create_by,
create_time,
update_by,
update_time,
work_batch_code,
bind_status,
#{recordId},
#{workorderCode},
#{rfid},
#{factoryCode},
#{machineCode},
#{nowProcessId},
#{nextProcessId},
#{orderNum},
#{inTime},
#{outTime},
#{status},
#{remark},
#{attr1},
#{attr2},
#{attr3},
#{attr4},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{workBatchCode},
#{bindStatus},
update pro_rfid_process_detail
workorder_code = #{workorderCode},
rfid = #{rfid},
factory_code = #{factoryCode},
machine_code = #{machineCode},
now_process_id = #{nowProcessId},
next_process_id = #{nextProcessId},
order_num = #{orderNum},
in_time = #{inTime},
out_time = #{outTime},
status = #{status},
remark = #{remark},
attr1 = #{attr1},
attr2 = #{attr2},
attr3 = #{attr3},
attr4 = #{attr4},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
work_batch_code = #{workBatchCode},
bind_status = #{bindStatus},
where record_id = #{recordId}
delete from pro_rfid_process_detail where record_id = #{recordId}
delete from pro_rfid_process_detail where record_id in
#{recordId}