|
|
@@ -999,7 +999,7 @@ public class IotRhDailyReportController {
|
|
|
// 用电量 kWh 转换单位 MWh
|
|
|
if (reportVO.getDailyPowerUsage().compareTo(BigDecimal.ZERO) > 0) {
|
|
|
BigDecimal powerW = reportVO.getDailyPowerUsage()
|
|
|
- .divide(BigDecimal.valueOf(1000), 4, RoundingMode.HALF_UP);
|
|
|
+ .divide(BigDecimal.valueOf(1000), 2, RoundingMode.HALF_UP);
|
|
|
reportVO.setDailyPowerUsage(powerW);
|
|
|
}
|
|
|
|
|
|
@@ -1011,7 +1011,7 @@ public class IotRhDailyReportController {
|
|
|
// 小组内累计注气量 精确到单位 万方
|
|
|
findAndThen(groupIdGasInjectionPair, reportVO.getId(), gasInjection -> {
|
|
|
BigDecimal gasInjectionWanFang = gasInjection
|
|
|
- .divide(BigDecimal.valueOf(10000), 4, RoundingMode.HALF_UP);
|
|
|
+ .divide(BigDecimal.valueOf(10000), 2, RoundingMode.HALF_UP);
|
|
|
reportVO.setGroupIdGasInjection(gasInjectionWanFang);
|
|
|
});
|
|
|
// 小组内累计注水量
|
|
|
@@ -1019,7 +1019,7 @@ public class IotRhDailyReportController {
|
|
|
// 小组内累计用电量 MWh
|
|
|
findAndThen(groupIdPowerPair, reportVO.getId(), power -> {
|
|
|
BigDecimal powerWanFang = power
|
|
|
- .divide(BigDecimal.valueOf(1000), 4, RoundingMode.HALF_UP);
|
|
|
+ .divide(BigDecimal.valueOf(1000), 2, RoundingMode.HALF_UP);
|
|
|
reportVO.setGroupIdPower(powerWanFang);
|
|
|
});
|
|
|
// 小组内累计油耗 L
|
|
|
@@ -1277,7 +1277,7 @@ public class IotRhDailyReportController {
|
|
|
// 用电量 kWh 转换单位 MWh
|
|
|
if (reportVO.getDailyPowerUsage().compareTo(BigDecimal.ZERO) > 0) {
|
|
|
BigDecimal powerW = reportVO.getDailyPowerUsage()
|
|
|
- .divide(BigDecimal.valueOf(1000), 4, RoundingMode.HALF_UP);
|
|
|
+ .divide(BigDecimal.valueOf(1000), 2, RoundingMode.HALF_UP);
|
|
|
reportVO.setDailyPowerUsage(powerW);
|
|
|
}
|
|
|
// 2.1 拼接部门信息
|
|
|
@@ -1288,7 +1288,7 @@ public class IotRhDailyReportController {
|
|
|
// 小组内累计注气量
|
|
|
findAndThen(groupIdGasInjectionPair, reportVO.getId(), gasInjection -> {
|
|
|
BigDecimal gasInjectionWanFang = gasInjection
|
|
|
- .divide(BigDecimal.valueOf(10000), 4, RoundingMode.HALF_UP);
|
|
|
+ .divide(BigDecimal.valueOf(10000), 2, RoundingMode.HALF_UP);
|
|
|
reportVO.setGroupIdGasInjection(gasInjectionWanFang);
|
|
|
});
|
|
|
// 小组内累计注水量
|
|
|
@@ -1296,7 +1296,7 @@ public class IotRhDailyReportController {
|
|
|
// 小组内累计用电量
|
|
|
findAndThen(groupIdPowerPair, reportVO.getId(), power -> {
|
|
|
BigDecimal powerW = power
|
|
|
- .divide(BigDecimal.valueOf(1000), 4, RoundingMode.HALF_UP);
|
|
|
+ .divide(BigDecimal.valueOf(1000), 2, RoundingMode.HALF_UP);
|
|
|
reportVO.setGroupIdPower(powerW);
|
|
|
});
|
|
|
// 小组内累计油耗
|