|
@@ -116,7 +116,7 @@ public class StudentExtracurricularExercisesSituationServiceImpl extends BaseSer
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public PageInfo<StudentServiceDetailDto> findServiceStudentDetail(StudentServiceDetailQueryInfo queryInfo) {
|
|
|
+ public List<Map<String, Object>> findServiceStudentDetail(StudentServiceDetailQueryInfo queryInfo) {
|
|
|
PageInfo<StudentServiceDetailDto> pageInfo = new PageInfo<>(queryInfo.getPage(), queryInfo.getRows());
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
MapUtil.populateMap(params, queryInfo);
|
|
@@ -136,11 +136,16 @@ public class StudentExtracurricularExercisesSituationServiceImpl extends BaseSer
|
|
|
}
|
|
|
weekHomeworks.get(mondayStr).add(studentServiceDetailDto);
|
|
|
}
|
|
|
+ List<Map<String, Object>> results=new ArrayList<>();
|
|
|
+ for (Map.Entry<String, List<StudentServiceDetailDto>> stringListEntry : weekHomeworks.entrySet()) {
|
|
|
+ Map<String, Object> result=new HashMap<>();
|
|
|
+ result.put("monday", stringListEntry.getKey());
|
|
|
+ result.put("data", stringListEntry.getValue());
|
|
|
+ results.add(result);
|
|
|
+ }
|
|
|
+ return results;
|
|
|
+ }else{
|
|
|
+ return null;
|
|
|
}
|
|
|
- if (count == 0) {
|
|
|
- dataList = new ArrayList<>();
|
|
|
- }
|
|
|
- pageInfo.setRows(dataList);
|
|
|
- return pageInfo;
|
|
|
}
|
|
|
}
|