diff --git a/hzims-service/message/src/main/java/com/hnac/hzims/message/schedule/MessagePushSchedule.java b/hzims-service/message/src/main/java/com/hnac/hzims/message/schedule/MessagePushSchedule.java index 953f3b3..82fc76d 100644 --- a/hzims-service/message/src/main/java/com/hnac/hzims/message/schedule/MessagePushSchedule.java +++ b/hzims-service/message/src/main/java/com/hnac/hzims/message/schedule/MessagePushSchedule.java @@ -106,7 +106,7 @@ public class MessagePushSchedule { * @return java.lang.String **/ private String getPushContent(String type,List list) { - if(MessageConstants.APP_NAME.equals(type)) { + if(MessageConstants.APP_PUSH.equals(type)) { return list.stream().map(MessagePushRecordEntity::getContent).collect(Collectors.joining("\r\n")); } else if(MessageConstants.SMS_PUSH.equals(type)) {