package com.ygtx.gxt.mapper;

import java.util.List;
import java.util.Map;
import com.ygtx.gxt.domain.GxtUserFanInspectionScore;

/**
 * 维保风机类型检查得分Mapper接口
 * 
 * @author ruoyi
 * @date 2025-11-06
 */
public interface GxtUserFanInspectionScoreMapper 
{
    /**
     * 查询维保风机类型检查得分
     * 
     * @param id 维保风机类型检查得分主键
     * @return 维保风机类型检查得分
     */
    public GxtUserFanInspectionScore selectGxtUserFanInspectionScoreById(Long id);

    /**
     * 查询维保风机类型检查得分列表
     * 
     * @param gxtUserFanInspectionScore 维保风机类型检查得分
     * @return 维保风机类型检查得分集合
     */
    public List<GxtUserFanInspectionScore> selectGxtUserFanInspectionScoreList(GxtUserFanInspectionScore gxtUserFanInspectionScore);

    /**
     * 查询当月维保机组类型评分
     * 
     * @return 维保风机类型检查得分集合
     */
    public List<GxtUserFanInspectionScore> selectFanInspectionScoreForCurrentMonth(GxtUserFanInspectionScore userFanInspectionScore);

    public List<GxtUserFanInspectionScore> selectFanInspectionScoreByDeptId(GxtUserFanInspectionScore userFanInspectionScore);

    /**
     * 根据部门、用户查询维保机组类型评分
     *
     * @return 维保风机类型检查得分集合
     */
    public List<GxtUserFanInspectionScore> selectFanInspectionScoreBySP(GxtUserFanInspectionScore userFanInspectionScore);

    /**
     * 新增维保风机类型检查得分
     * 
     * @param gxtUserFanInspectionScore 维保风机类型检查得分
     * @return 结果
     */
    public int insertGxtUserFanInspectionScore(GxtUserFanInspectionScore gxtUserFanInspectionScore);

    /**
     * 修改维保风机类型检查得分
     * 
     * @param gxtUserFanInspectionScore 维保风机类型检查得分
     * @return 结果
     */
    public int updateGxtUserFanInspectionScore(GxtUserFanInspectionScore gxtUserFanInspectionScore);

    /**
     * 删除维保风机类型检查得分
     * 
     * @param id 维保风机类型检查得分主键
     * @return 结果
     */
    public int deleteGxtUserFanInspectionScoreById(Long id);

    /**
     * 批量删除维保风机类型检查得分
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGxtUserFanInspectionScoreByIds(Long[] ids);
}