From eaab0da56ddccac829edcf5571ccebb1c5645586 Mon Sep 17 00:00:00 2001 From: jjh Date: Thu, 25 Jan 2024 17:12:12 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8B=A8=EC=86=8D=20=EC=82=AC=EC=A7=84=20?= =?UTF-8?q?=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/fims/sprt/web/Sprt02Controller.java | 16 +- .../WEB-INF/jsp/fims/sprt/sprt02020-info.jsp | 159 ++++++++++++++---- 2 files changed, 130 insertions(+), 45 deletions(-) diff --git a/src/main/java/cokr/xit/fims/sprt/web/Sprt02Controller.java b/src/main/java/cokr/xit/fims/sprt/web/Sprt02Controller.java index 267b605b..65a278bd 100644 --- a/src/main/java/cokr/xit/fims/sprt/web/Sprt02Controller.java +++ b/src/main/java/cokr/xit/fims/sprt/web/Sprt02Controller.java @@ -191,7 +191,7 @@ public class Sprt02Controller extends ApplicationController { */ public ModelAndView updateCrdnImageFile(Crdn crdn, MultipartFile[] newFileList) { boolean saved = false; - String retMessage = "[F] "; + String rtnMsg = "[F] "; List newFileInfoList = new ArrayList(); if (newFileList != null) { @@ -205,8 +205,8 @@ public class Sprt02Controller extends ApplicationController { } } - retMessage = sprt02Service.updateCrdnImageFile(crdn, newFileInfoList); - if (retMessage.contains("[S]")) { + rtnMsg = sprt02Service.updateCrdnImageFile(crdn, newFileInfoList); + if (rtnMsg.contains("[S]")) { saved = true; } else { saved = false; @@ -214,7 +214,7 @@ public class Sprt02Controller extends ApplicationController { return new ModelAndView("jsonView") .addObject("saved", saved) - .addObject("retMessage", retMessage); + .addObject("rtnMsg", rtnMsg); } /**단속 이미지 파일 정보를 삭제한다. @@ -227,11 +227,11 @@ public class Sprt02Controller extends ApplicationController { */ public ModelAndView removeCrdnImageFile(String crdnId, String atchFileCnt, String... fileIDs) { boolean saved = false; - String retMessage = "[F] "; + String rtnMsg = "[F] "; Integer fileCnt = Integer.parseInt(atchFileCnt); - retMessage = sprt02Service.removeCrdnImageFile(crdnId, fileCnt, fileIDs); - if (retMessage.contains("[S]")) { + rtnMsg = sprt02Service.removeCrdnImageFile(crdnId, fileCnt, fileIDs); + if (rtnMsg.contains("[S]")) { saved = true; } else { saved = false; @@ -239,7 +239,7 @@ public class Sprt02Controller extends ApplicationController { return new ModelAndView("jsonView") .addObject("saved", saved) - .addObject("retMessage", retMessage); + .addObject("rtnMsg", rtnMsg); } /**지정하는 단속 ID의 의견제출 정보를 반환한다. diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp index 2bf27cb4..63fe147a 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp @@ -300,17 +300,38 @@ -
+ +
+
    +
-
+ + + + +