Explorar el Código

其他值提醒化验

zhoutg hace 3 años
padre
commit
c59f59ae95
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
                 }