@Override
 public List<StudentNews> getAllNewsByStudent(Student student) {
   String hql = "from StudentNews t where t.student=:student order by t.releaseTime desc";
   Map<String, Object> params = new HashMap<String, Object>();
   params.put("student", student);
   return newsdao.find(hql, params);
 }
 @Override
 public void addNews(StudentNews news) {
   newsdao.save(news);
 }