|
|
|
@ -15,8 +15,11 @@ import cokr.xit.adds.nims.DsuseMgtDocQuery;
|
|
|
|
|
import cokr.xit.adds.nims.DsuseMgtReceiptQuery;
|
|
|
|
|
import cokr.xit.adds.nims.service.DsuseMgtDocService;
|
|
|
|
|
import cokr.xit.adds.nims.service.DsuseMgtReceiptService;
|
|
|
|
|
import cokr.xit.applib.ogdp.OgdpQuery;
|
|
|
|
|
import cokr.xit.applib.ogdp.service.bean.DefaultOgdpBean;
|
|
|
|
|
import cokr.xit.base.code.CommonCode;
|
|
|
|
|
import cokr.xit.base.web.ApplicationController;
|
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
|
|
|
|
|
|
@Controller
|
|
|
|
|
@RequestMapping(
|
|
|
|
@ -27,6 +30,9 @@ public class AddsNimsController extends ApplicationController {
|
|
|
|
|
@Value("${app.api.host:}")
|
|
|
|
|
private String apiHost;
|
|
|
|
|
|
|
|
|
|
@Resource(name="defaultOgdpBean")
|
|
|
|
|
DefaultOgdpBean defaultOgdpBean;
|
|
|
|
|
|
|
|
|
|
@Resource(name="dsuseMgtReceiptService")
|
|
|
|
|
private DsuseMgtReceiptService dsuseMgtReceiptService;
|
|
|
|
|
|
|
|
|
@ -123,9 +129,13 @@ public class AddsNimsController extends ApplicationController {
|
|
|
|
|
//-------------------------------------------------------------------------------------------------
|
|
|
|
|
@RequestMapping(value = "/dsuseMgtReceipt.do", name="신청서 접수 메인")
|
|
|
|
|
public ModelAndView dsuseMgtReceiptMain() {
|
|
|
|
|
|
|
|
|
|
ModelAndView mav = new ModelAndView("adds/nims/dsuseMgtReceipt-main");
|
|
|
|
|
setCmmCodeAdds11(mav);
|
|
|
|
|
|
|
|
|
|
List<DataObject> deptList = defaultOgdpBean.getDeptList(new OgdpQuery());
|
|
|
|
|
mav.addObject("DEPTList", deptList);
|
|
|
|
|
|
|
|
|
|
return mav
|
|
|
|
|
.addObject("pageName", "dsuseMgtReceipt") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
|
|
|
|
|
// .addObject("infoPrefix", "dsuseMgtReceipt") // prefix
|
|
|
|
|