develop
hhb@hotmail.com 3 days ago
parent 74148a068a
commit d0379cd7b8

@ -769,8 +769,11 @@ public class TeacherServiceImpl implements TeacherService {
Map<String,Map<String,Object>> map = new HashMap<>();
Map<String,Object> mapTeach = new HashMap<>();
mapTeach.put("interaction", new Random().nextInt(50) + 1);
mapTeach.put("cooperation", new Random().nextInt(50) + 1);
mapTeach.put("test", new Random().nextInt(50) + 1);
mapTeach.put("quest", new Random().nextInt(50) + 1);
mapTeach.put("differentiation", new Random().nextInt(50) + 1);
map.put(teacherDto.getGrade(), mapTeach);
list.add(map);
}else {
@ -790,7 +793,9 @@ public class TeacherServiceImpl implements TeacherService {
for (String grade : grades) {
Map<String,Object> mapTeach = new HashMap<>();
mapTeach.put("interaction", new Random().nextInt(50) + 1);
mapTeach.put("cooperation", new Random().nextInt(50) + 1);
mapTeach.put("test", new Random().nextInt(50) + 1);
mapTeach.put("quest", new Random().nextInt(50) + 1);
mapTeach.put("differentiation", new Random().nextInt(50) + 1);
map.put(grade, mapTeach);
}

Loading…
Cancel
Save