Commit 9c924a1f authored by wangjinjing's avatar wangjinjing

处理信号灯统计与当前状态查询不一致问题

parent 235ac39b
Pipeline #465 failed with stages
in 0 seconds
...@@ -136,9 +136,9 @@ function getQueryParams() { ...@@ -136,9 +136,9 @@ function getQueryParams() {
var currentstate = ""; var currentstate = "";
for (var i in chosed) { for (var i in chosed) {
if (chosed[i] == "0") { if (chosed[i] == "0") {
currentstate += " or STATE is null or STATE=0"; currentstate += " or STATE is null or STATE=20";
} else { } else if (chosed[i] == "1") {
currentstate += " or STATE= " + chosed[i]; currentstate += " or STATE!=20 ";
} }
} }
if (currentstate == "") { if (currentstate == "") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment