package com.bonus.canteen.core.cook.mapper;

import java.util.List;
import com.bonus.canteen.core.cook.domain.CookCollectionDishes;

/**
 * 菜品收藏Mapper接口
 * 
 * @author xsheng
 * @date 2025-05-25
 */
public interface CookCollectionDishesMapper {
    /**
     * 查询菜品收藏
     * 
     * @param id 菜品收藏主键
     * @return 菜品收藏
     */
    public CookCollectionDishes selectCookCollectionDishesById(Long id);

    /**
     * 查询菜品收藏列表
     * 
     * @param cookCollectionDishes 菜品收藏
     * @return 菜品收藏集合
     */
    public List<CookCollectionDishes> selectCookCollectionDishesList(CookCollectionDishes cookCollectionDishes);

    /**
     * 新增菜品收藏
     * 
     * @param cookCollectionDishes 菜品收藏
     * @return 结果
     */
    public int insertCookCollectionDishes(CookCollectionDishes cookCollectionDishes);

    /**
     * 修改菜品收藏
     * 
     * @param cookCollectionDishes 菜品收藏
     * @return 结果
     */
    public int updateCookCollectionDishes(CookCollectionDishes cookCollectionDishes);

    /**
     * 删除菜品收藏
     * 
     * @param id 菜品收藏主键
     * @return 结果
     */
    public int deleteCookCollectionDishesById(Long id);

    /**
     * 批量删除菜品收藏
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCookCollectionDishesByIds(Long[] ids);
}
