Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzuaa
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzuaa
提交
31356bee
提交
31356bee
编写于
5月 25, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码
上级
335da9ed
变更
12
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
34 行增加
和
193 行删除
+34
-193
index-base.vue
app_web/src/pages/uaa/index/index-base.vue
+28
-19
SysPermission.java
...c/main/java/cn/ibizlab/core/uaa/domain/SysPermission.java
+0
-8
SysRole.java
...ore/src/main/java/cn/ibizlab/core/uaa/domain/SysRole.java
+0
-16
SysUser.java
...ore/src/main/java/cn/ibizlab/core/uaa/domain/SysUser.java
+0
-8
ISysRolePermissionService.java
...n/ibizlab/core/uaa/service/ISysRolePermissionService.java
+0
-2
ISysUserRoleService.java
...java/cn/ibizlab/core/uaa/service/ISysUserRoleService.java
+0
-2
SysPermissionServiceImpl.java
...izlab/core/uaa/service/impl/SysPermissionServiceImpl.java
+0
-4
SysRolePermissionServiceImpl.java
...b/core/uaa/service/impl/SysRolePermissionServiceImpl.java
+0
-58
SysRoleServiceImpl.java
.../cn/ibizlab/core/uaa/service/impl/SysRoleServiceImpl.java
+0
-8
SysUserRoleServiceImpl.java
...ibizlab/core/uaa/service/impl/SysUserRoleServiceImpl.java
+0
-58
SysUserServiceImpl.java
.../cn/ibizlab/core/uaa/service/impl/SysUserServiceImpl.java
+0
-4
h2_table.xml
ibzuaa-core/src/main/resources/liquibase/h2_table.xml
+6
-6
未找到文件。
app_web/src/pages/uaa/index/index-base.vue
浏览文件 @
31356bee
<
template
>
<div
class=
"index_view "
>
<div
class=
"index_view index"
>
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"index"
></app-studioaction>
<layout
:class=
"themeClasses"
:style=
"themeStyle"
>
<header
class=
"index_header"
>
<div
class=
"header-left"
>
<header
class=
"index_header"
>
<div
class=
"header-left"
>
<div
class=
"page-logo"
>
<img
src=
"../../../assets/img/logo.png"
height=
"32"
/>
<img
src=
"../../../assets/img/logo.png"
height=
"32"
/>
<span
style=
"display: inline-block;margin-left: 10px;font-size: 22px;"
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
</div>
<div
style=
"margin-left: 50px;"
>
</div>
<div
class=
"header-right"
style=
"display: flex;align-items: center;justify-content: space-between;"
>
<app-header-menus
/>
<app-lang
style=
'font-size: 15px;padding: 0 10px;'
></app-lang>
<app-orgsector></app-orgsector>
<app-user></app-user>
<app-theme
style=
"width:45px;display: flex;justify-content: center;"
></app-theme>
</div>
</header>
<layout>
<sider
:width=
"collapseChange ? 64 : 200"
hide-trigger
v-model=
"collapseChange"
>
<div
class=
"sider-top"
>
<i
class=
"ivu-icon ivu-icon-md-menu"
@
click=
"handleClick"
></i>
</div>
<view
_appmenu
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
@@ -22,19 +36,14 @@
ref=
'appmenu'
@
closeview=
"closeView($event)"
>
</view
_appmenu
>
</div>
</div>
<div
class=
"header-right"
style=
"display: flex;align-items: center;justify-content: space-between;"
>
<app-header-menus
/>
<app-lang
style=
'font-size: 15px;padding: 0 10px;'
></app-lang>
<app-orgsector></app-orgsector>
<app-user></app-user>
<app-theme
style=
"width:45px;display: flex;justify-content: center;"
></app-theme>
</div>
</header>
<content
style=
"height:calc(100vh - 50px);"
>
<router-view></router-view>
</content>
</sider>
<content
class=
"index_content"
:style=
"
{'width':this.collapseChange ? 'calc(100vw - 64px)' : 'calc(100vw - 200px)' }">
<tab-page-exp></tab-page-exp>
<app-keep-alive
:routerList=
"getRouterList"
>
<router-view
:key=
"getRouterViewKey"
></router-view>
</app-keep-alive>
</content>
</layout>
</layout>
</div>
...
...
@@ -435,7 +444,7 @@ export default class IndexBase extends Vue {
* @type {string}
* @memberof IndexBase
*/
public
mode
:
string
=
'
horizont
al'
;
public
mode
:
string
=
'
vertic
al'
;
/**
* 当前主题
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/domain/SysPermission.java
浏览文件 @
31356bee
...
...
@@ -94,14 +94,6 @@ public class SysPermission extends EntityMP implements Serializable {
private
Timestamp
updatedate
;
/**
* 角色权限关系
*/
@JsonIgnore
@JSONField
(
serialize
=
false
)
@TableField
(
exist
=
false
)
private
List
<
cn
.
ibizlab
.
core
.
uaa
.
domain
.
SysRolePermission
>
sysrolepermission
;
/**
* 设置 [资源名称]
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/domain/SysRole.java
浏览文件 @
31356bee
...
...
@@ -78,22 +78,6 @@ public class SysRole extends EntityMP implements Serializable {
private
Timestamp
updatedate
;
/**
* 角色权限关系
*/
@JsonIgnore
@JSONField
(
serialize
=
false
)
@TableField
(
exist
=
false
)
private
List
<
cn
.
ibizlab
.
core
.
uaa
.
domain
.
SysRolePermission
>
sysrolepermission
;
/**
* 用户角色关系
*/
@JsonIgnore
@JSONField
(
serialize
=
false
)
@TableField
(
exist
=
false
)
private
List
<
cn
.
ibizlab
.
core
.
uaa
.
domain
.
SysUserRole
>
sysuserrole
;
/**
* 设置 [角色表名称]
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/domain/SysUser.java
浏览文件 @
31356bee
...
...
@@ -66,14 +66,6 @@ public class SysUser extends EntityMP implements Serializable {
private
String
password
;
/**
* 用户角色关系
*/
@JsonIgnore
@JSONField
(
serialize
=
false
)
@TableField
(
exist
=
false
)
private
List
<
cn
.
ibizlab
.
core
.
uaa
.
domain
.
SysUserRole
>
sysuserrole
;
/**
* 设置 [用户全局名]
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/ISysRolePermissionService.java
浏览文件 @
31356bee
...
...
@@ -39,10 +39,8 @@ public interface ISysRolePermissionService extends IService<SysRolePermission>{
Page
<
SysRolePermission
>
searchDefault
(
SysRolePermissionSearchContext
context
)
;
List
<
SysRolePermission
>
selectByPermissionid
(
String
permissionid
)
;
void
removeByPermissionid
(
String
permissionid
)
;
void
saveByPermissionid
(
String
permissionid
,
List
<
SysRolePermission
>
list
)
;
List
<
SysRolePermission
>
selectByRoleid
(
String
roleid
)
;
void
removeByRoleid
(
String
roleid
)
;
void
saveByRoleid
(
String
roleid
,
List
<
SysRolePermission
>
list
)
;
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/ISysUserRoleService.java
浏览文件 @
31356bee
...
...
@@ -39,10 +39,8 @@ public interface ISysUserRoleService extends IService<SysUserRole>{
Page
<
SysUserRole
>
searchDefault
(
SysUserRoleSearchContext
context
)
;
List
<
SysUserRole
>
selectByRoleid
(
String
roleid
)
;
void
removeByRoleid
(
String
roleid
)
;
void
saveByRoleid
(
String
roleid
,
List
<
SysUserRole
>
list
)
;
List
<
SysUserRole
>
selectByUserid
(
String
userid
)
;
void
removeByUserid
(
String
userid
)
;
void
saveByUserid
(
String
userid
,
List
<
SysUserRole
>
list
)
;
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysPermissionServiceImpl.java
浏览文件 @
31356bee
...
...
@@ -89,7 +89,6 @@ public class SysPermissionServiceImpl extends ServiceImpl<SysPermissionMapper, S
@Override
@Transactional
public
boolean
remove
(
String
key
)
{
sysrolepermissionService
.
removeByPermissionid
(
key
)
;
boolean
result
=
removeById
(
key
);
return
result
;
}
...
...
@@ -104,7 +103,6 @@ public class SysPermissionServiceImpl extends ServiceImpl<SysPermissionMapper, S
public
boolean
update
(
SysPermission
et
)
{
if
(!
update
(
et
,(
Wrapper
)
et
.
getUpdateWrapper
(
true
).
eq
(
"sys_permissionid"
,
et
.
getPermissionid
())))
return
false
;
sysrolepermissionService
.
saveByPermissionid
(
et
.
getPermissionid
(),
et
.
getSysrolepermission
());
CachedBeanCopier
.
copy
(
get
(
et
.
getPermissionid
()),
et
);
return
true
;
}
...
...
@@ -119,7 +117,6 @@ public class SysPermissionServiceImpl extends ServiceImpl<SysPermissionMapper, S
public
boolean
create
(
SysPermission
et
)
{
if
(!
this
.
retBool
(
this
.
baseMapper
.
insert
(
et
)))
return
false
;
sysrolepermissionService
.
saveByPermissionid
(
et
.
getPermissionid
(),
et
.
getSysrolepermission
());
CachedBeanCopier
.
copy
(
get
(
et
.
getPermissionid
()),
et
);
return
true
;
}
...
...
@@ -143,7 +140,6 @@ public class SysPermissionServiceImpl extends ServiceImpl<SysPermissionMapper, S
et
.
setPermissionid
(
key
);
}
else
{
et
.
setSysrolepermission
(
sysrolepermissionService
.
selectByPermissionid
(
key
));
}
return
et
;
}
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysRolePermissionServiceImpl.java
浏览文件 @
31356bee
...
...
@@ -165,35 +165,6 @@ public class SysRolePermissionServiceImpl extends ServiceImpl<SysRolePermissionM
this
.
remove
(
new
QueryWrapper
<
SysRolePermission
>().
eq
(
"sys_permissionid"
,
permissionid
));
}
@Override
public
void
saveByPermissionid
(
String
permissionid
,
List
<
SysRolePermission
>
list
)
{
if
(
list
==
null
)
return
;
Set
<
String
>
delIds
=
new
HashSet
<
String
>();
List
<
SysRolePermission
>
_update
=
new
ArrayList
<
SysRolePermission
>();
List
<
SysRolePermission
>
_create
=
new
ArrayList
<
SysRolePermission
>();
for
(
SysRolePermission
before:
selectByPermissionid
(
permissionid
)){
delIds
.
add
(
before
.
getRolepermissionid
());
}
for
(
SysRolePermission
sub:
list
)
{
sub
.
setPermissionid
(
permissionid
);
if
(
ObjectUtils
.
isEmpty
(
sub
.
getRolepermissionid
()))
sub
.
setRolepermissionid
((
String
)
sub
.
getDefaultKey
(
true
));
if
(
delIds
.
contains
(
sub
.
getRolepermissionid
()))
{
delIds
.
remove
(
sub
.
getRolepermissionid
());
_update
.
add
(
sub
);
}
else
_create
.
add
(
sub
);
}
if
(
_update
.
size
()>
0
)
this
.
updateBatch
(
_update
);
if
(
_create
.
size
()>
0
)
this
.
createBatch
(
_create
);
if
(
delIds
.
size
()>
0
)
this
.
removeBatch
(
delIds
);
}
@Override
public
List
<
SysRolePermission
>
selectByRoleid
(
String
roleid
)
{
return
baseMapper
.
selectByRoleid
(
roleid
);
...
...
@@ -204,35 +175,6 @@ public class SysRolePermissionServiceImpl extends ServiceImpl<SysRolePermissionM
this
.
remove
(
new
QueryWrapper
<
SysRolePermission
>().
eq
(
"sys_roleid"
,
roleid
));
}
@Override
public
void
saveByRoleid
(
String
roleid
,
List
<
SysRolePermission
>
list
)
{
if
(
list
==
null
)
return
;
Set
<
String
>
delIds
=
new
HashSet
<
String
>();
List
<
SysRolePermission
>
_update
=
new
ArrayList
<
SysRolePermission
>();
List
<
SysRolePermission
>
_create
=
new
ArrayList
<
SysRolePermission
>();
for
(
SysRolePermission
before:
selectByRoleid
(
roleid
)){
delIds
.
add
(
before
.
getRolepermissionid
());
}
for
(
SysRolePermission
sub:
list
)
{
sub
.
setRoleid
(
roleid
);
if
(
ObjectUtils
.
isEmpty
(
sub
.
getRolepermissionid
()))
sub
.
setRolepermissionid
((
String
)
sub
.
getDefaultKey
(
true
));
if
(
delIds
.
contains
(
sub
.
getRolepermissionid
()))
{
delIds
.
remove
(
sub
.
getRolepermissionid
());
_update
.
add
(
sub
);
}
else
_create
.
add
(
sub
);
}
if
(
_update
.
size
()>
0
)
this
.
updateBatch
(
_update
);
if
(
_create
.
size
()>
0
)
this
.
createBatch
(
_create
);
if
(
delIds
.
size
()>
0
)
this
.
removeBatch
(
delIds
);
}
/**
* 查询集合 DEFAULT
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysRoleServiceImpl.java
浏览文件 @
31356bee
...
...
@@ -89,8 +89,6 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
public
boolean
update
(
SysRole
et
)
{
if
(!
update
(
et
,(
Wrapper
)
et
.
getUpdateWrapper
(
true
).
eq
(
"sys_roleid"
,
et
.
getRoleid
())))
return
false
;
sysrolepermissionService
.
saveByRoleid
(
et
.
getRoleid
(),
et
.
getSysrolepermission
());
sysuserroleService
.
saveByRoleid
(
et
.
getRoleid
(),
et
.
getSysuserrole
());
CachedBeanCopier
.
copy
(
get
(
et
.
getRoleid
()),
et
);
return
true
;
}
...
...
@@ -105,8 +103,6 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
public
boolean
create
(
SysRole
et
)
{
if
(!
this
.
retBool
(
this
.
baseMapper
.
insert
(
et
)))
return
false
;
sysrolepermissionService
.
saveByRoleid
(
et
.
getRoleid
(),
et
.
getSysrolepermission
());
sysuserroleService
.
saveByRoleid
(
et
.
getRoleid
(),
et
.
getSysuserrole
());
CachedBeanCopier
.
copy
(
get
(
et
.
getRoleid
()),
et
);
return
true
;
}
...
...
@@ -125,8 +121,6 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
et
.
setRoleid
(
key
);
}
else
{
et
.
setSysrolepermission
(
sysrolepermissionService
.
selectByRoleid
(
key
));
et
.
setSysuserrole
(
sysuserroleService
.
selectByRoleid
(
key
));
}
return
et
;
}
...
...
@@ -134,8 +128,6 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
@Override
@Transactional
public
boolean
remove
(
String
key
)
{
sysrolepermissionService
.
removeByRoleid
(
key
)
;
sysuserroleService
.
removeByRoleid
(
key
)
;
boolean
result
=
removeById
(
key
);
return
result
;
}
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysUserRoleServiceImpl.java
浏览文件 @
31356bee
...
...
@@ -165,35 +165,6 @@ public class SysUserRoleServiceImpl extends ServiceImpl<SysUserRoleMapper, SysUs
this
.
remove
(
new
QueryWrapper
<
SysUserRole
>().
eq
(
"sys_roleid"
,
roleid
));
}
@Override
public
void
saveByRoleid
(
String
roleid
,
List
<
SysUserRole
>
list
)
{
if
(
list
==
null
)
return
;
Set
<
String
>
delIds
=
new
HashSet
<
String
>();
List
<
SysUserRole
>
_update
=
new
ArrayList
<
SysUserRole
>();
List
<
SysUserRole
>
_create
=
new
ArrayList
<
SysUserRole
>();
for
(
SysUserRole
before:
selectByRoleid
(
roleid
)){
delIds
.
add
(
before
.
getUserroleid
());
}
for
(
SysUserRole
sub:
list
)
{
sub
.
setRoleid
(
roleid
);
if
(
ObjectUtils
.
isEmpty
(
sub
.
getUserroleid
()))
sub
.
setUserroleid
((
String
)
sub
.
getDefaultKey
(
true
));
if
(
delIds
.
contains
(
sub
.
getUserroleid
()))
{
delIds
.
remove
(
sub
.
getUserroleid
());
_update
.
add
(
sub
);
}
else
_create
.
add
(
sub
);
}
if
(
_update
.
size
()>
0
)
this
.
updateBatch
(
_update
);
if
(
_create
.
size
()>
0
)
this
.
createBatch
(
_create
);
if
(
delIds
.
size
()>
0
)
this
.
removeBatch
(
delIds
);
}
@Override
public
List
<
SysUserRole
>
selectByUserid
(
String
userid
)
{
return
baseMapper
.
selectByUserid
(
userid
);
...
...
@@ -204,35 +175,6 @@ public class SysUserRoleServiceImpl extends ServiceImpl<SysUserRoleMapper, SysUs
this
.
remove
(
new
QueryWrapper
<
SysUserRole
>().
eq
(
"sys_userid"
,
userid
));
}
@Override
public
void
saveByUserid
(
String
userid
,
List
<
SysUserRole
>
list
)
{
if
(
list
==
null
)
return
;
Set
<
String
>
delIds
=
new
HashSet
<
String
>();
List
<
SysUserRole
>
_update
=
new
ArrayList
<
SysUserRole
>();
List
<
SysUserRole
>
_create
=
new
ArrayList
<
SysUserRole
>();
for
(
SysUserRole
before:
selectByUserid
(
userid
)){
delIds
.
add
(
before
.
getUserroleid
());
}
for
(
SysUserRole
sub:
list
)
{
sub
.
setUserid
(
userid
);
if
(
ObjectUtils
.
isEmpty
(
sub
.
getUserroleid
()))
sub
.
setUserroleid
((
String
)
sub
.
getDefaultKey
(
true
));
if
(
delIds
.
contains
(
sub
.
getUserroleid
()))
{
delIds
.
remove
(
sub
.
getUserroleid
());
_update
.
add
(
sub
);
}
else
_create
.
add
(
sub
);
}
if
(
_update
.
size
()>
0
)
this
.
updateBatch
(
_update
);
if
(
_create
.
size
()>
0
)
this
.
createBatch
(
_create
);
if
(
delIds
.
size
()>
0
)
this
.
removeBatch
(
delIds
);
}
/**
* 查询集合 DEFAULT
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysUserServiceImpl.java
浏览文件 @
31356bee
...
...
@@ -53,7 +53,6 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
@Override
@Transactional
public
boolean
remove
(
String
key
)
{
sysuserroleService
.
removeByUserid
(
key
)
;
boolean
result
=
removeById
(
key
);
return
result
;
}
...
...
@@ -68,7 +67,6 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
public
boolean
update
(
SysUser
et
)
{
if
(!
update
(
et
,(
Wrapper
)
et
.
getUpdateWrapper
(
true
).
eq
(
"userid"
,
et
.
getUserid
())))
return
false
;
sysuserroleService
.
saveByUserid
(
et
.
getUserid
(),
et
.
getSysuserrole
());
CachedBeanCopier
.
copy
(
get
(
et
.
getUserid
()),
et
);
return
true
;
}
...
...
@@ -92,7 +90,6 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
et
.
setUserid
(
key
);
}
else
{
et
.
setSysuserrole
(
sysuserroleService
.
selectByUserid
(
key
));
}
return
et
;
}
...
...
@@ -138,7 +135,6 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
public
boolean
create
(
SysUser
et
)
{
if
(!
this
.
retBool
(
this
.
baseMapper
.
insert
(
et
)))
return
false
;
sysuserroleService
.
saveByUserid
(
et
.
getUserid
(),
et
.
getSysuserrole
());
CachedBeanCopier
.
copy
(
get
(
et
.
getUserid
()),
et
);
return
true
;
}
...
...
ibzuaa-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
31356bee
...
...
@@ -66,7 +66,7 @@
<!--输出实体[SYS_ROLE_PERMISSION]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_role_permission-9
1
-3"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_role_permission-9
3
-3"
>
<createTable
tableName=
"IBZROLE_PERMISSION"
>
<column
name=
"SYS_ROLE_PERMISSIONID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_ROLE_PERMISSION_SYS_ROL"
/>
...
...
@@ -106,7 +106,7 @@
<!--输出实体[SYS_USER_ROLE]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_user_role-5
7
-5"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_user_role-5
9
-5"
>
<createTable
tableName=
"IBZUSER_ROLE"
>
<column
name=
"SYS_USER_ROLEID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_USER_ROLE_SYS_USER_ROLE"
/>
...
...
@@ -124,7 +124,7 @@
<!--输出实体[SYS_PERMISSION]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_permission-21
2
-6"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_permission-21
3
-6"
>
<createTable
tableName=
"IBZPERMISSION"
>
<column
name=
"SYS_PERMISSIONID"
remarks=
""
type=
"VARCHAR(200)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_PERMISSION_SYS_PERMISSI"
/>
...
...
@@ -146,7 +146,7 @@
<!--输出实体[SYS_ROLE]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_role-8
3
-7"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_role-8
5
-7"
>
<createTable
tableName=
"IBZROLE"
>
<column
name=
"SYS_ROLEID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_ROLE_SYS_ROLEID"
/>
...
...
@@ -209,12 +209,12 @@
<!--输出实体[SYS_AUTHLOG]外键关系 -->
<!--输出实体[SYS_PSDEOPPRIV]外键关系 -->
<!--输出实体[SYS_ROLE_PERMISSION]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-sys_role_permission-9
1
-10"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-sys_role_permission-9
3
-10"
>
<addForeignKeyConstraint
baseColumnNames=
"SYS_PERMISSIONID"
baseTableName=
"IBZROLE_PERMISSION"
constraintName=
"DER1N_SYS_ROLE_PERMISSION_SYS_"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SYS_PERMISSIONID"
referencedTableName=
"IBZPERMISSION"
validate=
"true"
/>
</changeSet>
<!--输出实体[SYS_PSSYSUNIRES]外键关系 -->
<!--输出实体[SYS_USER_ROLE]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-sys_user_role-5
7
-12"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-sys_user_role-5
9
-12"
>
<addForeignKeyConstraint
baseColumnNames=
"SYS_ROLEID"
baseTableName=
"IBZUSER_ROLE"
constraintName=
"DER1N_SYS_USER_ROLE_SYS_ROLE_S"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SYS_ROLEID"
referencedTableName=
"IBZROLE"
validate=
"true"
/>
</changeSet>
<!--输出实体[SYS_PERMISSION]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录