判断章节练习是否重发试卷

beetlsql3-dev
Mlxa0324 2 years ago
parent 8737292f10
commit 0ea5a4ff8d

@ -523,7 +523,8 @@ public class GeneralQuestionSettingService extends CoreBaseService<GeneralQuesti
// 学生身份屏蔽答案,且记录在做题日志表中,这里不为空的判断有点多余
if (student != null) {
// 判断章节练习是否需要重发试卷的题目
boolean selectIsReSend = generalQuestionLogService.verifyLogAddTypeIsReSend(generalQuestionSettingId, studentId, fromTypeEnum, FINALLY_SUBMIT);
boolean selectIsReSend = generalQuestionLogService.
verifyLogAddTypeIsReSend(generalQuestionSettingId, studentId, fromTypeEnum, FINALLY_SUBMIT);
// 做题日志关联学生, 初步提交做题日志信息,不包含学生提交的答案和得分情况
generalQuestionLogService.preSubmitStudentQuestionLog(studentId, hwSetting, resourcesQuestionSnapshots, selectIsReSend);
// 学生身份,需要屏蔽答案,再丢给前端

@ -716,7 +716,8 @@ public class TeacherOpenCourseQuestionSettingService extends CoreBaseService<Tea
// 学生身份屏蔽答案,且记录在做题日志表中,这里不为空的判断有点多余
if (student != null) {
// 判断章节练习是否需要重发试卷的题目
boolean selectIsReSend = teacherOpenCourseQuestionLogService.verifyLogAddTypeIsReSend(teacherOpenCourseQuestionSettingId, studentId, fromTypeEnum, FINALLY_SUBMIT);
boolean selectIsReSend = teacherOpenCourseQuestionLogService.
verifyLogAddTypeIsReSend(teacherOpenCourseQuestionSettingId, studentId, fromTypeEnum, FINALLY_SUBMIT);
// 做题日志关联学生, 初步提交做题日志信息,不包含学生提交的答案和得分情况
teacherOpenCourseQuestionLogService.preSubmitStudentQuestionLog(studentId, hwSetting, resourcesQuestionSnapshots, selectIsReSend);
// 学生身份,需要屏蔽答案,再丢给前端

Loading…
Cancel
Save