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

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

/**
 * 营养科普慢性病关联Mapper接口
 * 
 * @author xsheng
 * @date 2025-05-25
 */
public interface HealthPopularArticleChronicMapper {
    /**
     * 查询营养科普慢性病关联
     * 
     * @param id 营养科普慢性病关联主键
     * @return 营养科普慢性病关联
     */
    public HealthPopularArticleChronic selectHealthPopularArticleChronicById(Long id);

    /**
     * 查询营养科普慢性病关联列表
     * 
     * @param healthPopularArticleChronic 营养科普慢性病关联
     * @return 营养科普慢性病关联集合
     */
    public List<HealthPopularArticleChronic> selectHealthPopularArticleChronicList(HealthPopularArticleChronic healthPopularArticleChronic);

    /**
     * 新增营养科普慢性病关联
     * 
     * @param healthPopularArticleChronic 营养科普慢性病关联
     * @return 结果
     */
    public int insertHealthPopularArticleChronic(HealthPopularArticleChronic healthPopularArticleChronic);

    /**
     * 修改营养科普慢性病关联
     * 
     * @param healthPopularArticleChronic 营养科普慢性病关联
     * @return 结果
     */
    public int updateHealthPopularArticleChronic(HealthPopularArticleChronic healthPopularArticleChronic);

    /**
     * 删除营养科普慢性病关联
     * 
     * @param id 营养科普慢性病关联主键
     * @return 结果
     */
    public int deleteHealthPopularArticleChronicById(Long id);

    /**
     * 批量删除营养科普慢性病关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHealthPopularArticleChronicByIds(Long[] ids);
}
