get_sys_role.lwm 658 Bytes
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Feng  
    $Date: 2013-9-24 下午2:19:04  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                SELECT
                    e.role_id,
                    e.role_code,
                    e.role_name
                FROM
                    sys_role_vl e
                WHERE
                    e.role_id = ${/session/@role_id}
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>