Ver código fonte

其他值提醒化验

zhoutg 3 anos atrás
pai
commit
c59f59ae95
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/main/java/com/diagbot/util/MsgNewUtil.java

+ 1 - 1
src/main/java/com/diagbot/util/MsgNewUtil.java

@@ -87,7 +87,7 @@ public class MsgNewUtil {
         String msg = "";
         switch (TypeEnum.getEnum(otherType)) {
             case lis: // 其他值提醒——化验
-                msg = redisUtil.getByKeyAndField(RedisEnum.otherMsg.getName(), otherType + "_1" + type);
+                msg = redisUtil.getByKeyAndField(RedisEnum.otherMsg.getName(), otherType + "_" + type);
                 if (StringUtil.isBlank(msg)) { // 防止报空指针
                     return null;
                 }