update 调整返回内容

develop
hhb@hotmail.com 5 days ago
parent 98a48c1a37
commit 94a1b90826

@ -852,6 +852,8 @@ public class TeacherServiceImpl implements TeacherService {
teachingAge = "5-10年";
} else if (age > 10 && age <= 15) {
teachingAge = "10-15年";
} else {
teachingAge = "15年以上";
}
Long count = teachingAgeCount.getOrDefault(teachingAge, 0L);
teachingAgeCount.put(teachingAge, count + 1);
@ -905,6 +907,8 @@ public class TeacherServiceImpl implements TeacherService {
teachingAge = "5-10年";
} else if (age > 10 && age <= 15) {
teachingAge = "10-15年";
} else {
teachingAge = "15年以上";
}
Long count = teachingAgeCount.getOrDefault(teachingAge, 0L);
teachingAgeCount.put(teachingAge, count + 1);
@ -953,6 +957,8 @@ public class TeacherServiceImpl implements TeacherService {
teachingAge = "5-10年";
} else if (age > 10 && age <= 15) {
teachingAge = "10-15年";
} else {
teachingAge = "15年以上";
}
Long count = teachingAgeCount.getOrDefault(teachingAge, 0L);
teachingAgeCount.put(teachingAge, count + 1);
@ -1002,6 +1008,8 @@ public class TeacherServiceImpl implements TeacherService {
teachingAge = "5-10年";
} else if (age > 10 && age <= 15) {
teachingAge = "10-15年";
} else {
teachingAge = "15年以上";
}
Long count = teachingAgeCount.getOrDefault(teachingAge, 0L);
teachingAgeCount.put(teachingAge, count + 1);

Loading…
Cancel
Save