From d0379cd7b83c165f0fe5ba20dce8ba96db12503e Mon Sep 17 00:00:00 2001 From: "hhb@hotmail.com" Date: Tue, 24 Dec 2024 15:26:56 +0800 Subject: [PATCH] update --- .../controller/admin/service/impl/TeacherServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/cn/teammodel/controller/admin/service/impl/TeacherServiceImpl.java b/src/main/java/cn/teammodel/controller/admin/service/impl/TeacherServiceImpl.java index 12c5fe0..c9abf99 100644 --- a/src/main/java/cn/teammodel/controller/admin/service/impl/TeacherServiceImpl.java +++ b/src/main/java/cn/teammodel/controller/admin/service/impl/TeacherServiceImpl.java @@ -769,8 +769,11 @@ public class TeacherServiceImpl implements TeacherService { Map> map = new HashMap<>(); Map 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 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); }