This commit is contained in:
牛叉闪闪 2024-09-05 17:06:51 +08:00
parent d13d16238e
commit 09a4918e13
1 changed files with 1 additions and 0 deletions

View File

@ -844,6 +844,7 @@ public class PayService {
orderInfo.setPayType("cash");
orderInfo.setStatus("closed");
orderInfo.setPayOrderNo("cash".concat(SnowFlakeUtil.generateOrderNo()));
orderInfo.setMemberId(vipUserId.toString());
tbOrderInfoMapper.updateByPrimaryKeySelective(orderInfo);
//更新购物车状态
int cartCount = tbCashierCartMapper.updateByOrderId(String.valueOf(orderId), "final");