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