<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: DJ  
    $Date: 2013-6-13 下午02:32:50  
    $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  *  from  ( select   h.bp_name, h.bp_id
     from hls_bp_master h
 where h.bp_category = 'VENDER'
 and h.enabled_flag='Y')

  			#WHERE_CLAUSE#
  			]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="bp_name" displayWidth="200" forDisplay="true" prompt="厂商名称"/>
        <bm:field name="bp_id" displayWidth="200" forDisplay="true" forQuery="true" prompt="厂商代码"/>
    </bm:fields>
    <bm:query-fields>
        <bm:query-field field="bp_name" queryOperator="like"/>
        <bm:query-field field="bp_id" queryOperator="like"/>
    </bm:query-fields>
   <!-- <bm:data-filters>
        <bm:data-filter enforceOperations="query" expression="h.enabled_flag=&apos;Y&apos;"/>
    </bm:data-filters>-->
</bm:model>
