Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
aserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
15所TongWeb
aserver
Commits
e72e5af0
Commit
e72e5af0
authored
Mar 17, 2021
by
胡文斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户有所有隐藏菜单权限
parent
e2b81620
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
3 deletions
+20
-3
KingBase_UpdateSQL.xml
src/main/resources/DBUpdate/KingBase_UpdateSQL.xml
+8
-0
ST_UpdateSQL.xml
src/main/resources/DBUpdate/ST_UpdateSQL.xml
+8
-1
oracle.sql
src/main/resources/oracle.sql
+4
-2
No files found.
src/main/resources/DBUpdate/KingBase_UpdateSQL.xml
View file @
e72e5af0
...
@@ -2961,5 +2961,12 @@
...
@@ -2961,5 +2961,12 @@
CREATE SEQUENCE "SEQ_COMPILATION_CKEDITOR" INCREMENT BY 1 START WITH 1 MAXVALUE 99999999999999 MINVALUE 1 CACHE 20;
CREATE SEQUENCE "SEQ_COMPILATION_CKEDITOR" INCREMENT BY 1 START WITH 1 MAXVALUE 99999999999999 MINVALUE 1 CACHE 20;
</sql>
</sql>
</version>
</version>
<version
edition=
"137"
description=
"添加移交附表详情"
>
<sql
creator=
"huwenbin"
createDate=
"20210316"
note=
"添加移交附表详情"
>
insert into AS_MENU(ID,NAME,TITLE,ICON,DESCRIPTION,PATH,TARGET,SYSTEM_ID,HIDDEN,FIRST_LEVEL_NAME,SECOND_LEVEL_NAME,GROUP_ORDER)
VALUES(SEQ_MENU.nextval,'handoverScheView','移交附表详情',NULL,NULL,'#/handoverProcess/handoverScheView',NULL,429,1,'鉴定统计','档案移交',0);
commit;
</sql>
</version>
</update>
</update>
\ No newline at end of file
src/main/resources/DBUpdate/ST_UpdateSQL.xml
View file @
e72e5af0
...
@@ -2970,5 +2970,11 @@
...
@@ -2970,5 +2970,11 @@
nocache;
nocache;
</sql>
</sql>
</version>
</version>
<version
edition=
"137"
description=
"添加移交附表详情"
>
<sql
creator=
"huwenbin"
createDate=
"20210316"
note=
"添加移交附表详情"
>
insert into AS_MENU(ID,NAME,TITLE,ICON,DESCRIPTION,PATH,TARGET,SYSTEM_ID,HIDDEN,FIRST_LEVEL_NAME,SECOND_LEVEL_NAME,GROUP_ORDER)
VALUES(SEQ_MENU.nextval,'handoverScheView','移交附表详情',NULL,NULL,'#/handoverProcess/handoverScheView',NULL,429,1,'鉴定统计','档案移交',0);
commit;
</sql>
</version>
</update>
</update>
\ No newline at end of file
src/main/resources/oracle.sql
View file @
e72e5af0
...
@@ -320,13 +320,15 @@ select * from AS_MENU where ID in (
...
@@ -320,13 +320,15 @@ select * from AS_MENU where ID in (
#
end
#
end
###
获取三级菜单
###
获取三级菜单
所有用户有所有隐藏菜单的权限
huwenbin
2021
.
3
.
17
#
sql
(
"getMenuGroup"
)
#
sql
(
"getMenuGroup"
)
select
*
from
AS_MENU
where
ID
in
(
select
*
from
AS_MENU
where
ID
in
(
select
MENU_ID
from
AS_ROLE_MENU
where
ROLE_ID
in
(
select
MENU_ID
from
AS_ROLE_MENU
where
ROLE_ID
in
(
select
r
.
ID
from
AS_ROLE
r
,
AS_ROLE_USER
ru
where
r
.
ID
=
ru
.
ROLE_ID
and
ru
.
USER_ID
=#
para
(
userId
)
select
r
.
ID
from
AS_ROLE
r
,
AS_ROLE_USER
ru
where
r
.
ID
=
ru
.
ROLE_ID
and
ru
.
USER_ID
=#
para
(
userId
)
)
)
)
order
by
GROUP_ORDER
DESC
;
)
or
hidden
=
'1'
order
by
GROUP_ORDER
DESC
;
#
end
#
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment