<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: xiaobo  
    $Date: 2012-12-5 下午2:46:39  
    $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_order_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="field_name" dataType="java.lang.String" input="true" output="false"/>
                <bm:parameter name="order_code" 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_ORDERS
                    (
                        p_report_order_id=>${@report_order_id},
                        p_line_number=>${@line_number},
                        p_report_header_id=>${../../@report_header_id},
                        p_table_name=>${@table_name},
                        p_field_name=>${@field_name},
                        p_order_code=>${@order_code},
                        p_user_id=>${/session/@user_id}
                    );
                end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
