工业互联网平台2.0版本后端代码
dongyukun
2025-05-26 e690db9517216bea6a19c7c186d35b2ad8d6fd3f
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/collection/handler/CalculateHandle.java
@@ -47,6 +47,12 @@
    private ConstantHandle constantHandle;
    @Resource
    private CumulateHandle cumulateHandle;
    @Resource
    private ExtremalHandle extremalHandle;
    @Resource
    private JavaScriptHandler javaScriptHandler;
    @Autowired
@@ -171,6 +177,8 @@
            pointNos.add(s);
            dataMap.putAll(measureHandle.getCurrent(pointNos));
            dataMap.putAll(constantHandle.getCurrent(pointNos));
            dataMap.putAll(cumulateHandle.getCurrent(pointNos));
            dataMap.putAll(extremalHandle.getCurrent(pointNos));
            if (dataMap.get(s) == null) {
                log.info("计算点数据异常");
                log.info("pointNo=" + dto.getPointNo() + ";dataMap.key=" + s);