whyclxw
2025-05-07 b22e8e7a2d6f6a2998913c381af5ceba9542d79e
src/main/java/com/whyc/mapper/BattRtstateMapper.java
@@ -1,7 +1,7 @@
package com.whyc.mapper;
import com.whyc.dto.BattState;
import com.whyc.dto.BattMaintDealarm;
import com.whyc.dto.result.SystemGrdoupBatt;
import com.whyc.pojo.BattRtstate;
import com.whyc.pojo.Battinf;
import org.apache.ibatis.annotations.Param;
@@ -15,6 +15,7 @@
    int deleteByPrimaryKey(Long num);
    @Override
    int insert(BattRtstate record);
    int insertSelective(BattRtstate record);
@@ -26,11 +27,33 @@
    int updateByPrimaryKey(BattRtstate record);
    //电池组实时情况+实时电池续航能力查询
    List<BattState> searchBattLife(@Param("binf") Battinf binf,@Param("uId") int uId);
    List<BattState> searchBattLife(@Param("binf") Battinf binf, @Param("uId") int uId);
    //作业管理-创建计划-创建计划
    BattRtstate getCurrentSate(int battGroupId);
    void searchBattLifeNow();
    ////3D查询机房下电池组端信息
    List<BattRtstate> getStation3D(String stationId);
    //第三方接口查询太供30楼实时数据
    List<BattRtstate> getRealtime(@Param("battgroupIds") List battgroupIds);
    //9140设备要将2组电池的组端信息都给他
    List<BattRtstate> serch9140Info(int devId);
    //浮充/充电
    List<BattRtstate> getBattStateStatic(int userId);
    //查询分组电池信息
    List<SystemGrdoupBatt> selectSystemGrdoupBatt(String stationId);
    void updateBatch(List<BattRtstate> battStateList);
    void insertBatch(List<BattRtstate> addList);
    List<BattRtstate> getDischargingList(int userId);
   //查询电池组端信息
    List<BattRtstate> serchPowerHr6159(int devId);
    //查询电池状态
    List<BattRtstate> getAllBattStateInSz2(Integer userId);
}