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
8ef2a4f8
Commit
8ef2a4f8
authored
Jul 07, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
4df90591
fc4e81a0
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 @
8ef2a4f8
...
@@ -105,16 +105,18 @@ public class HmStoreController {
...
@@ -105,16 +105,18 @@ public class HmStoreController {
private
void
haobanStatus
(
List
<
ClerkStoreListVO
>
list
)
{
private
void
haobanStatus
(
List
<
ClerkStoreListVO
>
list
)
{
List
<
String
>
clerkIdList
=
new
ArrayList
<>();
List
<
String
>
clerkIdList
=
new
ArrayList
<>();
if
(
CollectionUtils
.
isEmpty
(
list
))
{
if
(
CollectionUtils
.
isEmpty
(
list
))
{
for
(
ClerkStoreListVO
store
:
list
)
{
return
;
if
(
CollectionUtils
.
isNotEmpty
(
store
.
getClerkList
()))
{
}
List
<
String
>
tempList
=
store
.
getClerkList
().
stream
().
map
(
dto
->
dto
.
getClerkId
())
for
(
ClerkStoreListVO
store
:
list
)
{
.
collect
(
Collectors
.
toList
());
if
(
CollectionUtils
.
isNotEmpty
(
store
.
getClerkList
()))
{
if
(
CollectionUtils
.
isNotEmpty
(
tempList
))
{
List
<
String
>
tempList
=
store
.
getClerkList
().
stream
().
map
(
dto
->
dto
.
getClerkId
())
clerkIdList
.
addAll
(
tempList
);
.
collect
(
Collectors
.
toList
());
}
if
(
CollectionUtils
.
isNotEmpty
(
tempList
))
{
clerkIdList
.
addAll
(
tempList
);
}
}
}
}
}
}
logger
.
info
(
"导购列表={}"
,
clerkIdList
);
// 未开启客户联系的
// 未开启客户联系的
List
<
String
>
status2List
=
new
ArrayList
<>();
List
<
String
>
status2List
=
new
ArrayList
<>();
// 已有单人活码的
// 已有单人活码的
...
@@ -146,6 +148,9 @@ public class HmStoreController {
...
@@ -146,6 +148,9 @@ public class HmStoreController {
.
collect
(
Collectors
.
toList
()));
.
collect
(
Collectors
.
toList
()));
}
}
logger
.
info
(
"导购列表={}"
,
status2List
);
logger
.
info
(
"导购列表={}"
,
status3List
);
logger
.
info
(
"导购列表={}"
,
status4List
);
list
.
stream
().
forEach
(
item
->
{
list
.
stream
().
forEach
(
item
->
{
for
(
ClerkListVO
clerk
:
item
.
getClerkList
())
{
for
(
ClerkListVO
clerk
:
item
.
getClerkList
())
{
if
(
status2List
.
contains
(
clerk
.
getClerkId
()))
{
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