| | |
| | | if(userDepartments.size() != 0){ |
| | | Department byId = departmentService.getById(userDepartments.get(0).getDepartmentId()); |
| | | e.setDepartmentName(byId.getName()); |
| | | e.setDeptId(byId.getId()); |
| | | } |
| | | return e; |
| | | }).collect(Collectors.toList()); |
| | |
| | | Integer order = 0; |
| | | for (QuestionTypeVM questionTypeVM : questionTypeVMList) { |
| | | |
| | | List<Integer> questions = questionSubjectService.getSubject(questionTypeVM.getSubjectId()) |
| | | List<Integer> questions = questionSubjectService.getSubjectBySubjectIds(examPaperEditRequestVM.getSubjectId()) |
| | | .stream().map(QuestionSubject::getQuestionId).collect(Collectors.toList()); |
| | | List<Question> list = questionService.selectByIds(questions); |
| | | // List<Question> list = questionService.getAll(); |
| | | |
| | | Map<Integer, Integer> multiple = new HashMap<>(); |
| | | //多选 |