默认课程考试不分是否所属单位始终展示

This commit is contained in:
DU 2021-01-08 18:09:47 +08:00
parent c6f0df8b18
commit 5d65b4d50d

View File

@ -225,6 +225,7 @@ public class MapSystemService implements IMapSystemService {
if(!CollectionUtils.isEmpty(departLessonRefs)){
lessonVOList = iLessonService.getValidLesson(departLessonRefs.stream().map(DepartmentLesson::getLessonId).collect(Collectors.toList()), mapSystem.getPrdType());
}
}
//默认课程展示
MapVO mapVO = iMapService.findMapBaseInfoById(mapSystem.getMapId());
BusinessConsts.Lesson.PrdInfo prdInfo = BusinessConsts.Lesson.PrdInfo.getBy(mapSystem.getPrdType());
@ -237,9 +238,7 @@ public class MapSystemService implements IMapSystemService {
}
}
}
}
}
else{
} else{
lessonVOList = iLessonService.getByMapIdAndPrdType(mapSystem.getMapId(), mapSystem.getPrdType());
}