fix: 获取购物车修改
This commit is contained in:
parent
93845145f3
commit
8ef801afa1
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue