package com.jeeplus.hotelorder.dish.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.hotelorder.dish.domain.HotelDishCategory;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface HotelDishCategoryMapper extends BaseMapper<HotelDishCategory> {

    /**
     * 分页查询分类(带菜品数量统计)
     */
    IPage<HotelDishCategory> selectCategoryWithCount(Page<HotelDishCategory> page);
}
