<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author:
    $Date: 2020-05-11
    $Revision: 1.0  
    $Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:fields>
        <bm:field name="sys_role_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SYS_ROLE_FLAG"/>
    </bm:fields>

    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
            	select decode(count(1), 1, 'Y', 'N') as sys_role_flag
            	  from sys_role v
            	#WHERE_CLAUSE#
    		]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
