|
|
@ -6,12 +6,12 @@ import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
|
|
import net.minidev.json.parser.ParseException;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
|
|
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
|
|
|
|
|
|
|
|
|
|
|
import cokr.xit.adds.nims.service.DsuseMgtDetailService;
|
|
|
|
|
|
|
|
import cokr.xit.adds.nims.DsuseMgtDetailQuery;
|
|
|
|
import cokr.xit.adds.nims.DsuseMgtDetailQuery;
|
|
|
|
|
|
|
|
import cokr.xit.adds.nims.service.DsuseMgtDetailService;
|
|
|
|
import cokr.xit.foundation.web.AbstractController;
|
|
|
|
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" // 부과 제외 대장 등록
|
|
|
|
// , createLevyExclusion = "/020/create.do" // 부과 제외 대장 등록
|
|
|
|
;
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="dsuseMgtDetailService")
|
|
|
|
@Resource(name="dsuseMgtDetailService")
|
|
|
|
private DsuseMgtDetailService dsuseMgtDetailService;
|
|
|
|
private DsuseMgtDetailService dsuseMgtDetailService;
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(name="마약류폐기 신청서 접수 메인", value=METHOD_URL.dsuseMgtDetailMain)
|
|
|
|
@RequestMapping(name="마약류폐기 신청서 접수 메인", value=METHOD_URL.dsuseMgtDetailMain)
|
|
|
|
public ModelAndView dsuseMgtMain(String usrRptIdNo) {
|
|
|
|
public ModelAndView dsuseMgtMain(String usrRptIdNo) {
|
|
|
|
ModelAndView mav = new ModelAndView("adds/nims/dsuseMgt-info");
|
|
|
|
ModelAndView mav = new ModelAndView("adds/nims/dsuseMgt-info");
|
|
|
|
|
|
|
|
|
|
|
|
// 사용자 정보
|
|
|
|
// 사용자 정보
|
|
|
|
//ManagedUser managedUser = (ManagedUser)currentUser().getUser();
|
|
|
|
//ManagedUser managedUser = (ManagedUser)currentUser().getUser();
|
|
|
|
|
|
|
|
|
|
|
|
return mav
|
|
|
|
return mav
|
|
|
|
.addObject("pageName", "dsuseMgtInfo") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
|
|
|
|
.addObject("pageName", "dsuseMgtInfo") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
|
|
|
|
.addObject("infoPrefix", "dsuseMgt") // prefix
|
|
|
|
.addObject("infoPrefix", "dsuseMgt") // prefix
|
|
|
|
.addObject("infoPrefixUrl", "/adds/nims") // prefixUrl
|
|
|
|
.addObject("infoPrefixUrl", "/adds/nims") // prefixUrl
|
|
|
|
.addObject("usrRptIdNo", usrRptIdNo)
|
|
|
|
.addObject("usrRptIdNo", usrRptIdNo)
|
|
|
|
;
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(name="마약류폐기 신청서 접수 조회", value=METHOD_URL.getDsuseMgtDetailList)
|
|
|
|
@RequestMapping(name="마약류폐기 신청서 접수 조회", value=METHOD_URL.getDsuseMgtDetailList)
|
|
|
|
public ModelAndView getDsuseMgtList(DsuseMgtDetailQuery query) throws JsonProcessingException, ParseException {
|
|
|
|
public ModelAndView getDsuseMgtList(DsuseMgtDetailQuery query) throws JsonProcessingException, ParseException {
|
|
|
|
setFetchSize(query);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return setCollectionInfo(new ModelAndView("jsonView"), dsuseMgtDetailService.getDsuseMgtDetailList(query),"","dsuseMgtDetail");
|
|
|
|
return setCollectionInfo(new ModelAndView("jsonView"), dsuseMgtDetailService.getDsuseMgtDetailList(query),"","dsuseMgtDetail");
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|