diff --git a/src/main/java/yerong/wedle/university/service/UniversityService.java b/src/main/java/yerong/wedle/university/service/UniversityService.java index f48b118..cc180df 100644 --- a/src/main/java/yerong/wedle/university/service/UniversityService.java +++ b/src/main/java/yerong/wedle/university/service/UniversityService.java @@ -157,7 +157,7 @@ private List getAllTuitionFeeResponses(List String year = entry.getKey(); List tuitionFeeResponses = entry.getValue().stream() .map(tuitionFee -> new TuitionFeeResponse( - tuitionFee.getTuitionFeeType().name(), + tuitionFee.getTuitionFeeType().getDisplayName(), tuitionFee.getFeeAmount())) .collect(Collectors.toList()); return new YearTuitionFeeResponse(year, tuitionFeeResponses);