diff --git a/src/main/java/cokr/xit/adds/nims/web/DsuseMgtDetailController.java b/src/main/java/cokr/xit/adds/nims/web/DsuseMgtDetailController.java index 4d74297..b4216aa 100644 --- a/src/main/java/cokr/xit/adds/nims/web/DsuseMgtDetailController.java +++ b/src/main/java/cokr/xit/adds/nims/web/DsuseMgtDetailController.java @@ -6,12 +6,12 @@ import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; -import net.minidev.json.parser.ParseException; import com.fasterxml.jackson.core.JsonProcessingException; -import cokr.xit.adds.nims.service.DsuseMgtDetailService; import cokr.xit.adds.nims.DsuseMgtDetailQuery; +import cokr.xit.adds.nims.service.DsuseMgtDetailService; import cokr.xit.foundation.web.AbstractController; +import net.minidev.json.parser.ParseException; @@ -32,31 +32,30 @@ public class DsuseMgtDetailController extends AbstractController { // , createLevyExclusion = "/020/create.do" // 부과 제외 대장 등록 ; } - + @Resource(name="dsuseMgtDetailService") private DsuseMgtDetailService dsuseMgtDetailService; - + @RequestMapping(name="마약류폐기 신청서 접수 메인", value=METHOD_URL.dsuseMgtDetailMain) public ModelAndView dsuseMgtMain(String usrRptIdNo) { ModelAndView mav = new ModelAndView("adds/nims/dsuseMgt-info"); - + // 사용자 정보 //ManagedUser managedUser = (ManagedUser)currentUser().getUser(); - + return mav .addObject("pageName", "dsuseMgtInfo") // View(jsp)에서 사용할 id 뒤에 붙일 suffix .addObject("infoPrefix", "dsuseMgt") // prefix .addObject("infoPrefixUrl", "/adds/nims") // prefixUrl - .addObject("usrRptIdNo", usrRptIdNo) + .addObject("usrRptIdNo", usrRptIdNo) ; } - + @RequestMapping(name="마약류폐기 신청서 접수 조회", value=METHOD_URL.getDsuseMgtDetailList) public ModelAndView getDsuseMgtList(DsuseMgtDetailQuery query) throws JsonProcessingException, ParseException { - setFetchSize(query); - + return setCollectionInfo(new ModelAndView("jsonView"), dsuseMgtDetailService.getDsuseMgtDetailList(query),"","dsuseMgtDetail"); } - + } diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp index 6266f9d..1388e09 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp @@ -14,7 +14,7 @@