<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: gzj
    $Date: 2022年6月14日
    $Revision: 1.0
    $Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
      select count(1) trans_review_number
  from csh_transaction_contemp t,con_contract cc
 where (t.trans_review_status ='REVIEWING'
       or t.trans_review_status ='REVIEWING1')
       and cc.contract_id = t.source_contract_id
       and cc.data_class = 'NORMAL'
    		]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="trans_review_number"></bm:field>
    </bm:fields>
</bm:model>
