From 816b69becba19228f40d979b2032c4c816ab4563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=ED=9D=AC=EC=88=98?= Date: Tue, 3 Sep 2024 23:02:46 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20AbeekType=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 결과화면에 AbeekType의 typeMessage가 표시되도록 변경함 --- .../gimmegonghakauth/constant/AbeekTypeConst.java | 13 ++++++++++--- .../resources/templates/gonghak/statusForm.html | 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/example/gimmegonghakauth/constant/AbeekTypeConst.java b/src/main/java/com/example/gimmegonghakauth/constant/AbeekTypeConst.java index fde1808..3383420 100644 --- a/src/main/java/com/example/gimmegonghakauth/constant/AbeekTypeConst.java +++ b/src/main/java/com/example/gimmegonghakauth/constant/AbeekTypeConst.java @@ -5,11 +5,18 @@ public enum AbeekTypeConst { PROFESSIONAL_NON_MAJOR("전문교양"), NON_MAJOR("교양"), MSC("MSC"), - MAJOR("전공학점"), - DESIGN("설계학점"), - MINIMUM_CERTI("최소인증학점"), + MAJOR("전공"), + DESIGN("설계"), + MINIMUM_CERTI("최소 이수학점"), BSM("BSM"); + private final String typeMessage; + AbeekTypeConst(String typeMessage) { + this.typeMessage = typeMessage; + } + + public String getTypeMessage() { + return typeMessage; } } diff --git a/src/main/resources/templates/gonghak/statusForm.html b/src/main/resources/templates/gonghak/statusForm.html index de9c4c7..793397f 100644 --- a/src/main/resources/templates/gonghak/statusForm.html +++ b/src/main/resources/templates/gonghak/statusForm.html @@ -32,7 +32,7 @@

RESULT RATIO

- + @@ -76,7 +76,7 @@

RECOMMEND COURSES

-

type

+

type