whyclxw
2025-06-13 284b4d65d136bea10f58b2eb8cab9189fa2f6a6f
1.2.8/9/10添加id
2个文件已修改
12 ■■■■■ 已修改文件
src/main/java/com/whyc/dto/Statistic/PerformanceRes.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/service/BatttestdataInfService.java 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/dto/Statistic/PerformanceRes.java
@@ -16,4 +16,8 @@
    private Integer inuseYear;
    private Float realCap;          //实际容量
    private String capperformance; //性能
    private Integer stationId;
    private Integer powerId;
    private Integer battgroupId;
    private Integer devId;
}
src/main/java/com/whyc/service/BatttestdataInfService.java
@@ -850,6 +850,10 @@
            res.setMonvolstd(binf.getMonvolstd());
            res.setMoncapstd(binf.getMoncapstd());
            res.setMoncount(binf.getMoncount());
            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){
@@ -904,6 +908,10 @@
            res.setMonvolstd(binf.getMonvolstd());
            res.setMoncapstd(binf.getMoncapstd());
            res.setMoncount(binf.getMoncount());
            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){