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
1
Merge Requests
1
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
fc4e81a0
Commit
fc4e81a0
authored
Jul 07, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log
parent
7daa6b0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
HmStoreController.java
...ic/haoban/manage/web/controller/hm/HmStoreController.java
+12
-7
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/hm/HmStoreController.java
View file @
fc4e81a0
...
...
@@ -105,16 +105,18 @@ public class HmStoreController {
private
void
haobanStatus
(
List
<
ClerkStoreListVO
>
list
)
{
List
<
String
>
clerkIdList
=
new
ArrayList
<>();
if
(
CollectionUtils
.
isEmpty
(
list
))
{
for
(
ClerkStoreListVO
store
:
list
)
{
if
(
CollectionUtils
.
isNotEmpty
(
store
.
getClerkList
()))
{
List
<
String
>
tempList
=
store
.
getClerkList
().
stream
().
map
(
dto
->
dto
.
getClerkId
())
.
collect
(
Collectors
.
toList
());
if
(
CollectionUtils
.
isNotEmpty
(
tempList
))
{
clerkIdList
.
addAll
(
tempList
);
}
return
;
}
for
(
ClerkStoreListVO
store
:
list
)
{
if
(
CollectionUtils
.
isNotEmpty
(
store
.
getClerkList
()))
{
List
<
String
>
tempList
=
store
.
getClerkList
().
stream
().
map
(
dto
->
dto
.
getClerkId
())
.
collect
(
Collectors
.
toList
());
if
(
CollectionUtils
.
isNotEmpty
(
tempList
))
{
clerkIdList
.
addAll
(
tempList
);
}
}
}
logger
.
info
(
"导购列表={}"
,
clerkIdList
);
// 未开启客户联系的
List
<
String
>
status2List
=
new
ArrayList
<>();
// 已有单人活码的
...
...
@@ -146,6 +148,9 @@ public class HmStoreController {
.
collect
(
Collectors
.
toList
()));
}
logger
.
info
(
"导购列表={}"
,
status2List
);
logger
.
info
(
"导购列表={}"
,
status3List
);
logger
.
info
(
"导购列表={}"
,
status4List
);
list
.
stream
().
forEach
(
item
->
{
for
(
ClerkListVO
clerk
:
item
.
getClerkList
())
{
if
(
status2List
.
contains
(
clerk
.
getClerkId
()))
{
...
...
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