外带结束购物车状态

This commit is contained in:
2024-10-12 15:57:49 +08:00
parent cc9cfceed4
commit 424082ead3

View File

@@ -1285,7 +1285,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
} }
// 先付费模式,结束购物车状态 // 先付费模式,结束购物车状态
if (shopEatTypeInfoDTO.isDineInBefore()) { if (shopEatTypeInfoDTO.isDineInBefore() || shopEatTypeInfoDTO.isTakeout()) {
cashierCart.setStatus("final"); cashierCart.setStatus("final");
} }
cashierCartMapper.updateById(cashierCart); cashierCartMapper.updateById(cashierCart);