From 7816c8fdab1d3e2aa92244d9eb639d221c05461b Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Thu, 20 Jun 2024 09:42:30 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=8F=90=EA=B8=B0=EC=8B=A0=EC=B2=AD=20f?= =?UTF-8?q?ix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cokr/xit/adds/nims/web/AddsNimsController.java | 9 +++++---- .../WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java b/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java index e50111f..54b9d50 100644 --- a/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java +++ b/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java @@ -58,18 +58,19 @@ public class AddsNimsController extends ApplicationController { @RequestMapping(value = "/dsuseMgtReceipt-info.do", name="신청서 접수 상세") public ModelAndView getDsuseMgtReceiptInfo(DsuseRsltInfo dsuseReceptInfo) { - ModelAndView mav = new ModelAndView(); + ModelAndView mav = new ModelAndView("adds/nims/dsuseMgtReceipt-info"); setCmmCode("ADDS04", mav); if(!isEmpty(dsuseReceptInfo) && !isEmpty(dsuseReceptInfo.getDscdmngId())){ - mav.setViewName("adds/nims/dsuseMgtReceiptMain-detail"); + //mav.setViewName("adds/nims/dsuseMgtReceiptMain-detail"); mav.addObject("dsuseReceptInfo", toJson(dsuseReceptInfo)); // DsuseMgtReceiptQuery query = new DsuseMgtReceiptQuery(); // query.setDscdmngId(dscdmngId); // mav.addObject("dsuseReceptDetails", toJson(dsuseMgtReceiptService.getDsuseMgtReceiptList(query))); - }else{ - mav.setViewName("adds/nims/dsuseMgtReceipt-info"); } + // else{ + // mav.setViewName("adds/nims/dsuseMgtReceipt-info"); + // } return mav .addObject("pageName", "dsuseMgtReceiptInfo") // View(jsp)에서 사용할 id 뒤에 붙일 suffix diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp index 789ff62..3248de0 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp @@ -123,7 +123,7 @@ {prductCd} {prductNm} - {pceQy} + {dsuseQy} {prdValidDe} {mnfNo} @@ -511,7 +511,7 @@ $P.initForm(); // 3. Dataset 설정 - //$P.control.setData([${dsuseReceptInfo}]); + $P.control.setData([${dsuseReceptInfo}]); //$P.productControl.setData([${opnnDlbrMbrInfo}]); });