| | |
| | | import java.time.LocalDateTime; |
| | | import java.time.ZoneOffset; |
| | | import java.time.format.DateTimeFormatter; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | import java.util.*; |
| | | import java.util.function.Function; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | |
| | | } |
| | | return pageInfo.setRecords(orderRefundPassList); |
| | | } |
| | | |
| | | // public void processAppUserIds(List<Long> appUserIds , String searchKey, Function<String, R<List<AppUser>>> userSearchFunction){ |
| | | // if (StringUtils.isNotEmpty(searchKey)) { |
| | | // List<Long> userIds = Optional.ofNullable(userSearchFunction.apply(searchKey).getData()) |
| | | // .orElse(Collections.emptyList()) |
| | | // .stream() |
| | | // .map(AppUser::getId) |
| | | // .collect(Collectors.toList()); |
| | | // |
| | | // if (CollectionUtils.isEmpty(userIds)) { |
| | | // return; |
| | | // } |
| | | // |
| | | // List<Long> existingUserIds = orderPageList.getAppUserIds(); |
| | | // if (existingUserIds != null) { |
| | | // if (!containsAny(existingUserIds, userIds)) { |
| | | // return; |
| | | // } |
| | | // existingUserIds.addAll(userIds); |
| | | // } else { |
| | | // orderPageList.setAppUserIds(userIds); |
| | | // } |
| | | // } |
| | | // } |
| | | |
| | | |
| | | /** |