<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: zhangxing5129  
    $Date: 2014-10-13 下午01:02:37  
    $Revision: 1.0  
    $Purpose: 项目创建校验 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:parameters>
                <bm:parameter name="cdd_list_id" dataType="java.lang.Long" input="true" output="true" outputPath="@cdd_list_id"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                BEGIN
                    prj_project_pkg.project_create_save_check(p_project_id =>${@project_id},
                                                              p_user_id =>${/session/@user_id},
                                                              p_function_code =>${@function_code},
                                                              p_function_usage =>${@function_usage},
                                                              p_save_source_type =>${@save_source_type},
                                                              p_project_status =>${@project_status},
                                                              p_bp_id_tenant =>${@bp_id_tenant},
                                                              p_cdd_list_id => ${@cdd_list_id},
                                                              p_editable_flag =>${@editable_flag},
                                                              p_credit_line =>${@credit_line});
                END;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
