<?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
            	 from prj_project_bp_lv v where v.project_id = ${@project_id} and v.bp_category = 'GUARANTOR' order by v.bp_seq asc
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
