购物车获取修改
This commit is contained in:
parent
10b2ae2537
commit
18c1367856
|
|
@ -707,7 +707,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||
@Override
|
||||
public Map<String, Object> getCart(String tableId, Integer page,
|
||||
Integer size, Integer shopId, String masterId, String useType) {
|
||||
ShopEatTypeInfoDTO shopEatTypeInfoDTO = checkEatModel(shopId, tableId);
|
||||
ShopEatTypeInfoDTO shopEatTypeInfoDTO = checkEatModel(shopId, OrderUseTypeEnum.TAKEOUT.getValue().equals(useType) ? null : tableId);
|
||||
LambdaQueryWrapper<TbCashierCart> queryWrapper = new LambdaQueryWrapper<TbCashierCart>()
|
||||
.in(TbCashierCart::getStatus, "create", "return")
|
||||
.eq(TbCashierCart::getShopId, shopId)
|
||||
|
|
|
|||
Loading…
Reference in New Issue