<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: ZLF  
    $Date: 2014-12-31 下午2:58:25  
    $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  
					UPDATE
						con_contract t
					SET
						t.rebate_month            = ${@rebate_month},
					    t.commission_confirm_flag = ${@commission_confirm_flag},
						t.other_fee2              = ${@commission_amount},
						t.last_updated_by         = ${/session/@user_id},
						t.last_update_date        = sysdate
					WHERE
						t.contract_id = ${@contract_id};
				end;
            ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="rebate_month"/>
                <bm:parameter name="commission_confirm_flag"/>
                <bm:parameter name="commission_amount"/>
                <bm:parameter name="contract_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
