Browse Source

搜索部分bug修复

menglu 3 years ago
parent
commit
2b22a82565

+ 1 - 1
ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/criteria/Match_contain.java

@@ -32,6 +32,6 @@ public class Match_contain extends MatchBase {
 			return false;
 		}
 
-		return this.value.toLowerCase().contains(itemValue.toLowerCase());
+		return itemValue.toLowerCase().contains(this.value.toLowerCase());
 	}
 }

+ 1 - 1
ibms-data-sdk/src/main/resources/alarm_sample.json

@@ -21,7 +21,7 @@
 	"groupCode": "WD",
 	"classCode": "ACATAH",
 	"triggerInfo": {
-		"faultStatus": 1
+		"temp": 1
 	},
 	"buildName": "深圳龙岗万达广场",
 	"level": "B",