<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: weiwuzhen  
    $Date: 2016-5-9 下午4:13:32  
    $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 pbp.project_id,
            pbp.prj_bp_id,
        hp.province_id_n || hp.city_id_n ||
       hp.district_id_n || hp.address detailed_sent_address--邮寄地址
 from prj_project_bp pbp , hls_bp_master_address_lv hp
  where hp.address_type = 'DOC_SENT_ADDRESS'--邮寄地址
 and pbp.bp_id=hp.bp_id
 and pbp.bp_category='TENANT'
 AND PBP.BP_TYPE='TENANT'
 AND PBP.PROJECT_ID=${/parameter/@project_id}
 ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
