<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: ZLF $Date: 2015-1-26 下午2:11:27 $Revision: 1.0 $Purpose: --> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false"> <bm:operations> <bm:operation name="query"> <bm:query-sql><![CDATA[ select v.*, decode(v.registered_capital,0,'0',to_char(v.registered_capital,'999,999,999,990.99')) registered_capital_format, to_char(v.founded_date,'yyyy-mm-dd') founded_date_format, to_char(v.ref_d01,'yyyy-mm-dd') ref_d01_format, to_char(v.ref_d02,'yyyy-mm-dd') ref_d02_format, decode(v.paid_up_capital,0,'0',to_char(v.paid_up_capital,'999,999,999,990.99')) paid_up_capital_format from prj_project_bp_lv v where v.project_id = ${@project_id} and v.bp_category in ('TENANT','TENANT_SEC') order by v.bp_seq asc ]]></bm:query-sql> </bm:operation> </bm:operations> </bm:model>