INSERT INTO io_codes_temp
(action, mainAction,code, corpOrderId, actor,actDate,
fromCorpID, fromCorp, orderId,batchNo,produceDate,expireDate,serialNo,udi,count)
VALUES
(
#{item.action},
#{item.mainAction},
#{item.code},
#{item.corpOrderId},
#{item.actor},
#{item.actDate},
#{item.fromCorpID},
#{item.fromCorp},
#{item.orderId}
,#{item.batchNo}
,#{item.produceDate}
,#{item.expireDate}
,#{item.serialNo}
,#{item.udi}
,#{item.count}
)
DELETE FROM io_codes_temp WHERE id IN
#{item}