master
jevononlie 6 months ago
parent 73835a54ac
commit 6e9f73bfbb

@ -152,6 +152,7 @@ public class RecycleOrderController {
List<String> categoryIdList = orderProducts.stream().map(RecycleOrderProduct::getProductId).collect(Collectors.toList()); List<String> categoryIdList = orderProducts.stream().map(RecycleOrderProduct::getProductId).collect(Collectors.toList());
productTreeList = productTreeList.stream().filter(v -> categoryIdList.contains(v.getId())).collect(Collectors.toList()); productTreeList = productTreeList.stream().filter(v -> categoryIdList.contains(v.getId())).collect(Collectors.toList());
return CommonResult.success(productTreeList); return CommonResult.success(productTreeList);
} }

Loading…
Cancel
Save