<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Hongquan.Dai  
    $Date: 2018-2-27 下午11:15:53  
    $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="product_id" dataType="java.lang.Long" input="true" output="false" required="true"/>
                <bm:parameter name="if_self_definition" dataType="java.lang.String" input="false" output="true"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
                    PRJ_PROJECT_PKG.GET_IF_SELF_DEFINITION
                    (
                        p_product_plan_id=> to_number(${@product_id}),
                        p_if_self_definition=>${@if_self_definition},
                        p_user_id=>${/session/@user_id}
                    );
                end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
