<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author:chenlingfeng
    $Date: 2016-1-06 下午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
                  
                    
                     hn_invest_expenses_app_pkg.create_cdd(p_document_id => ${@expenses_id},
                                        p_company_id => ${/session/@company_id},
                                        p_document_category => ${@document_category},
                                        p_document_type => ${@document_type},
                                        p_function_code => ${@function_code},
                                        p_function_usage => ${@function_usage},
                                        p_user_id => ${/session/@user_id},
                                        p_cdd_list_id => ${@cdd_list_id});
                END;
                
                
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
