|
@@ -488,8 +488,6 @@ public class IotOpeationFillController {
|
|
|
String historyKey = fill.getDeviceId() + "_" + fill.getPointName();
|
|
String historyKey = fill.getDeviceId() + "_" + fill.getPointName();
|
|
|
BigDecimal maxHistory = maxDataMap.getOrDefault(historyKey, BigDecimal.ZERO);
|
|
BigDecimal maxHistory = maxDataMap.getOrDefault(historyKey, BigDecimal.ZERO);
|
|
|
|
|
|
|
|
- fill.setTotalRunTime(new BigDecimal(fill.getFillContent()));
|
|
|
|
|
-
|
|
|
|
|
//RH,RY累计等于历史最大值+当日填写值
|
|
//RH,RY累计等于历史最大值+当日填写值
|
|
|
BigDecimal total = maxHistory.add(currentValue);
|
|
BigDecimal total = maxHistory.add(currentValue);
|
|
|
fill.setTotalRunTime(total);
|
|
fill.setTotalRunTime(total);
|