src/main/java/com/whyc/dto/Statistic/SticDischarge5Res.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/whyc/dto/Statistic/SticDischarge6Res.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/whyc/service/BatttestdataInfService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/whyc/dto/Statistic/SticDischarge5Res.java
@@ -22,4 +22,8 @@ private Integer disChargeType; //1.已放电 2.未放电 不传全部 private Integer testRecordCount; private String dischargeName; private Integer stationId; private Integer powerId; private Integer battgroupId; private Integer devId; } src/main/java/com/whyc/dto/Statistic/SticDischarge6Res.java
@@ -23,4 +23,8 @@ private Integer testRecordCount; private String dischargeName; private Integer stopReasonType; //0全部,1符合筛选条件的放电记录 private Integer stationId; private Integer powerId; private Integer battgroupId; private Integer devId; } src/main/java/com/whyc/service/BatttestdataInfService.java
@@ -658,6 +658,10 @@ res.setCountry(binf.getCountry()); res.setStationName(binf.getStationName()); res.setBattgroupName(binf.getBattgroupName()); res.setStationId(binf.getStationId()); res.setPowerId(binf.getPowerId()); res.setBattgroupId(binf.getBattgroupId()); res.setDevId(binf.getDevId()); //2.获取电池组在给定时间段的放电记录(指定时间段的标准核容放电) BatttestdataInf tinf =getLastStandardTestDataByTime(binf.getBattgroupId(),stic.getTestStartTime(),stic.getTestEndTime()); if(tinf==null){ @@ -748,6 +752,10 @@ res.setMonvolstd(binf.getMonvolstd()); res.setMoncount(binf.getMoncount()); res.setProduct(binf.getProduct()); res.setStationId(binf.getStationId()); res.setPowerId(binf.getPowerId()); res.setBattgroupId(binf.getBattgroupId()); res.setDevId(binf.getDevId()); //获取电池组未放电记录(指定时间段的标准核容放电) getNoDischargeData(binf.getBattgroupId(),stic.getTestStartTime(),stic.getTestEndTime(),stic.getTypeList(),res); if(stic.getStopReasonType()==0){