| | |
| | | if(lstClassIds == null || lstClassIds.size()==0){ |
| | | return ; |
| | | } |
| | | //查询直播关联的班级 |
| | | //查询直播关联的班级 |
| | | String hql = "select userId from StuStudent where classId in (:classIds) and deleteFlag is false "; |
| | | |
| | | List<String> lstUserIds = this.findByComplexHql(hql, CollectionUtils.newObjectMap("classIds",lstClassIds.toArray(new String[lstClassIds.size()])), String.class); |
| | |
| | | "creator",notice.getCreator(),"noticeTypeName",notice.getNoticeTypeName()); |
| | | |
| | | msgInfoService.doSendTextMsgToUsers(lstUserIds.toArray(new String[lstUserIds.size()]), |
| | | MsgInfo.TYPE_NOTICE," 发布了公告", attrs); |
| | | MsgInfo.TYPE_NOTICE," 发布了公告", attrs); |
| | | } |
| | | } |
| | | |