<?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
                    *
                FROM
                    (SELECT
                        hpccr.hd_id,
                        hcpc.description, --描述
                        hcpc.note,        --备注
                        hcpc.confirm_flag --是否落实
                    FROM
                        hn_payment_cond_change_req hpccr,
                        hn_con_payment_con_hd hcpch,
                        hn_con_payment_conditions hcpc
                    WHERE
                        hpccr.hd_id         = hcpch.hd_id AND
                        hpccr.hd_id         = hcpc.hd_id AND
                        hpccr.change_req_id = ${@change_req_id}
                    ) t1 #WHERE_CLAUSE#
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
