ws 11 月之前
父节点
当前提交
29cc0fac25

+ 1 - 1
industry-system/industry-da/src/main/java/com/example/opc_da/validate/reportTable/DeviceReportTableValidate.java

@@ -135,7 +135,7 @@ public abstract class DeviceReportTableValidate implements ReportTableValidate {
                         if (itemList != null && json.getInteger(tableId + "_row") < itemList.size()) {
                             item = itemList.get(json.getInteger(tableId + "_row"));
                         }
-                        if (Blank.isEmpty(item)) {
+                        if (Blank.isEmpty(item) || Blank.isEmpty(rowCol.get("v")) || Blank.isEmpty(rowCol.get("m"))) {
                             rowCol.put("v", null);
                             rowCol.put("m", null);
                             continue;