package com.xzzn.ems.service;

import java.util.List;
import com.xzzn.ems.domain.EmsBatteryDataDailyLatest;

/**
 * 单体电池每日最新数据Service接口
 *
 * @author xzzn
 * @date 2025-07-18
 */
public interface IEmsBatteryDailyLatestService
{
    /**
     * 查询单体电池每日最新数据
     *
     * @param batteryPack 单体电池每日最新数据主键
     * @return 单体电池每日最新数据
     */
    public EmsBatteryDataDailyLatest selectEmsBatteryDataDailyLatestByBatteryPack(String batteryPack);

    /**
     * 查询单体电池每日最新数据列表
     *
     * @param emsBatteryDataDailyLatest 单体电池每日最新数据
     * @return 单体电池每日最新数据集合
     */
    public List<EmsBatteryDataDailyLatest> selectEmsBatteryDataDailyLatestList(EmsBatteryDataDailyLatest emsBatteryDataDailyLatest);

    /**
     * 新增单体电池每日最新数据
     *
     * @param emsBatteryDataDailyLatest 单体电池每日最新数据
     * @return 结果
     */
    public int insertEmsBatteryDataDailyLatest(EmsBatteryDataDailyLatest emsBatteryDataDailyLatest);

    /**
     * 修改单体电池每日最新数据
     *
     * @param emsBatteryDataDailyLatest 单体电池每日最新数据
     * @return 结果
     */
    public int updateEmsBatteryDataDailyLatest(EmsBatteryDataDailyLatest emsBatteryDataDailyLatest);

    /**
     * 批量删除单体电池每日最新数据
     *
     * @param batteryPacks 需要删除的单体电池每日最新数据主键集合
     * @return 结果
     */
    public int deleteEmsBatteryDataDailyLatestByBatteryPacks(String[] batteryPacks);

    /**
     * 删除单体电池每日最新数据信息
     *
     * @param batteryPack 单体电池每日最新数据主键
     * @return 结果
     */
    public int deleteEmsBatteryDataDailyLatestByBatteryPack(String batteryPack);

    /**
     * 批量处理每日数据
     * @param dailyList
     */
    public void batchProcessBatteryData(List<EmsBatteryDataDailyLatest> dailyList);
}
