select outsourceOrderNo, productionOrder, itemCode, itemName, itemSpecification, machineType, unit, qty, price, processingCharges, sendDate, remark, totalPrice, finishedQty, unfinishedQty, spare1, spare2, spare3, spare4, spare5, spare6 from outsource_order_list
insert into outsource_order_list
outsourceOrderNo,
productionOrder,
itemCode,
itemName,
itemSpecification,
machineType,
unit,
qty,
price,
processingCharges,
sendDate,
remark,
totalPrice,
finishedQty,
unfinishedQty,
spare1,
spare2,
spare3,
spare4,
spare5,
spare6,
#{outsourceOrderNo},
#{productionOrder},
#{itemCode},
#{itemName},
#{itemSpecification},
#{machineType},
#{unit},
#{qty},
#{price},
#{processingCharges},
#{sendDate},
#{remark},
#{totalPrice},
#{finishedQty},
#{unfinishedQty},
#{spare1},
#{spare2},
#{spare3},
#{spare4},
#{spare5},
#{spare6},
update outsource_order_list
productionOrder = #{productionOrder},
itemCode = #{itemCode},
itemName = #{itemName},
itemSpecification = #{itemSpecification},
machineType = #{machineType},
unit = #{unit},
qty = #{qty},
price = #{price},
processingCharges = #{processingCharges},
sendDate = #{sendDate},
remark = #{remark},
totalPrice = #{totalPrice},
finishedQty = #{finishedQty},
unfinishedQty = #{unfinishedQty},
spare1 = #{spare1},
spare2 = #{spare2},
spare3 = #{spare3},
spare4 = #{spare4},
spare5 = #{spare5},
spare6 = #{spare6},
where outsourceOrderNo = #{outsourceOrderNo}
delete from outsource_order_list where outsourceOrderNo = #{outsourceOrderNo}
delete from outsource_order_list where outsourceOrderNo in
#{outsourceOrderNo}