From 191cedfe2210fde1107af9d43057a721d00d2c17 Mon Sep 17 00:00:00 2001
From: young <2656288471@qq.com>
Date: Fri, 24 Mar 2023 17:03:17 +0800
Subject: [PATCH 1/2] Update detail.html
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
设置了空值统计,详情展示错误
---
.../resources/templates/system/probeJobInstance/detail.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/templates/system/probeJobInstance/detail.html b/src/main/resources/templates/system/probeJobInstance/detail.html
index cff8c84..8f5cf5f 100644
--- a/src/main/resources/templates/system/probeJobInstance/detail.html
+++ b/src/main/resources/templates/system/probeJobInstance/detail.html
@@ -81,9 +81,11 @@
|
- |
+
+ |
|
- |
+
+ |
From 7aed3bb275b1cac4c115b2c864c03d12ccb60f6d Mon Sep 17 00:00:00 2001
From: young <2656288471@qq.com>
Date: Fri, 24 Mar 2023 17:11:25 +0800
Subject: [PATCH 2/2] Update ProbeJobInstanceServiceImpl.java
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
设置了空值统计 ,详情展示错误
---
.../ProbeJobInstance/service/ProbeJobInstanceServiceImpl.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/main/java/com/vince/xq/project/system/ProbeJobInstance/service/ProbeJobInstanceServiceImpl.java b/src/main/java/com/vince/xq/project/system/ProbeJobInstance/service/ProbeJobInstanceServiceImpl.java
index 3c1f0e4..99b7f25 100644
--- a/src/main/java/com/vince/xq/project/system/ProbeJobInstance/service/ProbeJobInstanceServiceImpl.java
+++ b/src/main/java/com/vince/xq/project/system/ProbeJobInstance/service/ProbeJobInstanceServiceImpl.java
@@ -84,6 +84,8 @@ private ProbeJobInstanceResult extract(ProbeJobInstance instance) {
nullResult.setNullField(key);
JSONArray jsonArray = JSONObject.parseArray(nullResultObj.getString(key));
long totalCnt = 0;
+ //空值详情展示错误问题
+ //nullResult.setNullCnt(0L);
for (int i = 0; i < jsonArray.size(); i++) {
JSONObject jsonObject = JSONObject.parseObject(jsonArray.get(i).toString());
if (jsonObject.getString("dict").equals("0")) {