package com.ruoyi.sy.mapper;

import java.util.List;
import com.ruoyi.sy.domain.SyKnowledgeInterstMajor;

/**
 * 知识兴趣测评Mapper接口
 * 
 * @author mingxue
 * @date 2022-03-02
 */
public interface SyKnowledgeInterstMajorMapper 
{
    /**
     * 查询知识兴趣测评
     * 
     * @param id 知识兴趣测评ID
     * @return 知识兴趣测评
     */
    public SyKnowledgeInterstMajor selectSyKnowledgeInterstMajorById(Long id);

    /**
     * 查询知识兴趣测评列表
     * 
     * @param syKnowledgeInterstMajor 知识兴趣测评
     * @return 知识兴趣测评集合
     */
    public List<SyKnowledgeInterstMajor> selectSyKnowledgeInterstMajorList(SyKnowledgeInterstMajor syKnowledgeInterstMajor);

    /**
     * 新增知识兴趣测评
     * 
     * @param syKnowledgeInterstMajor 知识兴趣测评
     * @return 结果
     */
    public int insertSyKnowledgeInterstMajor(SyKnowledgeInterstMajor syKnowledgeInterstMajor);

    /**
     * 修改知识兴趣测评
     * 
     * @param syKnowledgeInterstMajor 知识兴趣测评
     * @return 结果
     */
    public int updateSyKnowledgeInterstMajor(SyKnowledgeInterstMajor syKnowledgeInterstMajor);

    /**
     * 删除知识兴趣测评
     * 
     * @param id 知识兴趣测评ID
     * @return 结果
     */
    public int deleteSyKnowledgeInterstMajorById(Long id);

    /**
     * 批量删除知识兴趣测评
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSyKnowledgeInterstMajorByIds(Long[] ids);
}
