虚拟清单撤回--发消息
This commit is contained in:
+6
-3
@@ -552,13 +552,16 @@ public class DummyInventoryBaseEOServiceImpl extends ServiceImpl<DummyInventoryB
|
|||||||
String title = "The "+ baseEO.getName()+" virtual list you subscribed to has been withdrawn.";
|
String title = "The "+ baseEO.getName()+" virtual list you subscribed to has been withdrawn.";
|
||||||
//Please note that the XX virtual list you subscribed to has been withdrawn.
|
//Please note that the XX virtual list you subscribed to has been withdrawn.
|
||||||
String contentLog = "Please note that the "+ baseEO.getName()+" virtual list you subscribed to has been withdrawn.";
|
String contentLog = "Please note that the "+ baseEO.getName()+" virtual list you subscribed to has been withdrawn.";
|
||||||
|
|
||||||
|
String contentCn = "您订阅的虚拟清单"+ baseEO.getName()+"已被撤回.";
|
||||||
|
String contentInfoEn = "Please note that the "+ baseEO.getName()+" virtual list you subscribed to has been withdrawn.";
|
||||||
SysAnnouncement sysAnnouncement = bussDocumentLibraryEOService.getSysAnnouncement(userIdList,
|
SysAnnouncement sysAnnouncement = bussDocumentLibraryEOService.getSysAnnouncement(userIdList,
|
||||||
title,
|
title,
|
||||||
title,
|
contentInfoEn,
|
||||||
contentLog,
|
contentInfoEn,
|
||||||
MessageTypeEnum.READ.getValue(),
|
MessageTypeEnum.READ.getValue(),
|
||||||
MessageTypeEnum.SYSTEMATIC_NOTIFICATION.getName(),
|
MessageTypeEnum.SYSTEMATIC_NOTIFICATION.getName(),
|
||||||
null,null);
|
contentCn,contentCn);
|
||||||
sysAnnouncementService.saveAnnouncement(sysAnnouncement);
|
sysAnnouncementService.saveAnnouncement(sysAnnouncement);
|
||||||
bussDocumentLibraryEOService.sendWebsocket(dummyInventoryBaseEO.getId(), title);
|
bussDocumentLibraryEOService.sendWebsocket(dummyInventoryBaseEO.getId(), title);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user