<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: xiaobo  
    $Date: 2012-12-5 下午2:46:32  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="execute">
            <bm:parameters>
                <bm:parameter name="report_table_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="line_number" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="report_header_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="table_name" dataType="java.lang.String" input="true" output="false"/>
                <bm:parameter name="table_description" dataType="java.lang.String" input="true" output="false"/>
                <bm:parameter name="table_alias" dataType="java.lang.String" input="true" output="false"/>
                <bm:parameter name="user_id" dataType="java.lang.Long" input="true" output="false"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
                    PSR_REPORT_PKG.SAVE_REPORT_TABLES
                    (
                        p_report_table_id=>${@report_table_id},
                        p_line_number=>${@line_number},
                        p_report_header_id=>${../../@report_header_id},
                        p_table_name=>${@table_name},
                        p_table_description=>${@table_description},
                        p_table_alias=>${@table_alias},
                        p_user_id=>${/session/@user_id}
                    );
                end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
