| | |
| | | |
| | | |
| | | @Override |
| | | public void addSystemNotice(Integer userType, String content, Integer userId, Integer noticeType) throws Exception { |
| | | public void addSystemNotice(Integer userType, String content, Integer userId) throws Exception { |
| | | SystemNotice systemNotice = new SystemNotice(); |
| | | systemNotice.setContent(content); |
| | | systemNotice.setInsertTime(new Date()); |
| | |
| | | systemNotice.setType(2); |
| | | systemNotice.setUserId(userId); |
| | | systemNotice.setUserType(userType); |
| | | systemNotice.setNoticeType(noticeType); |
| | | this.insert(systemNotice); |
| | | } |
| | | |