Bladeren bron

运行记录1226-运行记录保存1

yuanchao 3 dagen geleden
bovenliggende
commit
1dc6835e30

+ 0 - 2
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/controller/admin/iotopeationfill/IotOpeationFillController.java

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