修复问题

beetlsql3-dev
xuliangtong 2 years ago
parent 92161056d6
commit ce1be214e5

@ -262,6 +262,9 @@ public class TeacherOpenCourseHandsOnSimulationTasksService extends CoreBaseServ
}
public List<HandsOnTaskProblemVO> getObjectiveProblem(String problemIds, Long taskId) {
if (StringUtils.isEmpty(problemIds)) {
return new ArrayList<>();
}
// List<ResourcesQuestion> resourcesQuestions = resourcesQuestionService.getByIds(problemIds);
TeacherOpenCourseHandsOnSimulationTasks info = taskId == null ? null : getInfo(taskId);
List<TeacherOpenCourseMergeResourcesQuestion> resourcesQuestions = StringUtils.isNotEmpty(problemIds) ? mergeResourcesQuestionService.getByIds(problemIds) : null;

Loading…
Cancel
Save