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

import java.util.List;
import com.bonus.canteen.core.health.domain.HealthPopularArticle;

/**
 * 营养科普Service接口
 *
 * @author xsheng
 * @date 2025-05-25
 */
public interface IHealthPopularArticleService {
    /**
     * 查询营养科普
     *
     * @param articleId 营养科普主键
     * @return 营养科普
     */
    public HealthPopularArticle selectHealthPopularArticleByArticleId(Long articleId);

    /**
     * 查询营养科普列表
     *
     * @param healthPopularArticle 营养科普
     * @return 营养科普集合
     */
    public List<HealthPopularArticle> selectHealthPopularArticleList(HealthPopularArticle healthPopularArticle);
 
    /**
     * 新增营养科普
     *
     * @param healthPopularArticle 营养科普
     * @return 结果
     */
    public int insertHealthPopularArticle(HealthPopularArticle healthPopularArticle);

    /**
     * 修改营养科普
     *
     * @param healthPopularArticle 营养科普
     * @return 结果
     */
    public int updateHealthPopularArticle(HealthPopularArticle healthPopularArticle);

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

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