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