<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: gaoyang  
    $Date: 2013-4-24 上午10:17:59  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
            	begin
            		  cus_con_contract_repo_pkg.calc_repo_cashflow(p_contract_id=>${@contract_id},
            		  p_calc_session_id =>${@calc_session_id},
                                              p_user_id => ${/session/@user_id},
                                              p_msg => ${@msg});
            	end;
            ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="msg" dataType="java.lang.String" input="false" output="true" outputPath="/parameter/@msg"/>
            </bm:parameters>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
            	begin
            		  cus_con_contract_repo_pkg.calc_repo_cashflow(p_contract_id=>${@contract_id},
            		                                  p_calc_session_id =>${@calc_session_id},
                                              p_user_id => ${/session/@user_id},
                                              p_msg => ${@msg});
            	end;
            ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="msg" dataType="java.lang.String" input="false" output="true" outputPath="/parameter/@msg"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
