<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: wangwei  
    $Date: 2015-11-12 下午2:15:58  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
                begin
                    hls_bp_master_change_req_pkg.hls_bp_master_req_ins(p_bp_id         =>  ${@bp_id},
                                                                       p_company_id    =>  ${/session/@company_id},
                                                                       p_user_id       =>  ${/session/@user_id},
                                                                       p_change_type   =>  ${@change_type},
                                                                       p_change_req_id =>  ${@change_req_id});

                end;
                ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="change_req_id" dataType="java.lang.Long" output="true" outputPath="@change_req_id"/>
            </bm:parameters>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
                begin
                    hls_bp_master_change_req_pkg.hls_bp_master_basic_ins(p_bp_id         =>  ${@bp_id},
                                                                         p_company_id    =>  ${/session/@company_id},
                                                                         p_user_id       =>  ${/session/@user_id},
                                                                         p_change_req_id =>  ${@change_req_id});

                end;
                ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="change_req_id" dataType="java.lang.Long" output="true" outputPath="@change_req_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
