<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
            select value_code,value_name from (${:/parameter/@sql_text})
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="value_code" forDisplay="true" forQuery="true" prompt="代码"/>
        <bm:field name="value_name" forDisplay="true" forQuery="true" prompt="描述"/>
    </bm:fields>
    <bm:query-fields>
        <bm:query-field name="value_code" queryExpression="value_code like &apos;%||${@value_code}||%&apos;"/>
        <bm:query-field name="value_name" queryExpression="value_name like &apos;%||${@value_name}||%&apos;"/>
    </bm:query-fields>
</bm:model>
