From 9522c6c0e6683172ed95d55141c35902c59d8429 Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Fri, 14 Apr 2023 17:02:46 +0800 Subject: [PATCH] =?UTF-8?q?#=20=E8=AE=A1=E5=88=92=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=8E=A8=E9=80=81=E6=8E=A5=E5=8F=A3=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/hnac/hzims/message/schedule/MessagePushSchedule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {