|
|
|
@ -46,6 +46,7 @@ import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
|
|
import static cn.hutool.core.text.CharSequenceUtil.join;
|
|
|
|
|
import static cn.jlw.util.CacheUserUtil.getStudent;
|
|
|
|
|
import static cn.jlw.util.QuestionUtil.shuffleQuestion;
|
|
|
|
|
import static com.ibeetl.jlw.enums.ResourcesQuestionSnapshotFromTypeEnum.CHAPTER_EXERCISE;
|
|
|
|
|
import static com.ibeetl.jlw.enums.ResourcesQuestionSnapshotFromTypeEnum.HOMEWORK_FILE;
|
|
|
|
|
import static java.util.stream.Collectors.joining;
|
|
|
|
@ -705,8 +706,8 @@ public class TeacherOpenCourseQuestionSettingService extends CoreBaseService<Tea
|
|
|
|
|
if (TRUE_CONST.equals(hwSetting.getTeacherOpenCourseQuestionSettingOptionNoOrder())) {
|
|
|
|
|
// 单题选项排序处理
|
|
|
|
|
resourcesQuestionSnapshots.forEach(value -> {
|
|
|
|
|
// shuffleQuestion(value, "questionStem","questionOption",
|
|
|
|
|
// "questionAnswer", "questionType");
|
|
|
|
|
shuffleQuestion(value, "questionStem","questionOption",
|
|
|
|
|
"questionAnswer", "questionType");
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|