Java Code Examples for org.jeecg.modules.system.entity.SysAnnouncement#setMsgType()
The following examples show how to use
org.jeecg.modules.system.entity.SysAnnouncement#setMsgType() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SysAnnouncementServiceImpl.java From jeecg-cloud with Apache License 2.0 | 5 votes |
@Override public void saveSysAnnouncement(String title, String msgContent) { SysAnnouncement announcement = new SysAnnouncement(); announcement.setTitile(title); announcement.setMsgContent(msgContent); announcement.setSender("JEECG BOOT"); announcement.setPriority(CommonConstant.PRIORITY_L); announcement.setMsgType(CommonConstant.MSG_TYPE_ALL); announcement.setSendStatus(CommonConstant.HAS_SEND); announcement.setSendTime(new Date()); announcement.setDelFlag(CommonConstant.DEL_FLAG_0.toString()); sysAnnouncementMapper.insert(announcement); }
Example 2
Source File: SysAnnouncementServiceImpl.java From jeecg-boot-with-activiti with MIT License | 5 votes |
@Override public void saveSysAnnouncement(String title, String msgContent) { SysAnnouncement announcement = new SysAnnouncement(); announcement.setTitile(title); announcement.setMsgContent(msgContent); announcement.setSender("JEECG BOOT"); announcement.setPriority(CommonConstant.PRIORITY_L); announcement.setMsgType(CommonConstant.MSG_TYPE_ALL); announcement.setSendStatus(CommonConstant.HAS_SEND); announcement.setSendTime(new Date()); announcement.setDelFlag(CommonConstant.DEL_FLAG_0.toString()); sysAnnouncementMapper.insert(announcement); }
Example 3
Source File: SysAnnouncementServiceImpl.java From teaching with Apache License 2.0 | 5 votes |
@Override public void saveSysAnnouncement(String title, String msgContent) { SysAnnouncement announcement = new SysAnnouncement(); announcement.setTitile(title); announcement.setMsgContent(msgContent); announcement.setSender("JEECG BOOT"); announcement.setPriority(CommonConstant.PRIORITY_L); announcement.setMsgType(CommonConstant.MSG_TYPE_ALL); announcement.setSendStatus(CommonConstant.HAS_SEND); announcement.setSendTime(new Date()); announcement.setDelFlag(CommonConstant.DEL_FLAG_0.toString()); sysAnnouncementMapper.insert(announcement); }
Example 4
Source File: SysAnnouncementServiceImpl.java From jeecg-boot with Apache License 2.0 | 5 votes |
@Override public void saveSysAnnouncement(String title, String msgContent) { SysAnnouncement announcement = new SysAnnouncement(); announcement.setTitile(title); announcement.setMsgContent(msgContent); announcement.setSender("JEECG BOOT"); announcement.setPriority(CommonConstant.PRIORITY_L); announcement.setMsgType(CommonConstant.MSG_TYPE_ALL); announcement.setSendStatus(CommonConstant.HAS_SEND); announcement.setSendTime(new Date()); announcement.setDelFlag(CommonConstant.DEL_FLAG_0.toString()); sysAnnouncementMapper.insert(announcement); }