package com.gxwebsoft.apps.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.apps.entity.HualalaFoodCategory;
import com.gxwebsoft.apps.param.HualalaFoodCategoryParam;

import java.util.List;

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

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<HualalaFoodCategory>
     */
    PageResult<HualalaFoodCategory> pageRel(HualalaFoodCategoryParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<HualalaFoodCategory>
     */
    List<HualalaFoodCategory> listRel(HualalaFoodCategoryParam param);

    /**
     * 根据id查询
     *
     * @param id 
     * @return HualalaFoodCategory
     */
    HualalaFoodCategory getByIdRel(Integer id);

}
