<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: syj  
    $Date: 2015年8月19日14:19:53
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
                 DECLARE
                     v_cdd_list_id NUMBER;
                 BEGIN
                     SELECT
                         m.cdd_list_id
                     INTO
                         v_cdd_list_id
                     FROM
                         hls_bp_master m
                     WHERE
                         m.bp_id      = ${@bp_id};
                     ${@cdd_list_id} := v_cdd_list_id;
                 END;
             ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="cdd_list_id" datatype="java.lang.Long" output="true" outputPath="/parameter/@cdd_list_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="cdd_list_id" databaseType="NUMBER" datatype="java.lang.Long"/>
    </bm:fields>
</bm:model>
