|
@@ -1401,10 +1401,10 @@ public class IotRhDailyReportController {
|
|
|
reportVO.setDailyPowerUsage(powerW);
|
|
reportVO.setDailyPowerUsage(powerW);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- // 转换当日油耗 原始单位 方 转换成 万方
|
|
|
|
|
|
|
+ // 转换当日注气量 原始单位 方 转换成 万方
|
|
|
if (reportVO.getDailyGasInjection().compareTo(BigDecimal.ZERO) > 0) {
|
|
if (reportVO.getDailyGasInjection().compareTo(BigDecimal.ZERO) > 0) {
|
|
|
BigDecimal gasW = reportVO.getDailyGasInjection()
|
|
BigDecimal gasW = reportVO.getDailyGasInjection()
|
|
|
- .divide(BigDecimal.valueOf(10000), 2, RoundingMode.HALF_UP);
|
|
|
|
|
|
|
+ .divide(BigDecimal.valueOf(10000), 4, RoundingMode.HALF_UP);
|
|
|
reportVO.setDailyGasInjection(gasW);
|
|
reportVO.setDailyGasInjection(gasW);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1416,7 +1416,7 @@ public class IotRhDailyReportController {
|
|
|
// 小组内累计注气量 精确到单位 万方
|
|
// 小组内累计注气量 精确到单位 万方
|
|
|
findAndThen(groupIdGasInjectionPair, reportVO.getId(), gasInjection -> {
|
|
findAndThen(groupIdGasInjectionPair, reportVO.getId(), gasInjection -> {
|
|
|
BigDecimal gasInjectionWanFang = gasInjection
|
|
BigDecimal gasInjectionWanFang = gasInjection
|
|
|
- .divide(BigDecimal.valueOf(10000), 2, RoundingMode.HALF_UP);
|
|
|
|
|
|
|
+ .divide(BigDecimal.valueOf(10000), 4, RoundingMode.HALF_UP);
|
|
|
reportVO.setGroupIdGasInjection(gasInjectionWanFang);
|
|
reportVO.setGroupIdGasInjection(gasInjectionWanFang);
|
|
|
});
|
|
});
|
|
|
// 小组内累计注水量
|
|
// 小组内累计注水量
|
|
@@ -1848,10 +1848,10 @@ public class IotRhDailyReportController {
|
|
|
reportVO.setDailyPowerUsage(powerW);
|
|
reportVO.setDailyPowerUsage(powerW);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- // 转换当日油耗 原始单位 方 转换成 万方
|
|
|
|
|
|
|
+ // 转换当日注气量 原始单位 方 转换成 万方
|
|
|
if (reportVO.getDailyGasInjection().compareTo(BigDecimal.ZERO) > 0) {
|
|
if (reportVO.getDailyGasInjection().compareTo(BigDecimal.ZERO) > 0) {
|
|
|
BigDecimal gasW = reportVO.getDailyGasInjection()
|
|
BigDecimal gasW = reportVO.getDailyGasInjection()
|
|
|
- .divide(BigDecimal.valueOf(10000), 2, RoundingMode.HALF_UP);
|
|
|
|
|
|
|
+ .divide(BigDecimal.valueOf(10000), 4, RoundingMode.HALF_UP);
|
|
|
reportVO.setDailyGasInjection(gasW);
|
|
reportVO.setDailyGasInjection(gasW);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1863,7 +1863,7 @@ public class IotRhDailyReportController {
|
|
|
// 小组内累计注气量
|
|
// 小组内累计注气量
|
|
|
findAndThen(groupIdGasInjectionPair, reportVO.getId(), gasInjection -> {
|
|
findAndThen(groupIdGasInjectionPair, reportVO.getId(), gasInjection -> {
|
|
|
BigDecimal gasInjectionWanFang = gasInjection
|
|
BigDecimal gasInjectionWanFang = gasInjection
|
|
|
- .divide(BigDecimal.valueOf(10000), 2, RoundingMode.HALF_UP);
|
|
|
|
|
|
|
+ .divide(BigDecimal.valueOf(10000), 4, RoundingMode.HALF_UP);
|
|
|
reportVO.setGroupIdGasInjection(gasInjectionWanFang);
|
|
reportVO.setGroupIdGasInjection(gasInjectionWanFang);
|
|
|
});
|
|
});
|
|
|
// 小组内累计注水量
|
|
// 小组内累计注水量
|