select warehousingOutNo, workOrderNo, warehousingOutDate, linkman, stockNo, stockName, warehouseKeeper, outputClass, itemClass, confirmFlag, confirmMan, confirmDate, deptName, spare1, spare2, spare3, spare4, spare5, spare6, deptNo from warehousing_out_head insert into warehousing_out_head warehousingOutNo, workOrderNo, warehousingOutDate, linkman, stockNo, stockName, warehouseKeeper, outputClass, itemClass, confirmFlag, confirmMan, confirmDate, deptName, spare1, spare2, spare3, spare4, spare5, spare6, deptNo, #{warehousingOutNo}, #{workOrderNo}, #{warehousingOutDate}, #{linkman}, #{stockNo}, #{stockName}, #{warehouseKeeper}, #{outputClass}, #{itemClass}, #{confirmFlag}, #{confirmMan}, #{confirmDate}, #{deptName}, #{spare1}, #{spare2}, #{spare3}, #{spare4}, #{spare5}, #{spare6}, #{deptNo}, update warehousing_out_head workOrderNo = #{workOrderNo}, warehousingOutDate = #{warehousingOutDate}, linkman = #{linkman}, stockNo = #{stockNo}, stockName = #{stockName}, warehouseKeeper = #{warehouseKeeper}, outputClass = #{outputClass}, itemClass = #{itemClass}, confirmFlag = #{confirmFlag}, confirmMan = #{confirmMan}, confirmDate = #{confirmDate}, deptName = #{deptName}, spare1 = #{spare1}, spare2 = #{spare2}, spare3 = #{spare3}, spare4 = #{spare4}, spare5 = #{spare5}, spare6 = #{spare6}, deptNo = #{deptNo}, where warehousingOutNo = #{warehousingOutNo} delete from warehousing_out_head where warehousingOutNo = #{warehousingOutNo} delete from warehousing_out_head where warehousingOutNo in #{warehousingOutNo}