<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: ZLF  
    $Date: 2014-12-15 下午3:13:02  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:ns2="leaf.database.local.oracle" xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
           select count(1) new_apply_num from con_contract_add_apply t 
           where   t.contract_id=${@contract_id} and  t.apply_status='NEW'
        ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
