Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
7df1d836
Commit
7df1d836
authored
Oct 16, 2024
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询staffId
parent
cc12f1e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
JoinRuleManager.java
...c/haoban/manage/service/context/chat/JoinRuleManager.java
+2
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/context/chat/JoinRuleManager.java
View file @
7df1d836
...
@@ -284,7 +284,7 @@ public class JoinRuleManager {
...
@@ -284,7 +284,7 @@ public class JoinRuleManager {
// 获取导购ID列表
// 获取导购ID列表
List
<
String
>
clerkIdList
=
clerkList
.
stream
().
map
(
ClerkDTO:
:
getClerkId
).
collect
(
Collectors
.
toList
());
List
<
String
>
clerkIdList
=
clerkList
.
stream
().
map
(
ClerkDTO:
:
getClerkId
).
collect
(
Collectors
.
toList
());
// 通过导购id查询staffId
// 通过导购id查询staffId
List
<
StaffClerkRelationDTO
>
relationDTOList
=
staffClerkRelationService
.
listB
indCode
(
wxEnterpriseId
,
enterpriseId
,
new
HashSet
<>(
clerkIdList
)
);
List
<
StaffClerkRelationDTO
>
relationDTOList
=
staffClerkRelationService
.
listB
yClerkIds
(
clerkIdList
);
if
(
CollectionUtils
.
isEmpty
(
relationDTOList
))
{
if
(
CollectionUtils
.
isEmpty
(
relationDTOList
))
{
logger
.
info
(
"导购staff关联不存在"
);
logger
.
info
(
"导购staff关联不存在"
);
return
new
ArrayList
<>();
return
new
ArrayList
<>();
...
@@ -329,7 +329,7 @@ public class JoinRuleManager {
...
@@ -329,7 +329,7 @@ public class JoinRuleManager {
}
}
List
<
String
>
clerkIdList
=
clerkList
.
stream
().
map
(
ClerkDTO:
:
getClerkId
).
collect
(
Collectors
.
toList
());
List
<
String
>
clerkIdList
=
clerkList
.
stream
().
map
(
ClerkDTO:
:
getClerkId
).
collect
(
Collectors
.
toList
());
//通过导购id查询staffId
//通过导购id查询staffId
List
<
StaffClerkRelationDTO
>
relationDTOList
=
staffClerkRelationService
.
listB
indCode
(
wxEnterpriseId
,
enterpriseId
,
new
HashSet
<>(
clerkIdList
)
);
List
<
StaffClerkRelationDTO
>
relationDTOList
=
staffClerkRelationService
.
listB
yClerkIds
(
clerkIdList
);
if
(
CollectionUtils
.
isEmpty
(
relationDTOList
))
{
if
(
CollectionUtils
.
isEmpty
(
relationDTOList
))
{
logger
.
info
(
"导购staff关联不存在"
);
logger
.
info
(
"导购staff关联不存在"
);
return
new
HashMap
<>();
return
new
HashMap
<>();
...
...
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