("year_month","iow_no","dept_code","make_date","maker","store_code","bus_type_code","proj_code","exch_store_code") INSERT INTO HRP_DBA."mate_whr_main" VALUES ( to_number(to_char(#{time}, 'yyyyMM')) , #{serialNumber} , #{departCoding} , #{time} , #{operator,jdbcType=VARCHAR} , #{storeCode,jdbcType=VARCHAR} , #{type,jdbcType=VARCHAR} , #{projCode,jdbcType=VARCHAR} , #{exchStoreCode,jdbcType=VARCHAR} ) INSERT INTO HRP_DBA."mate_whr_main" VALUES ( to_number(to_char(#{time}, 'yyyyMM')) , #{serialNumber} , #{departCoding} , #{time} , #{operator,jdbcType=VARCHAR} , #{storeCode,jdbcType=VARCHAR} , #{type,jdbcType=VARCHAR} , null , #{exchStoreCode,jdbcType=VARCHAR} ) INSERT INTO HRP_DBA."mate_whr_main" VALUES ( to_number(to_char(#{time}, 'yyyyMM')) , #{serialNumber,jdbcType=VARCHAR} , #{departCoding,jdbcType=VARCHAR} , #{time} , #{operator,jdbcType=VARCHAR} , '3' , '22' , #{projCode,jdbcType=VARCHAR} , '50' ) INSERT INTO HRP_DBA."mate_whr_main" VALUES ( to_number(to_char(#{time}, 'yyyyMM')) , #{serialNumber,jdbcType=VARCHAR} , #{departCoding,jdbcType=VARCHAR} , #{time} , #{operator,jdbcType=VARCHAR} , '50' , '22' , #{projCode,jdbcType=VARCHAR} , '3' ) INSERT INTO HRP_DBA."mate_whr_main" VALUES ( to_number(to_char(#{time}, 'yyyyMM')) , #{serialNumber} , #{departCoding} , #{time} , #{operator} , '03' , '14' , null , #{exchStoreCode,jdbcType=VARCHAR} ) INSERT INTO HRP_DBA."mate_whr_main" VALUES ( to_number(to_char(#{time}, 'yyyyMM')) , #{serialNumber} , #{departCoding} , #{time} , #{operator} , '03' , '2' , null , #{exchStoreCode,jdbcType=VARCHAR} ) INSERT INTO HRP_DBA."mate_whr_detail" ("iow_no","inv_code","batch_no","inva_date","amount","price","sell_price","expenditure_item_code") SELECT #{item.serialNumber} , #{item.inventorySerialNumber} , #{item.batchNumber,jdbcType=VARCHAR} , #{item.expDate,jdbcType=TIMESTAMP} , #{item.amount} , #{item.unitPrice} , #{item.fluctuationUnitPrice} , #{item.expenditureItemCode,jdbcType=VARCHAR} from dual