add limit 4 deposit order list
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -115,6 +115,7 @@ public class SellerDepositOrderListService extends AbsOrderViewService { | @@ -115,6 +115,7 @@ public class SellerDepositOrderListService extends AbsOrderViewService { | ||
115 | OrderAttributes oa = getOrderAttributes(); | 115 | OrderAttributes oa = getOrderAttributes(); |
116 | List<ProductVo> productList = aogList.parallelStream() | 116 | List<ProductVo> productList = aogList.parallelStream() |
117 | .sorted(Comparator.comparing(AppraiseOrderGoods::getOrderBy)) | 117 | .sorted(Comparator.comparing(AppraiseOrderGoods::getOrderBy)) |
118 | + .limit(4) | ||
118 | .map(paog -> ProductVo.builder() | 119 | .map(paog -> ProductVo.builder() |
119 | .imgUrl(ImageUrlAssist.getAllProductPicUrl(paog.getImageUrl(), "goodsimg", "center", "d2hpdGU=")) | 120 | .imgUrl(ImageUrlAssist.getAllProductPicUrl(paog.getImageUrl(), "goodsimg", "center", "d2hpdGU=")) |
120 | .build()) | 121 | .build()) |
-
Please register or login to post a comment