Authored by mali

空指针

... ... @@ -786,9 +786,12 @@ public class StorageDepositServiceImpl implements IStorageDepositService, IBusin
skupList.add(sd.getSkup());
}
}
Map<Integer, SellerOrderGoods> sellerOrderGoodsMap = new HashMap<>();
if (!skupList.isEmpty()) {
List<SellerOrderGoods> sellerOrderGoodsList = sellerOrderGoodsMapper.selectByIds(skupList);
sellerOrderGoodsMap = CollectionUtil.extractMap(sellerOrderGoodsList, SellerOrderGoods::getId);
}
List<SellerOrderGoods> sellerOrderGoodsList = sellerOrderGoodsMapper.selectByIds(skupList);
Map<Integer, SellerOrderGoods> sellerOrderGoodsMap = CollectionUtil.extractMap(sellerOrderGoodsList, SellerOrderGoods::getId);
List<BuyerOrder> buyerOrderList = buyerOrderMapper.selectBatchByOrderCode(orderCodeList);
Map<String, BuyerOrder> buyerOrderMap = CollectionUtil.extractMap(buyerOrderList, o -> o.getOrderCode().toString());
Map<String, AppraiseOrderStorage> storageMap = new HashMap<>();
... ...