列表不查询挂单商品
This commit is contained in:
@@ -689,7 +689,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||||||
Integer size, Integer shopId, String masterId, String useType) {
|
Integer size, Integer shopId, String masterId, String useType) {
|
||||||
ShopEatTypeInfoDTO shopEatTypeInfoDTO = checkEatModel(shopId, tableId);
|
ShopEatTypeInfoDTO shopEatTypeInfoDTO = checkEatModel(shopId, tableId);
|
||||||
LambdaQueryWrapper<TbCashierCart> queryWrapper = new LambdaQueryWrapper<TbCashierCart>()
|
LambdaQueryWrapper<TbCashierCart> queryWrapper = new LambdaQueryWrapper<TbCashierCart>()
|
||||||
.in(TbCashierCart::getStatus, "create", "return")
|
.in(TbCashierCart::getStatus, "create")
|
||||||
.eq(TbCashierCart::getShopId, shopId)
|
.eq(TbCashierCart::getShopId, shopId)
|
||||||
.eq(TbCashierCart::getUseType, useType)
|
.eq(TbCashierCart::getUseType, useType)
|
||||||
.and(q -> q.eq(TbCashierCart::getMasterId, masterId).or().isNull(TbCashierCart::getMasterId));
|
.and(q -> q.eq(TbCashierCart::getMasterId, masterId).or().isNull(TbCashierCart::getMasterId));
|
||||||
|
|||||||
Reference in New Issue
Block a user