package com.evobms.project.bms.mapper;

import java.util.List;
import com.evobms.project.bms.domain.BmsVoltageChannelData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * BMS电压通道数据Mapper接口
 * 
 * @author tzy
 * @date 2026-02-23
 */
public interface BmsVoltageChannelDataMapper extends BaseMapper<BmsVoltageChannelData> {
    /**
     * 查询BMS电压通道数据
     * 
     * @param id BMS电压通道数据主键
     * @return BMS电压通道数据
     */
    public BmsVoltageChannelData selectBmsVoltageChannelDataById(Long id);

    /**
     * 查询BMS电压通道数据列表
     * 
     * @param bmsVoltageChannelData BMS电压通道数据
     * @return BMS电压通道数据集合
     */
    public List<BmsVoltageChannelData> selectBmsVoltageChannelDataList(BmsVoltageChannelData bmsVoltageChannelData);

    /**
     * 新增BMS电压通道数据
     * 
     * @param bmsVoltageChannelData BMS电压通道数据
     * @return 结果
     */
    public int insertBmsVoltageChannelData(BmsVoltageChannelData bmsVoltageChannelData);

    /**
     * 修改BMS电压通道数据
     * 
     * @param bmsVoltageChannelData BMS电压通道数据
     * @return 结果
     */
    public int updateBmsVoltageChannelData(BmsVoltageChannelData bmsVoltageChannelData);

    /**
     * 删除BMS电压通道数据
     * 
     * @param id BMS电压通道数据主键
     * @return 结果
     */
    public int deleteBmsVoltageChannelDataById(Long id);

    /**
     * 批量删除BMS电压通道数据
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBmsVoltageChannelDataByIds(Long[] ids);
}
