修复餐位费无法结算
This commit is contained in:
@@ -1145,10 +1145,11 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||||||
|
|
||||||
log.info("下单,开始校验库存预警,购物车id:{}", cashierCart.getId());
|
log.info("下单,开始校验库存预警,购物车id:{}", cashierCart.getId());
|
||||||
CompletableFuture.runAsync(() -> checkWarnLineAndSendMsg(productSku, product, Integer.valueOf(cashierCart.getShopId()), cashierCart.getNumber()));
|
CompletableFuture.runAsync(() -> checkWarnLineAndSendMsg(productSku, product, Integer.valueOf(cashierCart.getShopId()), cashierCart.getNumber()));
|
||||||
|
// 已经添加的商品,修改数量
|
||||||
|
isFirst = updateStock(cashierCart);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 已经添加的商品,修改数量
|
|
||||||
isFirst = updateStock(cashierCart);
|
|
||||||
cashierCart.setOrderId(orderId);
|
cashierCart.setOrderId(orderId);
|
||||||
cashierCart.setUpdatedAt(System.currentTimeMillis());
|
cashierCart.setUpdatedAt(System.currentTimeMillis());
|
||||||
cashierCart.setStatus("pending".equals(orderInfo.getStatus()) ? "refund" : cashierCart.getStatus());
|
cashierCart.setStatus("pending".equals(orderInfo.getStatus()) ? "refund" : cashierCart.getStatus());
|
||||||
|
|||||||
Reference in New Issue
Block a user