Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-csf
Commits
798e374b
Commit
798e374b
authored
Jul 03, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
ed708858
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiCsfClientUserServiceImpl.java
+4
-1
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiCsfClientUserServiceImpl.java
View file @
798e374b
...
@@ -255,7 +255,7 @@ public class ApiCsfClientUserServiceImpl implements ApiCsfClientUserService {
...
@@ -255,7 +255,7 @@ public class ApiCsfClientUserServiceImpl implements ApiCsfClientUserService {
.
eq
(
AgentManageRelation:
:
getAgentId
,
clientUserBizId
)
.
eq
(
AgentManageRelation:
:
getAgentId
,
clientUserBizId
)
.
list
()
// 可能包含 null 元素
.
list
()
// 可能包含 null 元素
.
stream
()
.
stream
()
.
filter
(
Objects:
:
nonNull
)
//
关键:
过滤掉 null 对象
.
filter
(
Objects:
:
nonNull
)
// 过滤掉 null 对象
.
map
(
AgentManageRelation:
:
getManageId
)
.
map
(
AgentManageRelation:
:
getManageId
)
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
log
.
info
(
"获取一级管理列表=>manageIdList:{}"
,
JSON
.
toJSONString
(
manageIdList
));
log
.
info
(
"获取一级管理列表=>manageIdList:{}"
,
JSON
.
toJSONString
(
manageIdList
));
...
@@ -292,6 +292,7 @@ public class ApiCsfClientUserServiceImpl implements ApiCsfClientUserService {
...
@@ -292,6 +292,7 @@ public class ApiCsfClientUserServiceImpl implements ApiCsfClientUserService {
.
eq
(
AgentManageRelation:
:
getAgentId
,
clientUserBizId
)
.
eq
(
AgentManageRelation:
:
getAgentId
,
clientUserBizId
)
.
list
()
// 返回 List<AgentTutoringRelation>
.
list
()
// 返回 List<AgentTutoringRelation>
.
stream
()
.
stream
()
.
filter
(
Objects:
:
nonNull
)
.
map
(
AgentManageRelation:
:
getSManageId
)
.
map
(
AgentManageRelation:
:
getSManageId
)
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
if
(
CollectionUtils
.
isEmpty
(
manageIdList
))
{
if
(
CollectionUtils
.
isEmpty
(
manageIdList
))
{
...
@@ -327,6 +328,7 @@ public class ApiCsfClientUserServiceImpl implements ApiCsfClientUserService {
...
@@ -327,6 +328,7 @@ public class ApiCsfClientUserServiceImpl implements ApiCsfClientUserService {
.
eq
(
AgentReferralRelation:
:
getAgentId
,
clientUserBizId
)
.
eq
(
AgentReferralRelation:
:
getAgentId
,
clientUserBizId
)
.
list
()
// 返回 List<AgentTutoringRelation>
.
list
()
// 返回 List<AgentTutoringRelation>
.
stream
()
.
stream
()
.
filter
(
Objects:
:
nonNull
)
.
map
(
AgentReferralRelation:
:
getReferrerId
)
.
map
(
AgentReferralRelation:
:
getReferrerId
)
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
if
(
CollectionUtils
.
isEmpty
(
referrerIdList
))
{
if
(
CollectionUtils
.
isEmpty
(
referrerIdList
))
{
...
@@ -362,6 +364,7 @@ public class ApiCsfClientUserServiceImpl implements ApiCsfClientUserService {
...
@@ -362,6 +364,7 @@ public class ApiCsfClientUserServiceImpl implements ApiCsfClientUserService {
.
eq
(
AgentTutoringRelation:
:
getAgentId
,
clientUserBizId
)
.
eq
(
AgentTutoringRelation:
:
getAgentId
,
clientUserBizId
)
.
list
()
// 返回 List<AgentTutoringRelation>
.
list
()
// 返回 List<AgentTutoringRelation>
.
stream
()
.
stream
()
.
filter
(
Objects:
:
nonNull
)
.
map
(
AgentTutoringRelation:
:
getTutorId
)
.
map
(
AgentTutoringRelation:
:
getTutorId
)
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
if
(
CollectionUtils
.
isEmpty
(
tutorIdList
))
{
if
(
CollectionUtils
.
isEmpty
(
tutorIdList
))
{
...
...
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