Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
ca98ff50
Commit
ca98ff50
authored
Jun 14, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据权限配置-拦截
parent
93777b7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
SysDataAuthServiceImpl.java
...us.v1/yifu/admin/service/impl/SysDataAuthServiceImpl.java
+7
-0
No files found.
yifu-upms/yifu-upms-biz/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/service/impl/SysDataAuthServiceImpl.java
View file @
ca98ff50
...
...
@@ -116,6 +116,13 @@ public class SysDataAuthServiceImpl extends ServiceImpl<SysDataAuthMapper, SysDa
String
mainId
=
sysDataAuth
.
getId
();
R
<
String
>
failed
;
if
(
mainId
==
null
)
{
SysDataAuth
old
=
new
SysDataAuth
();
old
.
setLinkId
(
sysDataAuth
.
getLinkId
());
old
.
setLinkType
(
sysDataAuth
.
getLinkType
());
List
<
SysDataAuth
>
oldList
=
this
.
getSysDataAuthList
(
old
);
if
(
oldList
!=
null
&&
!
oldList
.
isEmpty
())
{
return
R
.
failed
(
sysDataAuth
.
getLinkName
()
+
" 已存在,不可新增,请去编辑!"
);
}
// 新增
sysDataAuth
.
setCreateBy
(
user
.
getId
());
sysDataAuth
.
setCreateName
(
user
.
getNickname
());
...
...
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