<?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 hpcr.check_way,
			       (select v.code_value_name
			          from sys_code_values_v v
			         where v.code = 'HN_PRJ_CHECK_WAY'
			           and v.code_value = hpcr.check_way) check_way_n,
			       hpcr.check_result 
			from hn_prj_check_result hpcr 
			where hpcr.check_id = ${@check_id}
				]]></bm:query-sql>
            <bm:parameters>
                <bm:parameter name="check_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
