<?xml version="1.0" encoding="UTF-8"?>

<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:fields>
        <bm:field name="division" />
        <bm:field name="description" />
    </bm:fields>
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                SELECT distinct('00') division,'挖掘机/OEM' description
                 FROM hls_division hd
                 where hd.enabled_flag = 'Y'
                 and hd.division in (00,10)
                 union all
                 SELECT division,description
                 FROM hls_division hd
                 where hd.enabled_flag = 'Y'
                 and hd.division in (01,03)
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>