| | |
| | | |
| | | private Integer testMonnum; |
| | | |
| | | private Float monCap; |
| | | |
| | | private Float monRestCap; |
| | | |
| | | |
| | | } |
| | |
| | | |
| | | private Integer testStopreason; |
| | | |
| | | private Float monCap; |
| | | |
| | | private Float monRestCap; |
| | | |
| | | |
| | | } |
| | |
| | | |
| | | |
| | | String[] arrTh = new String[]{ |
| | | "单体编号","起始单体电压(V)","截止单体电压(V)","测试容量(AH)","单体内阻(mΩ)","起始单体温度(℃)","终止单体温度(℃)" |
| | | "单体编号","起始单体电压(V)","截止单体电压(V)","测试容量(AH)","实际容量(AH)","剩余容量(AH)","单体内阻(mΩ)","起始单体温度(℃)","终止单体温度(℃)" |
| | | }; |
| | | sheet1.createRow(rownum); |
| | | for(int i = 0 ;i<arrTh.length;i++){ |
| | |
| | | sheet.getRow(currRow+4).createCell(currCel).setCellValue("电流(A)"); |
| | | sheet.getRow(currRow+5).createCell(currCel).setCellValue("测试容量(AH)"); |
| | | sheet.getRow(currRow+6).createCell(currCel).setCellValue("单体电压"+monNum+"(V)"); |
| | | sheet.getRow(currRow+7).createCell(currCel).setCellValue("实际容量(AH)"); |
| | | sheet.getRow(currRow+8).createCell(currCel).setCellValue("剩余容量(AH)"); |
| | | } |
| | | currCel++; |
| | | sheet.getRow(currRow+1).createCell(currCel).setCellValue(formatTestLong(data.getTestTimelong())); |
| | |
| | | sheet.getRow(currRow+4).createCell(currCel).setCellValue(formartDouble(data.getTestCurr(),3)); |
| | | sheet.getRow(currRow+5).createCell(currCel).setCellValue(formartDouble(data.getTestCap(),1)); |
| | | sheet.getRow(currRow+6).createCell(currCel).setCellValue(formartDouble(data.getMonVol(),3)); |
| | | sheet.getRow(currRow+7).createCell(currCel).setCellValue(formartDouble(data.getMonCap(),1)); |
| | | sheet.getRow(currRow+8).createCell(currCel).setCellValue(formartDouble(data.getMonRestCap(),1)); |
| | | } |
| | | } |
| | | } |
| | |
| | | GROUP BY test_monnum order by test_monnum asc |
| | | </select> |
| | | <select id="serchByCondition" resultType="com.whyc.pojo.Ld9testdata"> |
| | | select num,BattGroupId,test_record_count,test_type,record_num,test_starttime,record_time,test_timelong,online_vol,group_vol,test_curr,test_cap,mon_num,mon_vol,mon_tmp,test_monnum |
| | | select num,BattGroupId,test_record_count,test_type,record_num,test_starttime,record_time,test_timelong,online_vol,group_vol,test_curr,test_cap,mon_cap,mon_rest_cap,mon_num,mon_vol,mon_tmp,test_monnum |
| | | from db_ld9_testdata.tb_ld9testdata_${battGroupId} |
| | | where test_record_count=#{testRecordCount} and (record_num%#{roteN}=0 ) and test_monnum=#{testMonNum} |
| | | </select> |
| | |
| | | |
| | | |
| | | <select id="serchByInfo" resultType="com.whyc.pojo.Ld9testdatastop"> |
| | | select num,BattGroupId,test_record_count,test_type,test_starttime,record_time,test_timelong,group_vol,test_curr,test_cap,mon_num,mon_vol,test_monnum,max_monvol,min_monvol,test_stopreason |
| | | select num,BattGroupId,test_record_count,test_type,test_starttime,record_time,test_timelong,group_vol,test_curr,test_cap,mon_cap,mon_rest_cap,mon_num,mon_vol,test_monnum,max_monvol,min_monvol,test_stopreason |
| | | from db_ld9_testdata.tb_ld9testdatastop_${battGroupId} |
| | | where test_record_count=#{testRecordCount} and test_monnum=#{testMonNum} |
| | | </select> |
| | | <select id="serchByCondition" resultType="com.whyc.pojo.Ld9testdatastop"> |
| | | select num,BattGroupId,test_record_count,test_type,test_starttime,record_time,test_timelong,group_vol,test_curr,test_cap,mon_num,mon_vol,test_monnum,max_monvol,min_monvol,test_stopreason |
| | | select num,BattGroupId,test_record_count,test_type,test_starttime,record_time,test_timelong,group_vol,test_curr,test_cap,mon_cap,mon_rest_cap,mon_num,mon_vol,test_monnum,max_monvol,min_monvol,test_stopreason |
| | | from db_ld9_testdata.tb_ld9testdatastop_${battGroupId} |
| | | where test_record_count=#{testRecordCount} |
| | | </select> |