...
|
...
|
@@ -68,10 +68,11 @@ public class SellerDownShelfPrepareProcessor { |
|
|
condition.setProductId(req.getProductId());
|
|
|
condition.setStorageId(req.getStorageId());
|
|
|
condition.setGoodsPrice(req.getOldPrice());
|
|
|
condition.setAttributes(req.getSkupType());
|
|
|
List<SellerOrderGoods> sellerOrderGoodList = sellerOrderGoodsMapper.selectByPayment(Payment.WALLET.getCode(), condition, CAN_OFF_STATUS, req.getNum());
|
|
|
if (CollectionUtils.isEmpty(sellerOrderGoodList)) {
|
|
|
logger.warn("batch off shelve checkAndAcquire not find skups by batchNo, req {}", req);
|
|
|
throw new UfoServiceException(501, "商品不存在");
|
|
|
throw new UfoServiceException(501, "商品已被下单购买");
|
|
|
}
|
|
|
List<Integer> skups = sellerOrderGoodList.parallelStream().map(SellerOrderGoods::getId).collect(Collectors.toList());
|
|
|
logger.info("batch off shelve price checkExistWaitingBuyerPay req {} skups in db {}", req, skups);
|
...
|
...
|
|