|
|
@ -212,7 +212,7 @@ public class TeacherOpenCourseQuestionLogController extends BaseController {
|
|
|
|
List<TeacherOpenCourseQuestionLog> list = teacherOpenCourseQuestionLogService.getValuesByQueryNotWithPermission(logQuery);
|
|
|
|
List<TeacherOpenCourseQuestionLog> list = teacherOpenCourseQuestionLogService.getValuesByQueryNotWithPermission(logQuery);
|
|
|
|
|
|
|
|
|
|
|
|
if (CollUtil.isNotEmpty(list)) {
|
|
|
|
if (CollUtil.isNotEmpty(list)) {
|
|
|
|
list.sort(Comparator.comparing(TeacherOpenCourseQuestionLog::getTeacherOpenCourseQuestionLogAddTime));
|
|
|
|
list.sort(Comparator.comparing(TeacherOpenCourseQuestionLog::getTeacherOpenCourseQuestionLogAddTime,Comparator.reverseOrder()));
|
|
|
|
teacherOpenCourseQuestionLogService.manualModifyQuestionScores(getFirst(list).getTeacherOpenCourseQuestionLogId().toString(), score, reply);
|
|
|
|
teacherOpenCourseQuestionLogService.manualModifyQuestionScores(getFirst(list).getTeacherOpenCourseQuestionLogId().toString(), score, reply);
|
|
|
|
return JsonResult.success("修改成功!");
|
|
|
|
return JsonResult.success("修改成功!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|