fg电池监控平台的达梦数据库版本
whycxzp
2024-11-12 92ba7a968c67e8c8a64efea1759929649189f390
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
27
28
29
30
package com.whyc.service;
 
import com.whyc.mapper.FBOTestDataMapper;
import com.whyc.pojo.FBOTestData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
import java.util.List;
 
@Service
public class FBOTestDataService {
 
    @Resource
    private FBOTestDataMapper mapper;
    @Autowired
    private SubTablePageInfoService subService;
 
    public List<FBOTestData> getList(int battGroupId, int testRecordCount) {
        //List list=mapper.getList(battGroupId,testRecordCount);
        List list=subService.getList_fbo(battGroupId,testRecordCount);
        return list;
    }
    //根据放电记录编号查询这次充放电中有多少单体
    public int getMonCuntBytestRecordCount(int battGroupId, int testRecordCount){
        //int monCount=mapper.getMonCuntBytestRecordCount(battGroupId,testRecordCount);
        int monCount=subService.getMonCuntBytestRecordCount(battGroupId,testRecordCount);
        return monCount;
    }
}