<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[

            select
            t1.bp_id,
            t1.bp_code,
            t1.bp_name
            from hls_bp_master t1
            where t1.bp_type = 'INSURER'
                    #WHERE_CLAUSE#
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="bp_id" forDisplay="true" forQuery="true" prompt="商业伙伴ID"/>
        <bm:field name="bp_code" forDisplay="true" forQuery="true" prompt="商业伙伴编号"/>
        <bm:field name="bp_name" forDisplay="true" forQuery="true" prompt="商业伙伴姓名"/>
    </bm:fields>
    <bm:query-fields>
        <bm:query-field name="bp_code" queryExpression="t1.bp_code like ${@bp_code}"/>
        <bm:query-field name="bp_name" queryExpression="t1.bp_name like ${@bp_name}"/>
    </bm:query-fields>
</bm:model>
