|
@@ -1045,6 +1045,7 @@ public class MyController {
|
|
|
@RequestParam(required = false) String keyword,
|
|
|
@RequestParam(required = false) String module,
|
|
|
@RequestParam(required = false) String[] questionTypes,
|
|
|
+ @RequestParam(required = false) String[] courseModules,
|
|
|
@RequestParam(required = false) Integer[] structIds,
|
|
|
@RequestParam(required = false) String startTime,
|
|
|
@RequestParam(required = false) String endTime,
|
|
@@ -1056,7 +1057,7 @@ public class MyController {
|
|
|
QuestionNoModule questionNoModule = QuestionNoModule.ValueOf(module);
|
|
|
Page<UserQuestion> p = null;
|
|
|
if(questionNoModule == QuestionNoModule.EXERCISE){
|
|
|
- p = userQuestionService.listExerciseError(page, size, user.getId(), keyword, questionTypes, structIds, Tools.baseDate(startTime), Tools.baseDate(endTime), order != null ? order.replace("|", " ") : null);
|
|
|
+ p = userQuestionService.listExerciseError(page, size, user.getId(), keyword, questionTypes, courseModules, structIds, Tools.baseDate(startTime), Tools.baseDate(endTime), order != null ? order.replace("|", " ") : null);
|
|
|
}else if (questionNoModule == QuestionNoModule.EXAMINATION){
|
|
|
Integer libraryId = null;
|
|
|
if (latest != null){
|
|
@@ -1206,6 +1207,7 @@ public class MyController {
|
|
|
@RequestParam(required = false) String keyword,
|
|
|
@RequestParam(required = false) String module,
|
|
|
@RequestParam(required = false) String[] questionTypes,
|
|
|
+ @RequestParam(required = false) String[] courseModules,
|
|
|
@RequestParam(required = false) Integer[] structIds,
|
|
|
@RequestParam(required = false) String startTime,
|
|
|
@RequestParam(required = false) String endTime,
|
|
@@ -1217,7 +1219,7 @@ public class MyController {
|
|
|
QuestionNoModule questionNoModule = QuestionNoModule.ValueOf(module);
|
|
|
Page<UserNoteQuestion> p = null;
|
|
|
if(questionNoModule == QuestionNoModule.EXERCISE){
|
|
|
- p = userNoteQuestionService.listExercise(page, size, user.getId(), keyword, questionTypes, structIds, Tools.baseDate(startTime), Tools.baseDate(endTime), order != null ? order.replace("|", " ") : null);
|
|
|
+ p = userNoteQuestionService.listExercise(page, size, user.getId(), keyword, questionTypes, courseModules, structIds, Tools.baseDate(startTime), Tools.baseDate(endTime), order != null ? order.replace("|", " ") : null);
|
|
|
}else if (questionNoModule == QuestionNoModule.EXAMINATION){
|
|
|
Integer libraryId = null;
|
|
|
if (latest != null){
|