zss
2025-02-17 087991c76f078defe5eb55d84223021b4199fb3d
cnas-server/src/main/java/com/yuanchu/mom/utils/DataAcquisition.java
@@ -314,7 +314,10 @@
     */
    private static Object calculationFormula(List<Object> list, DataConfig dataConfig, String insProductItem, Device device) {
        if (list.size() == 0) {
            return null;
            Map<String, Object> hashMap = new HashMap<>();
            hashMap.put("equipName", device.getDeviceName());
            hashMap.put("equipValue", device.getManagementNumber());
            return hashMap;
        }
        ArrayList<Object> listResult = new ArrayList<>();
        Map<String, Object> hashMap = new HashMap<>();