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

import java.util.List;
import com.bonus.canteen.core.nutrition.domain.HealthPopularScience;

/**
 * 营养科普Service接口
 * 
 * @author xsheng
 * @date 2025-05-13
 */
public interface IHealthPopularScienceService {
    /**
     * 查询营养科普
     * 
     * @param articleId 营养科普主键
     * @return 营养科普
     */
    public HealthPopularScience selectHealthPopularScienceById(Long articleId);

    /**
     * 查询营养科普列表
     * 
     * @param healthPopularScience 营养科普
     * @return 营养科普集合
     */
    public List<HealthPopularScience> selectHealthPopularScienceList(HealthPopularScience healthPopularScience);

    /**
     * 新增营养科普
     * 
     * @param healthPopularScience 营养科普
     * @return 结果
     */
    public int insertHealthPopularScience(HealthPopularScience healthPopularScience);

    /**
     * 修改营养科普
     * 
     * @param healthPopularScience 营养科普
     * @return 结果
     */
    public int updateHealthPopularScience(HealthPopularScience healthPopularScience);

    /**
     * 批量删除营养科普
     * 
     * @param articleIds 需要删除的营养科普主键集合
     * @return 结果
     */
    public int deleteHealthPopularScienceByIds(Long[] articleIds);

    /**
     * 删除营养科普信息
     * 
     * @param articleId 营养科普主键
     * @return 结果
     */
    public int deleteHealthPopularScienceById(Long articleId);
}
