select record_id, reqCode, reqTime, stationType, stationNo, rfidNo, workorder_code, batch_code, cku, spec, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time, factory_code from mes_station_arrive
insert into mes_station_arrive
record_id,
reqCode,
reqTime,
stationType,
stationNo,
rfidNo,
workorder_code,
batch_code,
cku,
spec,
remark,
attr1,
attr2,
attr3,
attr4,
create_by,
create_time,
update_by,
update_time,
factory_code,
status,
#{recordId},
#{reqCode},
#{reqTime},
#{stationType},
#{stationNo},
#{rfidNo},
#{workorderCode},
#{batchCode},
#{cku},
#{spec},
#{remark},
#{attr1},
#{attr2},
#{attr3},
#{attr4},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{factoryCode},
#{status},
update mes_station_arrive
reqCode = #{reqCode},
reqTime = #{reqTime},
stationType = #{stationType},
stationNo = #{stationNo},
rfidNo = #{rfidNo},
workorder_code = #{workorderCode},
batch_code = #{batchCode},
cku = #{cku},
spec = #{spec},
remark = #{remark},
attr1 = #{attr1},
attr2 = #{attr2},
attr3 = #{attr3},
attr4 = #{attr4},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
factory_code = #{factoryCode},
where record_id = #{recordId}
delete from mes_station_arrive where record_id = #{recordId}
delete from mes_station_arrive where record_id in
#{recordId}