package com.aucma.dms.service;

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

import com.aucma.dms.domain.DmsKnowledgeRepair;

import java.util.List;

/**
 * 维修知识库Service接口
 * 
 * @author Open Platform
 * @date 2024-02-26
 */
public interface IDmsKnowledgeRepairService 
{
    /**
     * 查询维修知识库
     * 
     * @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 knowledgeRepairIds 需要删除的维修知识库主键集合
     * @return 结果
     */
    public int deleteDmsKnowledgeRepairByKnowledgeRepairIds(Long[] knowledgeRepairIds);

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