<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Darming  
    $Date: 2017-12-27 下午3:21:06  
    $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 fd.district_id as code,fd.description as code_name from fnd_district fd where fd.enabled_flag='Y' and fd.city_id=${@liv_city}
]]></bm:query-sql>
            <bm:parameters>
                <bm:parameter name="liv_city"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="code" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CODE"/>
        <bm:field name="code_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CODE_NAME"/>
    </bm:fields>
</bm:model>
