<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: 26887cz
    $Date: 2021-08-23 下午04:23:02
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
            	begin
           csh_deposit_transfer_pkg.csh_deposit_transfer_execute(
                          p_user_id           =>${/session/@user_id},
            			  p_contemp_id        =>${@contemp_id},
			              p_review_type       =>${@review_type},
			              p_batch_id          =>${../../@batch_id}
            		);
            	end;
            ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
            	begin
           csh_deposit_transfer_pkg.create_deposit_transfer_record(
                          p_user_id     =>${/session/@user_id},
                          p_role_id     =>${/session/@role_id},
			              p_review_act  =>${@review_act},
			              p_batch_id    =>${@batch_id}
            		);
            	end;
            ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="batch_id" dataType="java.lang.Long" input="true" output="true" outputPath="/parameter/@batch_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
