lxw
2023-07-29 d1675cea759f0090c43860efabdeb9448d25c41d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.whyc.mapper;
 
import com.whyc.pojo.BattResData;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface BattResDataMapper extends CustomMapper<BattResData> {
    Float calcAvgVol(Integer battGroupId, Integer testRecordCount);
 
    BattResData getMinInfo(Integer battGroupId, Integer testRecordCount);
 
    void deleteByTestRecordCount(Integer battGroupId, Integer testRecordCount);
 
    //历史内阻数据查询
    List<BattResData> getResInfoByBattGroupId(@Param("battGroupId") int battGroupId);
 
    //判断表是否存在
    String checkTable(@Param("dbName") String dbName, @Param("tableName") String tableName);
 
    //查询设置为标准的
    List serchisStandard(@Param("battGroupId") int battGroupId);
 
    //查询最新的一笔
    List serchCurrent(@Param("battGroupId") int battGroupId);
}