|
|
@ -192,8 +192,9 @@ public class TeacherOpenCourseHandsOnService extends CoreBaseService<TeacherOpen
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public List<TeacherOpenCourseHandsOnList> getHandsOnList(GetHandsOnListParam param) {
|
|
|
|
public PageQuery<TeacherOpenCourseHandsOnList> getHandsOnList(GetHandsOnListParam param) {
|
|
|
|
List<TeacherOpenCourseHandsOnList> teacherOpenCourseHandsOnLists = teacherOpenCourseHandsOnDao.getHandsOnList(param);
|
|
|
|
PageQuery<TeacherOpenCourseHandsOnList> teacherOpenCourseHandsOns = teacherOpenCourseHandsOnDao.getHandsOnList(param.getPageQuery());
|
|
|
|
|
|
|
|
List<TeacherOpenCourseHandsOnList> teacherOpenCourseHandsOnLists = teacherOpenCourseHandsOns.getList();
|
|
|
|
List<Long> handIds = teacherOpenCourseHandsOnLists.stream().map(v -> v.getHandsOnId()).collect(Collectors.toList());
|
|
|
|
List<Long> handIds = teacherOpenCourseHandsOnLists.stream().map(v -> v.getHandsOnId()).collect(Collectors.toList());
|
|
|
|
List<HandsOnAchievement> achievementList = new ArrayList<>();
|
|
|
|
List<HandsOnAchievement> achievementList = new ArrayList<>();
|
|
|
|
if (CollectionUtils.isNotEmpty(handIds)) {
|
|
|
|
if (CollectionUtils.isNotEmpty(handIds)) {
|
|
|
@ -212,7 +213,8 @@ public class TeacherOpenCourseHandsOnService extends CoreBaseService<TeacherOpen
|
|
|
|
teacherOpenCourseHandsOnList.setStepAvgScore(stepAvgScore);
|
|
|
|
teacherOpenCourseHandsOnList.setStepAvgScore(stepAvgScore);
|
|
|
|
teacherOpenCourseHandsOnList.setReportAvgScore(reportAvgScore);
|
|
|
|
teacherOpenCourseHandsOnList.setReportAvgScore(reportAvgScore);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return teacherOpenCourseHandsOnLists;
|
|
|
|
teacherOpenCourseHandsOns.setList(teacherOpenCourseHandsOnLists);
|
|
|
|
|
|
|
|
return teacherOpenCourseHandsOns;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public List<Map<String, Object>> getExcelValues(TeacherOpenCourseHandsOnQuery teacherOpenCourseHandsOnQuery) {
|
|
|
|
public List<Map<String, Object>> getExcelValues(TeacherOpenCourseHandsOnQuery teacherOpenCourseHandsOnQuery) {
|
|
|
@ -248,7 +250,8 @@ public class TeacherOpenCourseHandsOnService extends CoreBaseService<TeacherOpen
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public TeacherOpenCourseHandsOnList getHandsOnListCount(GetHandsOnListParam param) {
|
|
|
|
public TeacherOpenCourseHandsOnList getHandsOnListCount(GetHandsOnListParam param) {
|
|
|
|
List<TeacherOpenCourseHandsOnList> teacherOpenCourseHandsOnLists = teacherOpenCourseHandsOnDao.getHandsOnList(param);
|
|
|
|
PageQuery<TeacherOpenCourseHandsOnList> teacherOpenCourseHandsOns = teacherOpenCourseHandsOnDao.getHandsOnList(param.getPageQuery());
|
|
|
|
|
|
|
|
List<TeacherOpenCourseHandsOnList> teacherOpenCourseHandsOnLists = teacherOpenCourseHandsOns.getList();
|
|
|
|
List<Long> handIds = teacherOpenCourseHandsOnLists.stream().map(v -> v.getHandsOnId()).collect(Collectors.toList());
|
|
|
|
List<Long> handIds = teacherOpenCourseHandsOnLists.stream().map(v -> v.getHandsOnId()).collect(Collectors.toList());
|
|
|
|
List<HandsOnAchievement> achievementList = new ArrayList<>();
|
|
|
|
List<HandsOnAchievement> achievementList = new ArrayList<>();
|
|
|
|
if (CollectionUtils.isNotEmpty(handIds)) {
|
|
|
|
if (CollectionUtils.isNotEmpty(handIds)) {
|
|
|
|