| | |
| | | } |
| | | //获取设备某次记录详细的单体放电过程 |
| | | public Response getTdataById(Integer devId, Integer testRecordCount) { |
| | | List<BattLithiumTestData> list=subService.getTdataById(devId,testRecordCount); |
| | | List<BattLithiumTestData> list=subService.getTdataByIdWithListA200(devId,testRecordCount); |
| | | |
| | | return new Response().setII(1,list!=null,list,"获取设备某次记录详细的单体放电过程"); |
| | | return new Response().setII(1,list!=null,list,null); |
| | | } |
| | | //获取放电inf |
| | | public BattLithiumTestDataInf getTinfExport(Integer devId, Integer testRecordCount) { |
| | |
| | | |
| | | //获取设备某次记录详细的单体放电过程 |
| | | public List<BattLithiumTestData> getTdataByIdWithListA200(Integer devId, Integer testRecordCount) { |
| | | String sql="select * from db_batt_testdata.tb_batttestdata_" +devId |
| | | String sql="select * from db_lithium_testdata.tb_batttestdata_" +devId |
| | | +" where need_test=1 and test_record_count="+testRecordCount+" "; |
| | | sql+=" ORDER BY record_num asc "; |
| | | List list = sqlExecuteService.executeQuery_call(sql, new CallBack() { |