package com.ygtx.gxt.service;

import java.util.List;
import com.ygtx.gxt.domain.GxtFanInspectionScore;

import javax.servlet.http.HttpServletResponse;

/**
 * 风机类型检查分值Service接口
 * 
 * @author ruoyi
 * @date 2025-11-06
 */
public interface IGxtFanInspectionScoreService 
{
    /**
     * 查询风机类型检查分值
     * 
     * @param id 风机类型检查分值主键
     * @return 风机类型检查分值
     */
    public GxtFanInspectionScore selectGxtFanInspectionScoreById(Long id);

    /**
     * 查询风机类型检查分值列表
     * 
     * @param gxtFanInspectionScore 风机类型检查分值
     * @return 风机类型检查分值集合
     */
    public List<GxtFanInspectionScore> selectGxtFanInspectionScoreList(GxtFanInspectionScore gxtFanInspectionScore);

    /**
     * 根据风机类型查询风机类型检查分值列表
     * 
     * @param fanType 风机类型
     * @return 风机类型检查分值集合
     */
    public List<GxtFanInspectionScore> selectGxtFanInspectionScoreByFanType(String fanType);

    /**
     * 新增风机类型检查分值
     * 
     * @param gxtFanInspectionScore 风机类型检查分值
     * @return 结果
     */
    public int insertGxtFanInspectionScore(GxtFanInspectionScore gxtFanInspectionScore);

    /**
     * 修改风机类型检查分值
     * 
     * @param gxtFanInspectionScore 风机类型检查分值
     * @return 结果
     */
    public int updateGxtFanInspectionScore(GxtFanInspectionScore gxtFanInspectionScore);

    /**
     * 批量删除风机类型检查分值
     * 
     * @param ids 需要删除的风机类型检查分值主键集合
     * @return 结果
     */
    public int deleteGxtFanInspectionScoreByIds(Long[] ids);

    /**
     * 删除风机类型检查分值信息
     * 
     * @param id 风机类型检查分值主键
     * @return 结果
     */
    public int deleteGxtFanInspectionScoreById(Long id);
    
    /**
     * 批量导入风机类型检查分值
     * 
     * @param fanInspectionScoreList 风机类型检查分值列表
     * @param updateSupport 是否更新支持，如果已存在，则进行更新数据
     * @param operName 操作用户名
     * @return 结果
     */
    public String importFanInspectionScoreList(List<GxtFanInspectionScore> fanInspectionScoreList, Boolean updateSupport, String operName);

    public void importTemplate(HttpServletResponse response);
}