<?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
                        hcpc.description --描述
                    FROM
                        hn_payment_cond_change_req hpccr,
                        hn_con_payment_con_hd hcpch,
                        hn_con_payment_conditions hcpc
                    WHERE
                        hpccr.change_req_id = hcpch.hd_id AND
                        hpccr.change_req_id = hcpc.hd_id AND
                        hpccr.change_req_id = ${@change_req_id}
                    ) t1 #WHERE_CLAUSE#
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION"/>
    </bm:fields>
    <!-- <bm:query-fields>
        <bm:query-field name="change_req_id" queryExpression="t1.change_req_id=${@change_req_id}"/>
    </bm:query-fields> -->
</bm:model>
