<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
select * from (
select v.code_value,
v.code_value_name
from sys_code_values_v v
where v.code = 'CF_DIRECTION'
and v.code_value in ('INFLOW', 'OUTFLOW')
and v.code_enabled_flag = 'Y'
and v.code_value_enabled_flag = 'Y'
) t1
#WHERE_CLAUSE#
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field name="code_value"/>
<bm:field name="code_value_name"/>
</bm:fields>
</bm:model>
-
Spencer Chang authoredbfd31bca