|
|
@ -49,6 +49,8 @@ import cokr.xit.base.web.ApplicationController;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
import cokr.xit.foundation.data.JSON;
|
|
|
|
import cokr.xit.foundation.data.JSON;
|
|
|
|
import cokr.xit.foundation.web.WebClient;
|
|
|
|
import cokr.xit.foundation.web.WebClient;
|
|
|
|
|
|
|
|
import net.minidev.json.JSONObject;
|
|
|
|
|
|
|
|
import net.minidev.json.parser.ParseException;
|
|
|
|
|
|
|
|
|
|
|
|
@Controller
|
|
|
|
@Controller
|
|
|
|
@RequestMapping(
|
|
|
|
@RequestMapping(
|
|
|
@ -68,8 +70,8 @@ public class AddsNimsController extends ApplicationController {
|
|
|
|
@Value("${app.inf.nims.api.productAndseqInfo}")
|
|
|
|
@Value("${app.inf.nims.api.productAndseqInfo}")
|
|
|
|
private String productAndseqInfoEndpoint;
|
|
|
|
private String productAndseqInfoEndpoint;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="defaultOgdpBean")
|
|
|
|
@Resource(name="sigunguDepartmentService")
|
|
|
|
private DefaultOgdpBean defaultOgdpBean;
|
|
|
|
private SigunguDepartmentService sggDeptService;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="dsuseMgtReceiptService")
|
|
|
|
@Resource(name="dsuseMgtReceiptService")
|
|
|
|
private DsuseMgtReceiptService dsuseMgtReceiptService;
|
|
|
|
private DsuseMgtReceiptService dsuseMgtReceiptService;
|
|
|
@ -374,7 +376,7 @@ public class AddsNimsController extends ApplicationController {
|
|
|
|
ModelAndView mav = new ModelAndView("adds/nims/dsuseMgtReceipt-main");
|
|
|
|
ModelAndView mav = new ModelAndView("adds/nims/dsuseMgtReceipt-main");
|
|
|
|
setCmmCode("ADDS11", mav);
|
|
|
|
setCmmCode("ADDS11", mav);
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> deptList = defaultOgdpBean.getDeptList(new OgdpQuery());
|
|
|
|
List<DataObject> deptList = sggDeptService.getDepartmentList(new DepartmentQuery());
|
|
|
|
mav.addObject("DEPTList", deptList);
|
|
|
|
mav.addObject("DEPTList", deptList);
|
|
|
|
|
|
|
|
|
|
|
|
return mav
|
|
|
|
return mav
|
|
|
@ -388,7 +390,7 @@ public class AddsNimsController extends ApplicationController {
|
|
|
|
public ModelAndView dsuseMgtRsltMain() {
|
|
|
|
public ModelAndView dsuseMgtRsltMain() {
|
|
|
|
ModelAndView mav = new ModelAndView("adds/nims/dsuseMgtRslt-main");
|
|
|
|
ModelAndView mav = new ModelAndView("adds/nims/dsuseMgtRslt-main");
|
|
|
|
setCmmCode("ADDS11", mav);
|
|
|
|
setCmmCode("ADDS11", mav);
|
|
|
|
List<DataObject> deptList = defaultOgdpBean.getDeptList(new OgdpQuery());
|
|
|
|
List<DataObject> deptList = sggDeptService.getDepartmentList(new DepartmentQuery());
|
|
|
|
mav.addObject("DEPTList", deptList);
|
|
|
|
mav.addObject("DEPTList", deptList);
|
|
|
|
|
|
|
|
|
|
|
|
return mav
|
|
|
|
return mav
|
|
|
@ -402,7 +404,7 @@ public class AddsNimsController extends ApplicationController {
|
|
|
|
public ModelAndView dsuseMgtMapping() {
|
|
|
|
public ModelAndView dsuseMgtMapping() {
|
|
|
|
ModelAndView mav = new ModelAndView("adds/nims/dsuseMgtMapping-main");
|
|
|
|
ModelAndView mav = new ModelAndView("adds/nims/dsuseMgtMapping-main");
|
|
|
|
setCmmCode("ADDS11", mav);
|
|
|
|
setCmmCode("ADDS11", mav);
|
|
|
|
List<DataObject> deptList = defaultOgdpBean.getDeptList(new OgdpQuery());
|
|
|
|
List<DataObject> deptList = sggDeptService.getDepartmentList(new DepartmentQuery());
|
|
|
|
mav.addObject("DEPTList", deptList);
|
|
|
|
mav.addObject("DEPTList", deptList);
|
|
|
|
|
|
|
|
|
|
|
|
return mav
|
|
|
|
return mav
|
|
|
@ -427,7 +429,7 @@ public class AddsNimsController extends ApplicationController {
|
|
|
|
.filter(c -> c.getCode().compareTo("06") >= 0)
|
|
|
|
.filter(c -> c.getCode().compareTo("06") >= 0)
|
|
|
|
.toList());
|
|
|
|
.toList());
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> deptList = defaultOgdpBean.getDeptList(new OgdpQuery());
|
|
|
|
List<DataObject> deptList = sggDeptService.getDepartmentList(new DepartmentQuery());
|
|
|
|
mav.addObject("DEPTList", deptList);
|
|
|
|
mav.addObject("DEPTList", deptList);
|
|
|
|
|
|
|
|
|
|
|
|
mav.addObject("pageName", "dsuseMgtDoc");
|
|
|
|
mav.addObject("pageName", "dsuseMgtDoc");
|
|
|
|