Oracle MyBatis批量插入


    BEGIN
    
        INSERT INTO fpc_card_bank (id, order_no, check_no, auth_no, cad_type_id, zhx_card_no, storeid, amount,
        if_bill, buy_date, create_date) VALUES
        (TABLES_SEQ.nextval, #{item.buy_order_no}, #{item.check_no}, #{item.auth_no}, #{item.card_type}, #{item.zhx_card_no},
        #{item.storied}, #{item.amount},
        '0', #{item.swap_date}, sysdate)
    
    ;END ;

你可能感兴趣的:(Oracle MyBatis批量插入)