whyczh
2022-01-14 1d8c0e669733c0815451618769acad03e3705765
src/main/java/com/whyc/mapper/BatttestdataInfMapper.java
@@ -1,6 +1,8 @@
package com.whyc.mapper;
import com.whyc.dto.BattState;
import com.whyc.pojo.BattRtstate;
import com.whyc.pojo.Battinf;
import com.whyc.pojo.BatttestdataInf;
import org.apache.ibatis.annotations.Param;
@@ -14,4 +16,9 @@
    List<BatttestdataInf> searchByTestType(@Param("tinf") BatttestdataInf tinf);
    //1.4电池组性能评估(根据电池组id查询所有的放电记录求出放电总次数,最高历史容量,最低历史容量,平均容量,最新测试容量)
    List<BatttestdataInf> searchDischargeTest(@Param("tinf") BatttestdataInf tinf);
    //机房历史放电数据续航能力查询(实时)
    List<BattState> searchBattLifeNow(@Param("binf")Battinf binf);
    //机房历史放电数据续航能力查询(历史)
    List searchBattLife(@Param("binf")Battinf binf);
}