<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Administrator  
    $Date: 2017-8-21 上午10:36:49  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" >
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                select rownum num , t1.* from hls_ebank_batch_hd
                         t1 #WHERE_CLAUSE#
                 order by t1.hd_id
            ]]></bm:query-sql>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
                begin
                    hls_ebank_abc_pub_pkg.ds_create_abc_transaction(
                        p_batch_id => ${@batch_id}
                    );
                end;
            ]]></bm:update-sql>
        </bm:operation>

        <bm:operation name="update">
            <bm:update-sql><![CDATA[
                begin
                    hls_ebank_abc_pub_pkg.create_abc_transqry(
                        p_batch_id => ${@batch_id}
                    );
                end;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
    <bm:query-fields>
        <bm:query-field name="batch_id" queryExpression="t1.batch_id=${@batch_id}"/>
    </bm:query-fields>
</bm:model>
