<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: xiaobo  
    $Date: 2012-12-6 上午11:23:29  
    $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_header_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="sql_statement" dataType="java.lang.String" input="false" output="true"/>
                <bm:parameter name="user_id" dataType="java.lang.Long" input="true" output="false"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
                    PSR_REPORT_PKG.CREATE_SQL_STATEMENT
                    (
                        p_report_header_id=>${@report_header_id},
                        p_sql_statement=>${@sql_statement},
                        p_user_id=>${/session/@user_id}
                    );
                end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
