<?xml version="1.0" encoding="UTF-8"?> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false"> <bm:fields> <bm:field name="code"/> <bm:field name="code_value"/> <bm:field name="code_value_name"/> </bm:fields> <bm:operations> <bm:operation name="query"> <bm:query-sql><![CDATA[ select v.code,v.code_value,v.code_value_name from sys_code_values_v v #WHERE_CLAUSE# order by v.order_seq ]]></bm:query-sql> </bm:operation> </bm:operations> <bm:fields><![CDATA[ ]]></bm:fields> <bm:query-fields> <bm:query-field field="code" queryOperator="="/> </bm:query-fields> <bm:data-filters> <bm:data-filter name="query" expression="v.code_value_enabled_flag = 'Y' and v.code_enabled_flag = 'Y'"/> </bm:data-filters> </bm:model>