diff --git a/src/main/resources/mybatis/mapper/instrument/instrument-mapper.xml b/src/main/resources/mybatis/mapper/instrument/instrument-mapper.xml
index ea6ab9a..fb9f913 100644
--- a/src/main/resources/mybatis/mapper/instrument/instrument-mapper.xml
+++ b/src/main/resources/mybatis/mapper/instrument/instrument-mapper.xml
@@ -175,10 +175,14 @@
pollute_instrument t1
WHERE
t1.is_delete = 0
-
+
AND
t1.instrument_id = #{instrumentId}
-
+
+
+ AND
+ t1.instrument_mn = #{instrumentMn}
+
@@ -203,10 +207,14 @@
pollute_instrument t1
WHERE
t1.is_delete = 0
-
+
AND
t1.instrument_id = #{instrumentId}
-
+
+
+ AND
+ t1.instrument_mn = #{instrumentMn}
+
@@ -231,10 +239,14 @@
pollute_instrument t1
WHERE
t1.is_delete = 0
-
+
AND
t1.instrument_id = #{instrumentId}
-
+
+
+ AND
+ t1.instrument_mn = #{instrumentMn}
+
diff --git a/src/main/resources/static/route/bigdata/style1/index.html b/src/main/resources/static/route/bigdata/style1/index.html
index 29b8cdf..b53187e 100755
--- a/src/main/resources/static/route/bigdata/style1/index.html
+++ b/src/main/resources/static/route/bigdata/style1/index.html
@@ -503,21 +503,22 @@
},
mounted: function() {
var self = this;
- self.initCount();
self.initSocket();
- // setInterval(function() {
- // self.initCount();
- // }, 10000);
+ self.initCount();
+ setInterval(function() {
+ self.initCount();
+ }, 10000);
setTimeout(function() {
self.initPollIds();
- // self.initHistoryValue();
self.initRealTimeValue();
self.initPollChart();
+ setInterval(function() {
+ self.initPollIds();
+ self.initRealTimeValue();
+ self.initPollChart();
+ }, 3000);
}, 500);
- // setInterval(function() {
- // self.initHistoryValue();
- // self.initRealTimeValue();
- // }, 3000);
+
}
})
diff --git a/src/main/resources/templates/dataMinute/list-collector.html b/src/main/resources/templates/dataminute/list-collector.html
similarity index 100%
rename from src/main/resources/templates/dataMinute/list-collector.html
rename to src/main/resources/templates/dataminute/list-collector.html