whycrzh
2021-01-26 2da88e0ad99dce340f0d25bff5b50fa629bcce15
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.fgkj.mapper.impl.Ld9;
 
import com.fgkj.dto.Ld9testdatastop;
import org.apache.ibatis.annotations.Select;
 
import java.util.List;
 
public interface Ld9testdatastopMapper{
 
    //历史监测容量的柱状图
    @Select("select num,BattGroupId,test_record_count,test_type,test_starttime,record_time," +
            "test_timelong,group_vol,test_curr,test_cap,mon_num,mon_vol,test_monnum,max_monvol," +
            "min_monvol,test_stopreason from db_ld9_testdata.tb_ld9testdatastop_#{battGroupId} " +
            "where test_record_count=#{test_record_count}")
    public List<Ld9testdatastop> serchByCondition(Ld9testdatastop ld9);
    
    //根据电池组id;单体编号,test_record_count查询测试结束的信息
    @Select("select num,BattGroupId,test_record_count,test_type,test_starttime,record_time," +
            "test_timelong,group_vol,test_curr,test_cap,mon_num,mon_vol,test_monnum,max_monvol," +
            "min_monvol,test_stopreason from db_ld9_testdata.tb_ld9testdatastop_#{battGroupId} " +
            "where test_record_count=#{test_record_count} and test_monnum=#{test_monnum}")
    public List<Ld9testdatastop> serchByInfo(Ld9testdatastop ld9);
 
}