| | |
| | | return true; |
| | | } |
| | | XpOrder xpOrder = xpOrderR.getData(); |
| | | if(xpOrder.getStatus()==0){ |
| | | redisService.removeByPattern(quoteName,xpOrder.getOrderNumber()); |
| | | } |
| | | |
| | | // 找出围栏id |
| | | Long xpElectronicFenceAreaId = xpOrder.getXpElectronicFenceAreaId(); |
| | |
| | | if (positionList.isEmpty()) { |
| | | continue; |
| | | } |
| | | List<String> vinList = positionList.stream().map(VehiclePosition::getVin).collect(Collectors.toList()); |
| | | Set<String> vinList = positionList.stream().map(VehiclePosition::getVin).collect(Collectors.toSet()); |
| | | |
| | | // 获取车辆的信息 筛选出可用车辆 |
| | | R<List<String>> vehiclePositionVos = xpVehicleClient.queryVehiclePositionByVin(new VehiclePositionByVinDto(xpElectronicFence.getId(), vinList, xpTradingStrategy.getSimultaneouslyOrderCount())); |