Commit 8ef2a4f8 by 墨竹

Merge remote-tracking branch 'origin/developer' into developer

parents 4df90591 fc4e81a0
...@@ -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())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment