<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: lpc 9874 
    $Date:  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
               select t.*,
               (select code_value_name from sys_code_values_v scv where scv.code='HLS211_TAXPAYER_TYPE' and code_value=t.taxpayer_type) taxpayer_type_n

               from hls_bp_master t
               #WHERE_CLAUSE#
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:query-fields>
        <bm:query-field name="bp_id" queryExpression="t.bp_id=${@bp_id}"/>
    </bm:query-fields>
</bm:model>
