<?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,
            	   hpcabl.bp_name,
            	   hpcabl.bp_type_n,
			       hpcbdl.point_side,  --重点方面
			       hpcbdl.point_check_status_n  --检查结论
			from hn_prj_check_actual_bp_lv hpcabl,
			     hn_prj_check_bp_detail_lv hpcbdl
			where hpcabl.check_bp_id = hpcbdl.check_bp_id AND
				  hpcabl.bp_type_n = '主担保人' AND
			      hpcabl.check_id = ${@check_id}
			      ]]></bm:query-sql>
            <bm:parameters>
                <bm:parameter name="check_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
