提交 d18bccba 编写于 作者: ibizdev's avatar ibizdev

zoo457790531 发布系统代码 [ibiz-uaa,UAA鉴权]

上级 b6d4286b
......@@ -28,7 +28,7 @@
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:localParam ='{ sys_roleid:"%sysrole%" }'
:disabled="detailsModel.prolename.disabled"
name='prolename'
......
......@@ -106,7 +106,7 @@
<!--输出实体[SYS_ROLE]数据结构 -->
<changeSet author="root" id="tab-sys_role-22-5">
<changeSet author="root" id="tab-sys_role-24-5">
<createTable tableName="IBZROLE">
<column name="SYS_ROLEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_SYS_ROLE_SYS_ROLEID"/>
......@@ -189,7 +189,7 @@
<!--输出实体[SYS_PSSYSTEM]外键关系 -->
<!--输出实体[SYS_PERMISSION]外键关系 -->
<!--输出实体[SYS_ROLE]外键关系 -->
<changeSet author="root" id="fk-sys_role-22-9">
<changeSet author="root" id="fk-sys_role-24-9">
<addForeignKeyConstraint baseColumnNames="PROLEID" baseTableName="IBZROLE" constraintName="DER1N_SYS_ROLE_SYS_ROLE_PROLEI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SYS_ROLEID" referencedTableName="IBZROLE" validate="true"/>
</changeSet>
<!--输出实体[SYS_ROLE_PERMISSION]外键关系 -->
......
......@@ -69,7 +69,7 @@
<!--数据查询[NoRepeat]-->
<sql id="NoRepeat" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`MEMO`, t1.`PROLEID`, t11.`SYS_ROLENAME` AS `PROLENAME`, t1.`SYS_ROLEID`, t1.`SYS_ROLENAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `IBZROLE` t1 LEFT JOIN IBZROLE t11 ON t1.PROLEID = t11.SYS_ROLEID
WHERE T1.SYS_ROLEID NOT IN ( SELECT DISTINCT (DATA.SYS_ROLEID) FROM( SELECT @SYS_ROLEID AS _ID, ( SELECT @SYS_ROLEID := PROLEID FROM IBZROLE WHERE SYS_ROLEID = @SYS_ROLEID LIMIT 0,1 ) AS _PID, @L := @L+1 AS LEVEL FROM IBZROLE, (SELECT @SYS_ROLEID := 'D55CC3BEA9F2CF24141A8C29FEAE5840', @L := 0 ) B ) ID, IBZROLE DATA WHERE ID._ID = DATA.SYS_ROLEID ORDER BY LEVEL)
WHERE T1.SYS_ROLEID NOT IN ( SELECT DISTINCT (DATA.SYS_ROLEID) FROM( SELECT @SYS_ROLEID AS _ID, ( SELECT @SYS_ROLEID := PROLEID FROM IBZROLE WHERE SYS_ROLEID = @SYS_ROLEID LIMIT 0,1 ) AS _PID, @L := @L+1 AS LEVEL FROM IBZROLE, (SELECT @SYS_ROLEID := ${srfdatacontext('','{\"defname\":\"SYS_ROLEID\",\"dename\":\"SYS_ROLE\"}')}, @L := 0 ) B ) ID, IBZROLE DATA WHERE ID._ID = DATA.SYS_ROLEID ORDER BY LEVEL)
]]>
</sql>
<!--数据查询[NoRepeat]-->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册