摘要:
Date today=new Date();SimpleDateFormat df1 = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");String time = df1.format(today);Timestamp t_today = Timestamp.valueOf(time);hql="from Exam as e where e.teacher.teacher_id='"+teacher_id+"' and e.end_time<='"+t_today 阅读全文