whyczh
2022-01-14 73fa5efb84f35bfa1c31aa2e11d5723f21bbb2e2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
 
import java.util.List;
 
public interface BatttestdataInfMapper extends CustomMapper<BatttestdataInf>{
 
    //查询是否存在db_batt_testdata_id表
    int judge(@Param("battGroupId") int battGroupId);
 
    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);
}