Commit c9bff9d4 authored by zhangqingle's avatar zhangqingle

修改培训发送通知标签不符问题

parent ba6844dc
...@@ -70,13 +70,13 @@ public class MessageTask { ...@@ -70,13 +70,13 @@ public class MessageTask {
bLessonList.forEach(bLesson -> { bLessonList.forEach(bLesson -> {
BNotice bNotice = new BNotice(); BNotice bNotice = new BNotice();
bNotice.setRecipientIds(bLesson.getPersonList()); bNotice.setRecipientIds(bLesson.getPersonList());
bNotice.setInfoType(InfoTypeEnum.REPLY_DISCUSS.getValue()); bNotice.setInfoType(InfoTypeEnum.OFFLINE_TRAIN.getValue());
bNotice.setLessonId(bLesson.getBusinessId()); bNotice.setLessonId(bLesson.getBusinessId());
bNotice.setCorpId(bLesson.getCorpId()); bNotice.setCorpId(bLesson.getCorpId());
// 通知信息 // 通知信息
bNotice.setInfoText("“"+bLesson.getLessonName()+"”线下培训即将开始" ); bNotice.setInfoText("“"+bLesson.getLessonName()+"”线下培训即将开始" );
// 往智信平台发啊消息 // 往智信平台发啊消息
client.send(bNotice,InfoTypeEnum.REPLY_DISCUSS.getLable(),MessageEnum.PXJJKS.getName(),UrlTypeEnum.TRAIN.getName()); client.send(bNotice,InfoTypeEnum.OFFLINE_TRAIN.getLable(),MessageEnum.PXJJKS.getName(),UrlTypeEnum.TRAIN.getName());
}); });
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment