<?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="deposit_positive" /> <bm:field name="number" /> </bm:fields> <bm:operations> <bm:operation name="query"> <bm:query-sql><![CDATA[ SELECT '大于0' "deposit_positive",1 "number" from dual union all select '等于0' "deposit_positive",0 "number" from dual ]]></bm:query-sql> </bm:operation> </bm:operations> </bm:model>