<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: hp  
    $Date: 2015-2-4 下午6:29:21  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="execute">
            <bm:parameters>
                <bm:parameter name="xml" databaseType="VARCHAR2" datatype="java.lang.String" output="true" outputPath="/parameter/@xml"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                declare
                v_xml varchar2(32767);
                begin
                v_xml := ds_doodream_pkg.submit_approveline_change(
                    p_change_req_id         =>${@change_req_id},
                    p_key_value             =>${@interface_name},
                    p_user_id               =>${/session/@user_id}
                );
                ${@xml} := v_xml;
                end;
                ]]>
            </bm:update-sql>
        </bm:operation>



    </bm:operations>
</bm:model>
