浏览代码

修改mq发送报警消息的key

xujiaheng 3 年之前
父节点
当前提交
af5d7b1e2c
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/main/java/com/persagy/constant/RedisConstant.java

+ 3 - 3
src/main/java/com/persagy/constant/RedisConstant.java

@@ -66,17 +66,17 @@ public class RedisConstant {
     /**
      * itemCode-objId拼接,用于根据defineId获取报警定义状态
      */
-    public static final String DEFINE_ID = "DEFINE_ID";
+    public static final String DEFINE_ID = "ALARM_CONDITION_STATE";
 
     /**
      * 报警条件Id REDIS hash 的 id
      */
-    public static final String ALARMCONDITION_ID = "ALARM_CONDITION_ID";
+    public static final String ALARMCONDITION_ID = "ALARM_CONDITION";
 
 
     /**
      * 设备仪表ID
      */
-    public static final String METER_ID = "METER_ID";
+    public static final String METER_ID = "OBJ_CONDITION_REL";
 
 }