| | |
| | | // 处理用户电话搜索条件 |
| | | processAppUserIds(orderPageList, orderPageList.getPhone(), appUserClient::getAppUserByPhoneNoFilter); |
| | | |
| | | if (orderPageList.getAppUserIds() == null) { |
| | | return new PageInfo<>(); |
| | | } |
| | | |
| | | // 去重 appUserIds |
| | | Optional.ofNullable(orderPageList.getAppUserIds()) |
| | | Optional.of(orderPageList.getAppUserIds()) |
| | | .ifPresent(ids -> orderPageList.setAppUserIds(ids.stream().distinct().collect(Collectors.toList()))); |
| | | |
| | | log.error("orderPageList:"+orderPageList.getAppUserIds()); |
| | | // 分页查询订单列表 |
| | | PageInfo<OrderPageListVo> pageInfo = new PageInfo<>(orderPageList.getPageCurr(), orderPageList.getPageSize()); |
| | | List<OrderPageListVo> list = this.baseMapper.getOrderPageList(pageInfo, orderPageList); |
| | |
| | | orderPageListVo.setExpressCompany(ExpressCompanyMap.getCompanyNameByCode(jsonObject.getString("com"))); |
| | | orderPageListVo.setExpressNum(jsonObject.getString("num")); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | throw new RuntimeException("快递信息解析失败"); |
| | | } |
| | | }); |
| | | } |