<?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
                        b.bp_id,
                        b.business_license_num,
                        b.id_card_no,
                        b.bp_name
                    FROM
                        hls_bp_master b
                    ) t #WHERE_CLAUSE#
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="bp_id"/>
    </bm:fields>
    <bm:query-fields>
        <bm:query-field name="business_license_num" queryExpression="t.business_license_num= ${@business_license_num}"/>
        <bm:query-field name="id_card_no" queryExpression="t.id_card_no= ${@id_card_no}"/>
        <bm:query-field name="bp_name" queryExpression="t.bp_name= ${@bp_name}"/>
    </bm:query-fields>
</bm:model>
