Browse Source

# 计划类型消息推送接口修改

zhongwei
haungxing 2 years ago
parent
commit
9522c6c0e6
  1. 2
      hzims-service/message/src/main/java/com/hnac/hzims/message/schedule/MessagePushSchedule.java

2
hzims-service/message/src/main/java/com/hnac/hzims/message/schedule/MessagePushSchedule.java

@ -106,7 +106,7 @@ public class MessagePushSchedule {
* @return java.lang.String * @return java.lang.String
**/ **/
private String getPushContent(String type,List<MessagePushRecordEntity> list) { private String getPushContent(String type,List<MessagePushRecordEntity> list) {
if(MessageConstants.APP_NAME.equals(type)) { if(MessageConstants.APP_PUSH.equals(type)) {
return list.stream().map(MessagePushRecordEntity::getContent).collect(Collectors.joining("\r\n")); return list.stream().map(MessagePushRecordEntity::getContent).collect(Collectors.joining("\r\n"));
} }
else if(MessageConstants.SMS_PUSH.equals(type)) { else if(MessageConstants.SMS_PUSH.equals(type)) {

Loading…
Cancel
Save