<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Think
    $Date: 2017-1-16 上午10:53:16  
    $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 v.code_value      code_value,
				       v.code_value_name code_value_name
				  FROM sys_code_values_v v
				 WHERE v.code = 'HLS211_BP_CLASS'
				       AND v.code_enabled_flag = 'Y'
				       AND v.code_value_enabled_flag = 'Y'
                    
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="code_value" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CODE_VALUE"/>
        <bm:field name="code_value_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CODE_VALUE_NAME"/>
    </bm:fields>
</bm:model>
