select cancelStockNo, workOrderNo, deptName, cancelStockMan, stockNo, stockName, warehouseKeeper, cancelStockType, cancelStockDate, remark, spare1, spare2, spare3, spare4, spare5, spare6 from cancel_stock_head
insert into cancel_stock_head
cancelStockNo,
workOrderNo,
deptName,
cancelStockMan,
stockNo,
stockName,
warehouseKeeper,
cancelStockType,
cancelStockDate,
remark,
spare1,
spare2,
spare3,
spare4,
spare5,
spare6,
#{cancelStockNo},
#{workOrderNo},
#{deptName},
#{cancelStockMan},
#{stockNo},
#{stockName},
#{warehouseKeeper},
#{cancelStockType},
#{cancelStockDate},
#{remark},
#{spare1},
#{spare2},
#{spare3},
#{spare4},
#{spare5},
#{spare6},
update cancel_stock_head
workOrderNo = #{workOrderNo},
deptName = #{deptName},
cancelStockMan = #{cancelStockMan},
stockNo = #{stockNo},
stockName = #{stockName},
warehouseKeeper = #{warehouseKeeper},
cancelStockType = #{cancelStockType},
cancelStockDate = #{cancelStockDate},
remark = #{remark},
spare1 = #{spare1},
spare2 = #{spare2},
spare3 = #{spare3},
spare4 = #{spare4},
spare5 = #{spare5},
spare6 = #{spare6},
where cancelStockNo = #{cancelStockNo}
delete from cancel_stock_head where cancelStockNo = #{cancelStockNo}
delete from cancel_stock_head where cancelStockNo in
#{cancelStockNo}