|
|
|
@ -108,18 +108,7 @@ public class TeacherOpenCourseQuestionLogScoreInfo extends BaseEntity {
|
|
|
|
|
/**
|
|
|
|
|
* 完成用时
|
|
|
|
|
*/
|
|
|
|
|
// @FetchSql(value = "SELECT max(TIMEDIFF( t.teacher_open_course_question_log_update_time , t.teacher_open_course_question_log_add_time )) as finish_time " +
|
|
|
|
|
// "FROM teacher_open_course_question_log t " +
|
|
|
|
|
// "WHERE t.teacher_open_course_question_log_status = 1 and t.question_log_add_type = 'FINALLY_SUBMIT' \n" +
|
|
|
|
|
// "@if(!isEmpty(studentId)) { \n" +
|
|
|
|
|
// "and t.student_id = #studentId# \n" +
|
|
|
|
|
// "@} \n" +
|
|
|
|
|
// "and t.teacher_open_course_question_setting_id = #teacherOpenCourseQuestionSettingId# " +
|
|
|
|
|
// "AND t.teacher_open_course_question_log_update_time IS NOT NULL "
|
|
|
|
|
// )
|
|
|
|
|
// private String finishTime;
|
|
|
|
|
|
|
|
|
|
@FetchSql(value = "SELECT max(ifnull(t.teacher_open_course_question_log_finish_time , 0)) as finish_time " +
|
|
|
|
|
@FetchSql(value = "SELECT max(TIMEDIFF( t.teacher_open_course_question_log_update_time , t.teacher_open_course_question_log_add_time )) as finish_time " +
|
|
|
|
|
"FROM teacher_open_course_question_log t " +
|
|
|
|
|
"WHERE t.teacher_open_course_question_log_status = 1 and t.question_log_add_type = 'FINALLY_SUBMIT' \n" +
|
|
|
|
|
"@if(!isEmpty(studentId)) { \n" +
|
|
|
|
@ -129,6 +118,19 @@ public class TeacherOpenCourseQuestionLogScoreInfo extends BaseEntity {
|
|
|
|
|
"AND t.teacher_open_course_question_log_update_time IS NOT NULL "
|
|
|
|
|
)
|
|
|
|
|
private String finishTime;
|
|
|
|
|
// /**
|
|
|
|
|
// * 完成用时 的第二种实现
|
|
|
|
|
// */
|
|
|
|
|
// @FetchSql(value = "SELECT max(ifnull(t.teacher_open_course_question_log_finish_time , 0)) as finish_time " +
|
|
|
|
|
// "FROM teacher_open_course_question_log t " +
|
|
|
|
|
// "WHERE t.teacher_open_course_question_log_status = 1 and t.question_log_add_type = 'FINALLY_SUBMIT' \n" +
|
|
|
|
|
// "@if(!isEmpty(studentId)) { \n" +
|
|
|
|
|
// "and t.student_id = #studentId# \n" +
|
|
|
|
|
// "@} \n" +
|
|
|
|
|
// "and t.teacher_open_course_question_setting_id = #teacherOpenCourseQuestionSettingId# " +
|
|
|
|
|
// "AND t.teacher_open_course_question_log_update_time IS NOT NULL "
|
|
|
|
|
// )
|
|
|
|
|
// private String finishTime;
|
|
|
|
|
|
|
|
|
|
public void setCorrectCount(Integer correctCount) {
|
|
|
|
|
this.correctCount = correctCount;
|
|
|
|
|