<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="execute">
            <bm:parameters>
                <bm:parameter name="ccr_lease_rental" dataType="java.lang.Double" input="false" output="true" outputPath="@ccr_lease_rental"/>
                <bm:parameter name="ccr_lease_principal" dataType="java.lang.Double" input="false" output="true" outputPath="@ccr_lease_principal"/>
                <bm:parameter name="ccr_lease_interest" dataType="java.lang.Double" input="false" output="true" outputPath="@ccr_lease_interest"/>
                <bm:parameter name="ccr_lease_penalty" dataType="java.lang.Double" input="false" output="true" outputPath="@ccr_lease_penalty"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
                    cus_con_change_req_pkg.calc_tenant_change_req(p_change_req_id        =>${@change_req_id},
                                                                  p_ccr_lease_date      =>to_date(${@ccr_lease_date},'yyyy-mm-dd'),
                                                                  p_ccr_lease_rental    =>${@ccr_lease_rental},
                                                                  p_ccr_lease_principal =>${@ccr_lease_principal},
                                                                  p_ccr_lease_interest  =>${@ccr_lease_interest},
                                                                  p_ccr_lease_penalty   =>${@ccr_lease_penalty},
                                                                  p_user_id              =>${/session/@user_id}
                    );
                end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
