外带结束购物车状态

This commit is contained in:
SongZhang 2024-10-12 15:57:49 +08:00
parent cc9cfceed4
commit 424082ead3
1 changed files with 1 additions and 1 deletions

View File

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