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

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

/**
 * 菜品计划详情信息Service接口
 * 
 * @author xsheng
 * @date 2025-05-25
 */
public interface ICookRecipeDetailService {
    /**
     * 查询菜品计划详情信息
     * 
     * @param recipeDetailId 菜品计划详情信息主键
     * @return 菜品计划详情信息
     */
    public CookRecipeDetail selectCookRecipeDetailByRecipeDetailId(Long recipeDetailId);

    /**
     * 查询菜品计划详情信息列表
     * 
     * @param cookRecipeDetail 菜品计划详情信息
     * @return 菜品计划详情信息集合
     */
    public List<CookRecipeDetail> selectCookRecipeDetailList(CookRecipeDetail cookRecipeDetail);

    /**
     * 新增菜品计划详情信息
     * 
     * @param cookRecipeDetail 菜品计划详情信息
     * @return 结果
     */
    public int insertCookRecipeDetail(CookRecipeDetail cookRecipeDetail);

    /**
     * 修改菜品计划详情信息
     * 
     * @param cookRecipeDetail 菜品计划详情信息
     * @return 结果
     */
    public int updateCookRecipeDetail(CookRecipeDetail cookRecipeDetail);

    /**
     * 批量删除菜品计划详情信息
     * 
     * @param recipeDetailIds 需要删除的菜品计划详情信息主键集合
     * @return 结果
     */
    public int deleteCookRecipeDetailByRecipeDetailIds(Long[] recipeDetailIds);

    /**
     * 删除菜品计划详情信息信息
     * 
     * @param recipeDetailId 菜品计划详情信息主键
     * @return 结果
     */
    public int deleteCookRecipeDetailByRecipeDetailId(Long recipeDetailId);
}
