1、学生端课程实操列表添加章节id

beetlsql3-dev
wgf 2 years ago
parent 746d7b34c0
commit 4550dbece7

@ -44,5 +44,10 @@ public class StudentHandsOnVO {
*/
private Integer schedule;
/**
* id
*/
private String chapterId;
}

@ -416,6 +416,7 @@ public class TeacherOpenCourseHandsOnService extends CoreBaseService<TeacherOpen
for (TeacherOpenCourseHandsOn handsOn : handsOnList) {
StudentHandsOnVO studentHandsOnVO = new StudentHandsOnVO();
Long handsOnId = handsOn.getHandsOnId();
studentHandsOnVO.setChapterId(handsOn.getCourseChildNode());
studentHandsOnVO.setTeacherOpenCourseId(handsOn.getTeacherOpenCourseId());
List<TeacherOpenCourseHandsOnSimulationTasks> tasks = tasksList.stream().filter(v -> v.getHandsOnId().equals(handsOnId)).collect(Collectors.toList());
studentHandsOnVO.setHandsOnId(handsOnId);

Loading…
Cancel
Save