<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: liukang
    $Date: 2016年4月06日 上午11:41:34  
    $Revision: 1.0  
    $Purpose: 价目表lov
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                SELECT
                    *
                FROM
                    (SELECT
                        hp.price_list,
                        hp.description
                    FROM
                        hls_price_list hp
                    WHERE
                        hp.enabled_flag = 'Y'
                    ) #WHERE_CLAUSE#
                ORDER BY
                    price_list
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="price_list" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="100" forDisplay="true" forQuery="true" physicalName="price_list" prompt="价目代码"/>
        <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="200" forDisplay="true" forQuery="true" physicalName="DESCRIPTION" prompt="价目名称"/>
    </bm:fields>
    <bm:query-fields>
        <bm:query-field field="description" queryOperator="like"/>
        <bm:query-field field="price_list" queryOperator="like"/>
    </bm:query-fields>
</bm:model>
