diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java index ec875dfb..568fec57 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java @@ -61,20 +61,34 @@ public class Crdn05Controller extends ApplicationController { String urlTaskSeCd = request.getServletPath().split("/")[1]; mav.addObject("taskSeCd", urlTaskSeCd); - Map> commonCodes = getCodesOf("FIM011","FIM034","FIM053","LVS005"); + String vltnByTask = ""; + + switch(urlTaskSeCd) { + case "PVS" -> { vltnByTask = "WEB002"; } + case "BPV" -> { vltnByTask = "FIM005"; } + case "DPV","ECA" -> { vltnByTask = "FIM006"; } + } + Map> commonCodes = getCodesOf("FIM011","FIM053","LVS005",vltnByTask); mav.addObject("FIM011List", commonCodes.get("FIM011")); - mav.addObject("FIM034List", commonCodes.get("FIM034")); mav.addObject("FIM053List", commonCodes.get("FIM053")); mav.addObject("LVS005List", commonCodes.get("LVS005")); + mav.addObject("VLTNList", commonCodes.get(vltnByTask)); switch(urlTaskSeCd) { - case "PVS" -> {} - case "BPV" -> {} + case "PVS" -> { + commonCodes = getCodesOf("FIM002","FIM007"); + mav.addObject("FIM002List", commonCodes.get("FIM002")); + mav.addObject("FIM007List", commonCodes.get("FIM007")); + } + case "BPV" -> { + commonCodes = getCodesOf("FIM002"); + mav.addObject("FIM002List", commonCodes.get("FIM002")); + } case "DPV" -> { - commonCodes = getCodesOf("FIM006"); - mav.addObject("FIM006List", commonCodes.get("FIM006")); + commonCodes = getCodesOf("FIM034"); + mav.addObject("FIM034List", commonCodes.get("FIM034")); } - case "ECA" -> {} + case "ECA" -> { } } return mav; @@ -92,6 +106,8 @@ public class Crdn05Controller extends ApplicationController { List fileInfoList = new FileInfoFactory().makeFileInfos(null, uploadFileList); + crdn.setCrdnRegSeCd("01"); + crdn.setCrdnInptSeCd("03");//TODO : 사용자 기관의 시청,구청 구분 boolean saved = crdn05Service.create(crdn, fileInfoList); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp index c7d14441..13c24d37 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp @@ -4,9 +4,9 @@
-
+ - +
-
- - (보류) -
+
@@ -54,28 +49,9 @@
-
- - -
-
- - -
-
- - -
+ + +
@@ -134,12 +110,18 @@
+ +
+ +
+
+
@@ -149,6 +131,7 @@
+
@@ -160,7 +143,72 @@
- +