|
@@ -1124,7 +1124,7 @@ public class SingleAnalysisService {
|
|
|
QueryWrapper<ProEconEquipmentInfoDay1> queryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<ProEconEquipmentInfoDay1> queryWrapper = new QueryWrapper<>();
|
|
|
queryWrapper.eq("windturbine_id", wtId).ge("record_date", beginDate)
|
|
queryWrapper.eq("windturbine_id", wtId).ge("record_date", beginDate)
|
|
|
.le("record_date", endDate)
|
|
.le("record_date", endDate)
|
|
|
- .orderByAsc("record_date");;
|
|
|
|
|
|
|
+ .orderByAsc("record_date");
|
|
|
List<ProEconEquipmentInfoDay1> wtday1ls = proEconEquipmentInfoDay1Service.list(queryWrapper);
|
|
List<ProEconEquipmentInfoDay1> wtday1ls = proEconEquipmentInfoDay1Service.list(queryWrapper);
|
|
|
if (!wtday1ls.isEmpty()) {
|
|
if (!wtday1ls.isEmpty()) {
|
|
|
for (ProEconEquipmentInfoDay1 wtday1 : wtday1ls) {
|
|
for (ProEconEquipmentInfoDay1 wtday1 : wtday1ls) {
|
|
@@ -1291,16 +1291,16 @@ public class SingleAnalysisService {
|
|
|
List<SingleAnalysisVo> jd = map.get("jd").stream().collect(Collectors.toList());
|
|
List<SingleAnalysisVo> jd = map.get("jd").stream().collect(Collectors.toList());
|
|
|
ff.forEach(f -> {
|
|
ff.forEach(f -> {
|
|
|
TurbineInfoDay tb = col.get(f.getRecorddate());
|
|
TurbineInfoDay tb = col.get(f.getRecorddate());
|
|
|
- f.setFdl(NumberUtil.round(tb.getRfdl() , 2).doubleValue());
|
|
|
|
|
|
|
+ f.setFdl(NumberUtil.round(tb.getRfdl() /1000 , 2).doubleValue());
|
|
|
f.setFs(NumberUtil.round(tb.getPjfs(), 2).doubleValue());
|
|
f.setFs(NumberUtil.round(tb.getPjfs(), 2).doubleValue());
|
|
|
});
|
|
});
|
|
|
ws.forEach(w -> {
|
|
ws.forEach(w -> {
|
|
|
TurbineInfoDay tb = col.get(w.getRecorddate());
|
|
TurbineInfoDay tb = col.get(w.getRecorddate());
|
|
|
- w.setSlss(NumberUtil.round(tb.getSlss(), 2).doubleValue());
|
|
|
|
|
- w.setXnss(NumberUtil.round(tb.getXnss(), 2).doubleValue());
|
|
|
|
|
- w.setXdss(NumberUtil.round(tb.getXdss(), 2).doubleValue());
|
|
|
|
|
- w.setJxss(NumberUtil.round(tb.getJhjxss(), 2).doubleValue());
|
|
|
|
|
- w.setGzss(NumberUtil.round(tb.getGzss(), 2).doubleValue());
|
|
|
|
|
|
|
+ w.setSlss(NumberUtil.round(tb.getSlss() /1000, 2).doubleValue());
|
|
|
|
|
+ w.setXnss(NumberUtil.round(tb.getXnss() /1000, 2).doubleValue());
|
|
|
|
|
+ w.setXdss(NumberUtil.round(tb.getXdss() /1000, 2).doubleValue());
|
|
|
|
|
+ w.setJxss(NumberUtil.round(tb.getJhjxss() /1000, 2).doubleValue());
|
|
|
|
|
+ w.setGzss(NumberUtil.round(tb.getGzss() /1000, 2).doubleValue());
|
|
|
});
|
|
});
|
|
|
jd.forEach(j -> {
|
|
jd.forEach(j -> {
|
|
|
TurbineInfoDay tb = col.get(j.getRecorddate());
|
|
TurbineInfoDay tb = col.get(j.getRecorddate());
|