whyclxw
2025-05-28 e16302f9d475c7cc4dd18c5abf1a23cb5502e362
src/main/java/com/whyc/service/FBOTestDataService.java
@@ -2,6 +2,7 @@
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;
@@ -12,13 +13,18 @@
    @Resource
    private FBOTestDataMapper mapper;
    @Autowired
    private SubTablePageInfoService subService;
    public List<FBOTestData> getList(int battGroupId, int testRecordCount) {
        return mapper.getList(battGroupId,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=mapper.getMonCuntBytestRecordCount(battGroupId,testRecordCount);
        int monCount=subService.getMonCuntBytestRecordCount(battGroupId,testRecordCount);
        return monCount;
    }
}