|
|
@ -694,7 +694,7 @@ public class TeacherOpenCourseQuestionSettingService extends CoreBaseService<Tea
|
|
|
|
// 作答次数
|
|
|
|
// 作答次数
|
|
|
|
Integer teacherOpenCourseQuestionSettingSettingDoCount = hwSetting.getTeacherOpenCourseQuestionSettingDoCount();
|
|
|
|
Integer teacherOpenCourseQuestionSettingSettingDoCount = hwSetting.getTeacherOpenCourseQuestionSettingDoCount();
|
|
|
|
Assert.isTrue(teacherOpenCourseQuestionSettingSettingDoCount > 0, "作答次数设置有误,请联系管理员!");
|
|
|
|
Assert.isTrue(teacherOpenCourseQuestionSettingSettingDoCount > 0, "作答次数设置有误,请联系管理员!");
|
|
|
|
// 数据库查询该学生已经做过的次数
|
|
|
|
// 数据库查询该学生已经做过的次数, 这个试卷如果已经交卷的话,就提示用户
|
|
|
|
TeacherOpenCourseQuestionLog teacherOpenCourseQuestionLog = new TeacherOpenCourseQuestionLog();
|
|
|
|
TeacherOpenCourseQuestionLog teacherOpenCourseQuestionLog = new TeacherOpenCourseQuestionLog();
|
|
|
|
teacherOpenCourseQuestionLog.setStudentId(studentId);
|
|
|
|
teacherOpenCourseQuestionLog.setStudentId(studentId);
|
|
|
|
teacherOpenCourseQuestionLog.setQuestionLogAddType(FINALLY_SUBMIT);
|
|
|
|
teacherOpenCourseQuestionLog.setQuestionLogAddType(FINALLY_SUBMIT);
|
|
|
|