| | |
| | | import com.whyc.mapper.Ld9testdataMapper; |
| | | import com.whyc.pojo.Ld9testdata; |
| | | import com.whyc.pojo.Ld9testdataInf; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | |
| | | @Resource |
| | | private Ld9testdataMapper datamapper; |
| | | |
| | | @Autowired |
| | | private SubTablePageInfoService subService; |
| | | //查询LD9测试数据列表 |
| | | public Response searchInfList(int battGroupId) { |
| | | QueryWrapper wrapper=new QueryWrapper(); |
| | |
| | | Ld9testdata ld9testdata = new Ld9testdata(); |
| | | ld9testdata.setTestRecordCount(ld9inf.getTestRecordCount()); |
| | | ld9testdata.setBattGroupId(ld9inf.getBattGroupId()); |
| | | List<Ld9testdata> testList = datamapper.serchByInfo(ld9testdata);//查询某次测试下电池组节数放电情况 |
| | | //List<Ld9testdata> testList = datamapper.serchByInfo(ld9testdata);//查询某次测试下电池组节数放电情况 |
| | | List<Ld9testdata> testList = subService.serchByInfo(ld9testdata);//查询某次测试下电池组节数放电情况 |
| | | ld9inf.setLd9testdata(testList); |
| | | } |
| | | } |