package com.jeeplus.psimanage.dishManage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.psimanage.dishManage.domain.PsiDishOrder;
import org.apache.ibatis.annotations.Param;

/**
 * 点菜订单
 */
public interface PsiDishOrderMapper extends BaseMapper<PsiDishOrder> {

    IPage<PsiDishOrder> findList(Page<PsiDishOrder> page, @Param(Constants.WRAPPER) Wrapper<PsiDishOrder> queryWrapper);

    PsiDishOrder findCurrentByRoomId(@Param("roomId") String roomId);
}
