<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: weiwuzhen  
    $Date: 2016-5-22 下午10:02:41  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                SELECT
                    p.project_id,
                    p.project_name,
                    (SDIC_INDIVIDUAL_PKG.string_combination('select pp.bp_name ||''(以下简称:''|| pp.bp_name||'')'' sum_name_tenant_sec  
                
                from prj_project_bp_lv pp 
                
                where  pp.bp_type = ''TENANT_SEC''   
                
                and pp.bp_category = ''TENANT''   
                
                and pp.project_id =', P.project_id,'、')) bp_name_tenant_sec
                FROM
                    prj_project p
                WHERE
                    p.project_id=${/parameter/@project_id}
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
