fix: 获取购物车修改

This commit is contained in:
SongZhang 2024-10-30 16:00:46 +08:00
parent 93845145f3
commit 8ef801afa1
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
if (!shopEatTypeInfoDTO.isTakeout()) {
if (StrUtil.isBlank(tableId)) {
queryWrapper.isNull(TbCashierCart::getTableId);
queryWrapper.and(q -> q.isNull(TbCashierCart::getTableId).or().eq(TbCashierCart::getTableId, ""));
} else {
queryWrapper.eq(TbCashierCart::getTableId, tableId);
}