列表不查询挂单商品

This commit is contained in:
SongZhang 2024-09-27 16:45:44 +08:00
parent ce001560cb
commit 5d665893f2
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
Integer size, Integer shopId, String masterId, String useType) {
ShopEatTypeInfoDTO shopEatTypeInfoDTO = checkEatModel(shopId, tableId);
LambdaQueryWrapper<TbCashierCart> queryWrapper = new LambdaQueryWrapper<TbCashierCart>()
.in(TbCashierCart::getStatus, "create", "return")
.in(TbCashierCart::getStatus, "create")
.eq(TbCashierCart::getShopId, shopId)
.eq(TbCashierCart::getUseType, useType)
.and(q -> q.eq(TbCashierCart::getMasterId, masterId).or().isNull(TbCashierCart::getMasterId));