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

import java.util.List;

import com.bonus.canteen.core.menu.domain.MenuRecipeDishes;

/**
 * 菜品计划菜品关联Mapper接口
 * 
 * @author xsheng
 * @date 2025-04-03
 */
public interface MenuRecipeDishesMapper {
    /**
     * 查询菜品计划菜品关联
     * 
     * @param id 菜品计划菜品关联主键
     * @return 菜品计划菜品关联
     */
    public MenuRecipeDishes selectMenuRecipeDishesById(Long id);

    /**
     * 查询菜品计划菜品关联列表
     * 
     * @param menuRecipeDishes 菜品计划菜品关联
     * @return 菜品计划菜品关联集合
     */
    public List<MenuRecipeDishes> selectMenuRecipeDishesList(MenuRecipeDishes menuRecipeDishes);

    /**
     * 新增菜品计划菜品关联
     * 
     * @param menuRecipeDishes 菜品计划菜品关联
     * @return 结果
     */
    public int insertMenuRecipeDishes(MenuRecipeDishes menuRecipeDishes);

    /**
     * 修改菜品计划菜品关联
     * 
     * @param menuRecipeDishes 菜品计划菜品关联
     * @return 结果
     */
    public int updateMenuRecipeDishes(MenuRecipeDishes menuRecipeDishes);

    /**
     * 删除菜品计划菜品关联
     * 
     * @param id 菜品计划菜品关联主键
     * @return 结果
     */
    public int deleteMenuRecipeDishesById(Long id);

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