Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-bi
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
林锐标
slm-bi
Commits
6006d6e0
Commit
6006d6e0
authored
Jun 09, 2021
by
梁光意
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改下发没有权限的问题
parent
10236183
Pipeline
#9624
passed with stages
in 1 minute 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
VariableServiceImpl.java
...a/com/syc/slm/slmbi/service/impl/VariableServiceImpl.java
+1
-1
No files found.
src/main/java/com/syc/slm/slmbi/service/impl/VariableServiceImpl.java
View file @
6006d6e0
...
...
@@ -219,7 +219,7 @@ public class VariableServiceImpl implements VariableService {
if
(
StringUtils
.
isBlank
(
sendDTO
.
getUserId
()))
{
throw
new
SysException
(
"访问类型为私有,请传入创建人"
);
}
if
(
currentUser
.
getUid
().
equals
(
sendDTO
.
getUserId
()))
{
if
(
!
currentUser
.
getUid
().
equals
(
sendDTO
.
getUserId
()))
{
throw
new
SysException
(
"没有访问权限"
);
}
}
else
if
(
AccessType
.
CUSTOM
.
value
.
equals
(
sendDTO
.
getAccessType
()))
{
...
...
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