|
@@ -461,6 +461,10 @@ class SaveMeterInfoHistoryDayTest {
|
|
|
rfdl = (bigDecimal20.subtract(bigDecimalGrow2).add(bigDecimalGrow1).subtract(bigDecimal10)).divide(meterPoint.getXs(), 4, RoundingMode.HALF_EVEN).multiply(meterPoint.getMagnification());
|
|
|
}
|
|
|
}
|
|
|
+ if ( rfdl.doubleValue() < 0) {
|
|
|
+ rfdl= BigDecimal.valueOf(-1);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
MeterInfoBottomcode meterInfoBottomcode = new MeterInfoBottomcode();
|
|
@@ -578,6 +582,9 @@ class SaveMeterInfoHistoryDayTest {
|
|
|
rfdl = (bigDecimal20.subtract(bigDecimalGrow2).add(bigDecimalGrow1).subtract(bigDecimal10)).divide(meterPoint.getXs(), 4, RoundingMode.HALF_EVEN).multiply(meterPoint.getMagnification());
|
|
|
}
|
|
|
}
|
|
|
+ if ( rfdl.doubleValue() < 0) {
|
|
|
+ rfdl= BigDecimal.valueOf(-1);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
MeterInfoBottomcode meterInfoBottomcode = new MeterInfoBottomcode();
|
|
@@ -896,7 +903,7 @@ class SaveMeterInfoHistoryDayTest {
|
|
|
|
|
|
List<MeterPoint> meterPointJSDList = meterPointService.list(new QueryWrapper<MeterPoint>()
|
|
|
.eq("property", "JSD")
|
|
|
- .eq("windpowerstation_id", "NX_GDDL_MHS_FDC_STA")
|
|
|
+ .eq("windpowerstation_id", "NX_GDDL_QS_FDC_STA")
|
|
|
.ne("formula", ""));
|
|
|
|
|
|
|
|
@@ -2455,6 +2462,9 @@ class SaveMeterInfoHistoryDayTest {
|
|
|
rfdl = (bigDecimal2.subtract(bigDecimalGrow2).add(bigDecimalGrow1).subtract(bigDecimal1)).multiply(meterPoint.getMagnification());
|
|
|
}
|
|
|
}
|
|
|
+ if ( rfdl.doubleValue() < 0) {
|
|
|
+ rfdl= BigDecimal.valueOf(-1);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
MeterInfoBottomcode meterInfoBottomcode = new MeterInfoBottomcode();
|