<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: qianming  
    $Date: 2015-6-24
    $Revision: 1.0  
    $Purpose: 查询商业伙伴操作权限
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
	            begin
				  -- Call the procedure
				  bgfl_bp_master_authorize_pkg.check_bp_modify(p_bp_id => ${@bp_id},
				  											   p_opt_user_id => ${/session/@user_id},
				                                               p_opt_type => ${@opt_type});
				end;
            ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="opt_type" output="true"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
