<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: Icon $Date: 2014-10-10 下午3:48:49 $Revision: 1.0 $Purpose: --> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm"> <bm:fields> <bm:field name="code_value" databaseType="VARCHAR2" datatype="java.lang.String" forDisplay="true" forQuery="true" physicalName="CODE_VALUE" prompt="值代码"/> <bm:field name="code_value_name" databaseType="VARCHAR2" datatype="java.lang.String" forDisplay="true" forQuery="true" physicalName="CODE_VALUE_NAME" prompt="值描述"/> </bm:fields> <bm:operations> <bm:operation name="query"> <bm:update-sql><![CDATA[ select * from sys_code_values_v scv where code='HLS_052_FINANCIAL_SCALE' ]]></bm:update-sql> </bm:operation> </bm:operations> <bm:query-fields> <bm:query-field name="code_value" queryExpression="scv.code_value like '%'||${@code_value}||'%'"/> <bm:query-field name="code_value_name" queryExpression="scv.code_value like '%'||${@code_value_name}||'%'"/> </bm:query-fields> </bm:model>