<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:parameters>
                <bm:parameter name="lease_item_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="cdd_list_id" output="true" outputPath="@cdd_list_id"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
                    HLS_LEASE_ITEM_PKG.SET_ITME_LIST_ID
                    (
                        p_lease_item_id=>${@lease_item_id}
                    );
                    select pp.cdd_list_id into ${@cdd_list_id} from hls_lease_item pp where pp.lease_item_id = ${@lease_item_id};  
                end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
