Showing
1 changed file
with
1 additions
and
1 deletions
@@ -117,7 +117,7 @@ public class AssetsService { | @@ -117,7 +117,7 @@ public class AssetsService { | ||
117 | return rtnList; | 117 | return rtnList; |
118 | } | 118 | } |
119 | List<Long> orderCodeList = detailList.stream().map(TradeBills::getOrderCode).collect(Collectors.toList()); | 119 | List<Long> orderCodeList = detailList.stream().map(TradeBills::getOrderCode).collect(Collectors.toList()); |
120 | - List<BuyerOrderGoods> buyerOrderGoodsList = orderCodeList.isEmpty()?new ArrayList<>(): buyerOrderGoodsMapper.selectByOrderCodeList(uid, orderCodeList); | 120 | + List<BuyerOrderGoods> buyerOrderGoodsList = orderCodeList.isEmpty()?new ArrayList<>(): buyerOrderGoodsMapper.selectByOrderCodeList(null, orderCodeList); |
121 | List<Integer> skups = buyerOrderGoodsList.stream().map(BuyerOrderGoods::getSkup).collect(Collectors.toList()); | 121 | List<Integer> skups = buyerOrderGoodsList.stream().map(BuyerOrderGoods::getSkup).collect(Collectors.toList()); |
122 | List<SellerOrderGoods> sellerOrderGoodsList = skups.isEmpty()?new ArrayList<>(): sellerOrderGoodsMapper.selectBySkups(skups); | 122 | List<SellerOrderGoods> sellerOrderGoodsList = skups.isEmpty()?new ArrayList<>(): sellerOrderGoodsMapper.selectBySkups(skups); |
123 | Map<Long, BuyerOrderGoods> orderSkupMap = buyerOrderGoodsList.stream().collect(Collectors.toMap(BuyerOrderGoods::getOrderCode, Function.identity())); | 123 | Map<Long, BuyerOrderGoods> orderSkupMap = buyerOrderGoodsList.stream().collect(Collectors.toMap(BuyerOrderGoods::getOrderCode, Function.identity())); |
-
Please register or login to post a comment