package com.aucma.dms.mapper;

//import com.aucma.dms.domain.DmsKnowledgeRepair;

import com.aucma.dms.domain.DmsKnowledgeRepair;

import java.util.List;

/**
 * 维修知识库Mapper接口
 * 
 * @author Open Platform
 * @date 2024-02-26
 */
public interface DmsKnowledgeRepairMapper 
{
    /**
     * 查询维修知识库
     * 
     * @param knowledgeRepairId 维修知识库主键
     * @return 维修知识库
     */
    public DmsKnowledgeRepair selectDmsKnowledgeRepairByKnowledgeRepairId(Long knowledgeRepairId);

    /**
     * 查询维修知识库列表
     * 
     * @param dmsKnowledgeRepair 维修知识库
     * @return 维修知识库集合
     */
    public List<DmsKnowledgeRepair> selectDmsKnowledgeRepairList(DmsKnowledgeRepair dmsKnowledgeRepair);

    /**
     * 新增维修知识库
     * 
     * @param dmsKnowledgeRepair 维修知识库
     * @return 结果
     */
    public int insertDmsKnowledgeRepair(DmsKnowledgeRepair dmsKnowledgeRepair);

    /**
     * 修改维修知识库
     * 
     * @param dmsKnowledgeRepair 维修知识库
     * @return 结果
     */
    public int updateDmsKnowledgeRepair(DmsKnowledgeRepair dmsKnowledgeRepair);

    /**
     * 删除维修知识库
     * 
     * @param knowledgeRepairId 维修知识库主键
     * @return 结果
     */
    public int deleteDmsKnowledgeRepairByKnowledgeRepairId(Long knowledgeRepairId);

    /**
     * 批量删除维修知识库
     * 
     * @param knowledgeRepairIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDmsKnowledgeRepairByKnowledgeRepairIds(Long[] knowledgeRepairIds);
}
