Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-core
Overview
Overview
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
isc-v3.1-tmp
isc-core
Commits
b363d40b
Commit
b363d40b
authored
Nov 07, 2024
by
jianglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改URO逻辑:若URO表配置为空则默认可以参看所以下辖机构信息,若URO有值则只可以查看URO配置
parent
b3485dfd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
BchServiceImpl.java
...iance/isc/common/api/bch/service/impl/BchServiceImpl.java
+4
-0
No files found.
isc-common-service/src/main/java/com/brilliance/isc/common/api/bch/service/impl/BchServiceImpl.java
View file @
b363d40b
...
...
@@ -696,6 +696,10 @@ public class BchServiceImpl implements BchService {
List
<
String
>
uroList
=
bchMapper
.
selectByUroUserId
(
userId
);
List
<
String
>
bchList
=
this
.
listAllChildAndItselfBchInr
(
branch
);
List
<
String
>
userList
=
uroList
.
stream
().
filter
(
bchList:
:
contains
).
collect
(
Collectors
.
toList
());
//修改为uro未配置,默认可以查看全部
if
(
uroList
==
null
||
uroList
.
size
()<=
0
){
return
bchList
;
}
return
userList
;
}
...
...
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