con_exist_approving.lwm 735 Bytes
Newer Older
gzj34291's avatar
gzj34291 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<?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:fields>
        <bm:field name="wfl_count" databaseType="NUMBER" datatype="java.lang.Long" physicalName="WFL_COUNT"/>
    </bm:fields>
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
        SELECT count(1) wfl_count
  FROM con_monthly_statement  t
 where t.history_flag='N'
 and t.status_name ='APPROVING'
    		]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="wfl_count"></bm:field>
    </bm:fields>
</bm:model>