|
|
|
@ -253,6 +253,7 @@ public class TeacherOpenCourseQuestionLogService extends CoreBaseService<Teacher
|
|
|
|
|
public TeacherOpenCourseQuestionLog getInfo (TeacherOpenCourseQuestionLogQuery teacherOpenCourseQuestionLogQuery){
|
|
|
|
|
List<TeacherOpenCourseQuestionLog> list = teacherOpenCourseQuestionLogDao.getValuesByQuery(teacherOpenCourseQuestionLogQuery);
|
|
|
|
|
if(null != list && list.size()>0){
|
|
|
|
|
list.sort(Comparator.comparing(TeacherOpenCourseQuestionLog::getTeacherOpenCourseQuestionLogAddTime,Comparator.reverseOrder()));
|
|
|
|
|
return list.get(0);
|
|
|
|
|
}else{
|
|
|
|
|
return null;
|
|
|
|
|