package com.gxwebsoft.apps.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.apps.entity.HualalaFoodCategory;
import com.gxwebsoft.apps.param.HualalaFoodCategoryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 菜品分类Mapper
 *
 * @author 科技小王子
 * @since 2023-01-12 09:49:46
 */
public interface HualalaFoodCategoryMapper extends BaseMapper<HualalaFoodCategory> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<HualalaFoodCategory>
     */
    List<HualalaFoodCategory> selectPageRel(@Param("page") IPage<HualalaFoodCategory> page,
                             @Param("param") HualalaFoodCategoryParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<HualalaFoodCategory> selectListRel(@Param("param") HualalaFoodCategoryParam param);

}
