Ver código fonte

一个小问题

lighter 1 ano atrás
pai
commit
16715f2194

+ 1 - 1
src/main/java/thyyxxk/webserver/entity/criticalValue/CriticalValue.java

@@ -65,7 +65,7 @@ public class CriticalValue {
 
 
         public Builder msgType(String msgType) {
-            this.msgType = patNo;
+            this.msgType = msgType;
             return this;
         }
 

+ 1 - 0
src/main/java/thyyxxk/webserver/service/zhuyuanyisheng/PatientCriticalValuesService.java

@@ -40,6 +40,7 @@ public class PatientCriticalValuesService {
     }
 
     public ResultVo<String> acceptCriticalValues(String message) {
+        log.info("收到危急值消息:{}", message);
         CriticalValue criticalValue = makeEntityFromMessage(message);
         if (StringUtil.isBlank(criticalValue.getContent())) {
             return ResultVoUtil.fail(ExceptionEnum.NULL_POINTER, "消息体为空。");