package com.gxwebsoft.apps.service;

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

import java.util.List;

/**
 * 购物车商品Service
 *
 * @author 科技小王子
 * @since 2023-01-14 14:46:44
 */
public interface HualalaCartFoodService extends IService<HualalaCartFood> {

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

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

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

}
