소스 검색

人员不存在改为warn级别日志。

zhengqiang 4 년 전
부모
커밋
4bfa695ea8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      web/src/main/java/com/jpsoft/shinestar/mq/listener/PersonNotificationListener.java

+ 1 - 1
web/src/main/java/com/jpsoft/shinestar/mq/listener/PersonNotificationListener.java

@@ -74,7 +74,7 @@ public class PersonNotificationListener {
             PersonInfo personInfo = personInfoService.get(notification.getPersonId());
             PersonInfo personInfo = personInfoService.get(notification.getPersonId());
 
 
             if (personInfo==null) {
             if (personInfo==null) {
-                log.error("{}无人员信息!", notification.getPersonId());
+                log.warn("{}无人员信息!", notification.getPersonId());
                 return;
                 return;
             }
             }