<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: hp  
    $Date: 2014-12-15 上午9:11:48  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="insert">
            <bm:parameters>
                <bm:parameter name="cdd_list_id" dataType="java.lang.Long" output="true" outputPath="/parameter/@cdd_list_id"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
               begin
                  hls_invest_master_pkg.invest_master_save_check(p_bp_id         		   =>${@bp_id},
                                                                 p_cdd_list_id             =>${@cdd_list_id},
							                                      p_user_id                  =>${/session/@user_id});
               end;
          ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="update">
            <bm:parameters>
                <bm:parameter name="cdd_list_id" dataType="java.lang.Long" output="true" outputPath="/parameter/@cdd_list_id"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
               begin
                  hls_invest_master_pkg.invest_master_save_check(p_bp_id         		   =>${@bp_id},
                                                                 p_cdd_list_id             =>${@cdd_list_id},
							                                      p_user_id                  =>${/session/@user_id});
               end;
          ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
