| | |
| | | .stream().filter(f -> f.getAilightCount() >= consumCount) |
| | | .sorted(Comparator.comparing(ProductOrderJoinDetail::getId)).collect(Collectors.toList()); |
| | | //要使用的套餐信息 |
| | | ProductOrderDetail productOrderDetail = productOrderDetailService.getById(productOrderJoinDetailsNewList.get(0).getId()); |
| | | Long firstId=productOrderJoinDetailsNewList.get(0).getId(); |
| | | logger.info("扣费要使用的套餐ID是id:【{}】", firstId); |
| | | ProductOrderDetail productOrderDetail = productOrderDetailService.getById(firstId); |
| | | return productOrderDetail; |
| | | } |
| | | return null; |