<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
            select rownum,
            	   hpcabfl.bp_name,
			       hpcabfl.bp_type_n, --项目角色
			       hpcbf.data_name,   --数据名称
			       hpcbf.data01,
			       hpcbf.data02,
			       hpcbf.data03,
			       hpcbf.data04,
			       hpcbf.data05
			from hn_prj_check_actual_bp_f_lv hpcabfl,
			     HN_PRJ_CHECK_BP_FIN hpcbf
			where hpcabfl.check_bp_id = hpcbf.check_bp_id AND
				  hpcabfl.bp_type_n = '次承租人' AND
			      hpcabfl.check_id = ${@check_id}
			      ]]></bm:query-sql>
            <bm:parameters>
                <bm:parameter name="check_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
