<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Administrator  
    $Date: 2017-8-18 下午5:54:29  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="insert">
            <bm:parameters>
                <bm:parameter name="head_id" output="true" outputPath="@head_id"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
            begin
              hls_ebank_abc_pub_pkg.transfer_temp_to_interface(p_session_id =>${/session/@session_id} ,
                                                 p_head_id    => ${@head_id},
                                                 p_user_id    => ${/session/@user_id});
            end;
]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
           begin
              hls_ebank_abc_pub_pkg.after_export_update_interface(p_head_id         =>${@head_id} ,
                                                    p_document_number =>${@document_number} ,
                                                    p_file_path       =>${@file_path},
                                                    p_user_id         =>${/session/@user_id} 
                                                    );

           end;
           ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
