Commit 12092eb2 by 墨竹

fix:增加打印日志

parent 99fa5a65
......@@ -870,12 +870,12 @@ public class StaffApiServiceImpl implements StaffApiService {
List<String> clerkList = clerkService.getclerkListByStoreIds(storeIds);
List<StaffClerkRelationDTO> staffRelationList = staffClerkRelationService.listByClerkIds(clerkList);
List<String> clerkIds = staffRelationList.stream().filter(s -> s.getClerkId() != null).map(s -> s.getClerkId()).collect(Collectors.toList());
List<String> unBindList = new ArrayList<>();
for (String clerkId : clerkList) {
if (!clerkIds.contains(clerkId)) {
unBindList.add(clerkId);
}
if (CollectionUtils.isEmpty(clerkIds)) {
logger.info("无未绑定导购id");
return Collections.emptyList();
}
List<String> unBindList = clerkList.stream().filter(clerkId -> !clerkIds.contains(clerkId)).collect(Collectors.toList());
logger.info("未绑定导购id:{}",JSON.toJSONString(unBindList));
return unBindList;
}
......
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