select cancelStockNo, itemNo, itemCode, itemName, itemSpecification, machineType, unit, qty, coinType, price, totalPrice, remark, spare1, spare2, spare3, spare4, spare5, spare6 from cancel_stock_list
insert into cancel_stock_list
cancelStockNo,
itemNo,
itemCode,
itemName,
itemSpecification,
machineType,
unit,
qty,
coinType,
price,
totalPrice,
remark,
spare1,
spare2,
spare3,
spare4,
spare5,
spare6,
#{cancelStockNo},
#{itemNo},
#{itemCode},
#{itemName},
#{itemSpecification},
#{machineType},
#{unit},
#{qty},
#{coinType},
#{price},
#{totalPrice},
#{remark},
#{spare1},
#{spare2},
#{spare3},
#{spare4},
#{spare5},
#{spare6},
update cancel_stock_list
itemNo = #{itemNo},
itemCode = #{itemCode},
itemName = #{itemName},
itemSpecification = #{itemSpecification},
machineType = #{machineType},
unit = #{unit},
qty = #{qty},
coinType = #{coinType},
price = #{price},
totalPrice = #{totalPrice},
remark = #{remark},
spare1 = #{spare1},
spare2 = #{spare2},
spare3 = #{spare3},
spare4 = #{spare4},
spare5 = #{spare5},
spare6 = #{spare6},
where cancelStockNo = #{cancelStockNo}
delete from cancel_stock_list where cancelStockNo = #{cancelStockNo}
delete from cancel_stock_list where cancelStockNo in
#{cancelStockNo}