<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: wangwei  
    $Date: 2016-12-15 上午10:03:38  
    $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
                    sv.code_value template_type,
                    sv.code_value_name  template_type_desc
                FROM
                    sys_code_values_v sv
                WHERE
                    sv.code                   ='CON632_VISIT_BP_TYPE' AND
                    sv.code_enabled_flag      ='Y' AND
                    sv.code_value_enabled_flag='Y'
                UNION
                SELECT 'COLLECTION' template_type,'电催' template_type_desc FROM dual
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
