<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: gaoyang 
    $Date: 2015-7-1 上午09:31:06  
    $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
                    d.column_name
                FROM
                    hls_doc_layout_config d
                WHERE
                    d.layout_code    = ${@layout_code} AND
                    d.tab_code       = ${/model/rootpath_table_name/record/@query_tab_code} AND
                    d.match_any_flag = 'Y' AND
                    d.enabled_flag   = 'Y'
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="column_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COLUMN_NAME" required="true"/>
    </bm:fields>
</bm:model>
