<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: gaoyang  
    $Date: 2013-5-13 下午07:57:46  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="delete">
            <bm:update-sql><![CDATA[
            	begin
            		csh_transaction_pkg.delete_csh_transaction(
            			p_transaction_id=>${@transaction_id},
            			p_user_id=>${/session/@user_id}
            		);
            	end;
            ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
            update csh_transaction ct
                set ct.collection_classes = ${@collection_classes},
                ct.last_updated_by=${/session/@user_id},
                ct.last_update_date =sysdate
            where ct.transaction_id = ${@transaction_id}
        ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
