package com.whyc.mapper; import com.whyc.dto.BattState; import com.whyc.dto.result.SystemGrdoupBatt; import com.whyc.pojo.BattRtstate; import com.whyc.pojo.Battinf; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface BattRtstateMapper extends CustomMapper { int deleteByPrimaryKey(Long num); @Override int insert(BattRtstate record); int insertSelective(BattRtstate record); BattRtstate selectByPrimaryKey(Long num); int updateByPrimaryKeySelective(BattRtstate record); int updateByPrimaryKey(BattRtstate record); //电池组实时情况+实时电池续航能力查询 List searchBattLife(@Param("binf") Battinf binf, @Param("uId") int uId); //作业管理-创建计划-创建计划 BattRtstate getCurrentSate(int battGroupId); ////3D查询机房下电池组端信息 List getStation3D(String stationId); //第三方接口查询太供30楼实时数据 List getRealtime(@Param("battgroupIds") List battgroupIds); //9140设备要将2组电池的组端信息都给他 List serch9140Info(int devId); //浮充/充电 List getBattStateStatic(int userId); //查询分组电池信息 List selectSystemGrdoupBatt(String stationId); void updateBatch(List battStateList); void insertBatch(List addList); List getDischargingList(int userId); //查询电池组端信息 List serchPowerHr6159(int devId); //查询电池状态 List getAllBattStateInSz2(Integer userId); }