lixing 3 years ago
parent
commit
f88e2c4e7e

+ 4 - 2
dmp-alarm/src/main/java/com/persagy/dmp/alarm/entity/AlarmConfig.java

@@ -109,15 +109,17 @@ public class AlarmConfig {
 	public class AlarmConfigUnique {
 		private String itemCode;
 		private String objId;
+		private String targetId;
 
-		AlarmConfigUnique(String itemCode, String objId) {
+		AlarmConfigUnique(String itemCode, String objId, String targetId) {
 			this.itemCode = itemCode;
 			this.objId = objId;
+			this.targetId = targetId;
 		}
 	}
 
 	public AlarmConfigUnique getAlarmConfigUnique() {
-		return new AlarmConfigUnique(this.itemCode, this.objId);
+		return new AlarmConfigUnique(this.itemCode, this.objId, this.targetId);
 	}
 
 }