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 c86c530..e70dc5f 100644 --- a/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java +++ b/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java @@ -57,16 +57,16 @@ public class AddsNimsController extends ApplicationController { @RequestMapping(value = "/dsuseMgtReceipt-info.do", name="신청서 접수 상세") - public ModelAndView getDsuseMgtReceiptInfo(String dscdmngId) { + public ModelAndView getDsuseMgtReceiptInfo(DsuseRsltInfo dsuseRsltInfo) { ModelAndView mav = new ModelAndView(); setCmmCode("ADDS04", mav); - if(!isEmpty(dscdmngId)){ - mav.setViewName("adds/nims/dsuseMgtReceipt-detail"); - mav.addObject("dsuseReceptInfo", toJson(dsuseMgtReceiptService.getDsuseMgtReceiptInfo(dscdmngId))); - DsuseMgtReceiptQuery query = new DsuseMgtReceiptQuery(); - query.setDscdmngId(dscdmngId); - mav.addObject("dsuseReceptDetails", toJson(dsuseMgtReceiptService.getDsuseMgtReceiptList(query))); + if(!isEmpty(dsuseRsltInfo)){ + mav.setViewName("adds/nims/dsuseMgtReceiptMain-detail"); + mav.addObject("dsuseReceptInfo", toJson(dsuseRsltInfo)); + // DsuseMgtReceiptQuery query = new DsuseMgtReceiptQuery(); + // query.setDscdmngId(dscdmngId); + // mav.addObject("dsuseReceptDetails", toJson(dsuseMgtReceiptService.getDsuseMgtReceiptList(query))); }else{ mav.setViewName("adds/nims/dsuseMgtReceipt-info"); }