<![CDATA[select t1.* from (SELECT t1.CREATEDATE, t21.ENABLE AS PERMISSIONENABLE, t21.PERMISSIONTYPE, t1.SYS_PERMISSIONID, t21.SYS_PERMISSIONNAME, t1.SYS_ROLEID, t11.SYS_ROLENAME, t1.SYS_ROLE_PERMISSIONID, t1.UPDATEDATE FROM IBZROLE_PERMISSION t1 LEFT JOIN IBZROLE t11 ON t1.SYS_ROLEID = t11.SYS_ROLEID LEFT JOIN IBZPERMISSION t21 ON t1.SYS_PERMISSIONID = t21.SYS_PERMISSIONID ) t1 where sys_role_permissionid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.CREATEDATE, t21.ENABLE AS PERMISSIONENABLE, t21.PERMISSIONTYPE, t1.SYS_PERMISSIONID, t21.SYS_PERMISSIONNAME, t1.SYS_ROLEID, t11.SYS_ROLENAME, t1.SYS_ROLE_PERMISSIONID, t1.UPDATEDATE FROM IBZROLE_PERMISSION t1 LEFT JOIN IBZROLE t11 ON t1.SYS_ROLEID = t11.SYS_ROLEID LEFT JOIN IBZPERMISSION t21 ON t1.SYS_PERMISSIONID = t21.SYS_PERMISSIONID ) t1 where sys_role_permissionid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.CREATEDATE, t21.ENABLE AS PERMISSIONENABLE, t21.PERMISSIONTYPE, t1.SYS_PERMISSIONID, t21.SYS_PERMISSIONNAME, t1.SYS_ROLEID, t11.SYS_ROLENAME, t1.SYS_ROLE_PERMISSIONID, t1.UPDATEDATE FROM IBZROLE_PERMISSION t1 LEFT JOIN IBZROLE t11 ON t1.SYS_ROLEID = t11.SYS_ROLEID LEFT JOIN IBZPERMISSION t21 ON t1.SYS_PERMISSIONID = t21.SYS_PERMISSIONID ) t1 where sys_role_permissionid=#{id}]]>
<![CDATA[ SELECT t1.CREATEDATE, t1.SYS_ROLEID, t11.SYS_ROLENAME, t1.SYS_USERID, t21.PERSONNAME AS SYS_USERNAME, t1.SYS_USER_ROLEID, t1.UPDATEDATE FROM IBZUSER_ROLE t1 LEFT JOIN IBZROLE t11 ON t1.SYS_ROLEID = t11.SYS_ROLEID LEFT JOIN IBZUSER t21 ON t1.SYS_USERID = t21.USERID
<![CDATA[ SELECT t1.CREATEDATE, t1.SYS_ROLEID, t11.SYS_ROLENAME, t1.SYS_USERID, t21.PERSONNAME AS SYS_USERNAME, t1.SYS_USER_ROLEID, t1.UPDATEDATE FROM IBZUSER_ROLE t1 LEFT JOIN IBZROLE t11 ON t1.SYS_ROLEID = t11.SYS_ROLEID LEFT JOIN IBZUSER t21 ON t1.SYS_USERID = t21.USERID
]]>
]]>
</sql>
</sql>
<!--数据查询[Default]-->
<sqlid="Default"databaseId="postgresql">
<![CDATA[ SELECT t1.CREATEDATE, t1.SYS_ROLEID, t11.SYS_ROLENAME, t1.SYS_USERID, t21.PERSONNAME AS SYS_USERNAME, t1.SYS_USER_ROLEID, t1.UPDATEDATE FROM IBZUSER_ROLE t1 LEFT JOIN IBZROLE t11 ON t1.SYS_ROLEID = t11.SYS_ROLEID LEFT JOIN IBZUSER t21 ON t1.SYS_USERID = t21.USERID