| | |
| | | |
| | | 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; |
| | |
| | | |
| | | @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; |
| | | } |
| | | } |