From 75e8416226fd6a35fbe426f10dcd11b545648f61 Mon Sep 17 00:00:00 2001 From: leebj Date: Wed, 3 Jul 2024 14:53:57 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=A1=B0=ED=9A=8C=EC=A1=B0=EA=B1=B4?= =?UTF-8?q?=EC=9D=98=20=EB=B6=80=EC=84=9C=EB=AA=A9=EB=A1=9D=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=EC=8B=9C=20=EA=B3=B5=ED=86=B5=EB=9D=BC=EC=9D=B4?= =?UTF-8?q?=EB=B8=8C=EB=9F=AC=EB=A6=AC=20=EC=82=AC=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/adds/nims/web/AddsNimsController.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java b/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java index 87009d3..a8cddb2 100644 --- a/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java +++ b/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java @@ -31,13 +31,13 @@ import cokr.xit.adds.nims.service.DsuseMgtDocService; import cokr.xit.adds.nims.service.DsuseMgtReceiptService; import cokr.xit.applib.Print; import cokr.xit.applib.PrintOption; -import cokr.xit.applib.ogdp.OgdpQuery; -import cokr.xit.applib.ogdp.service.bean.DefaultOgdpBean; import cokr.xit.base.code.CommonCode; import cokr.xit.base.file.FileInfo; import cokr.xit.base.file.FileInfo.Relation; import cokr.xit.base.file.service.FileQuery; import cokr.xit.base.file.service.FileService; +import cokr.xit.base.user.DepartmentQuery; +import cokr.xit.base.user.service.SigunguDepartmentService; import cokr.xit.base.web.ApplicationController; import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.JSON; @@ -57,8 +57,8 @@ public class AddsNimsController extends ApplicationController { @Value("${app.file.root.path}") private String fileRootPath; - @Resource(name="defaultOgdpBean") - private DefaultOgdpBean defaultOgdpBean; + @Resource(name="sigunguDepartmentService") + private SigunguDepartmentService sggDeptService; @Resource(name="dsuseMgtReceiptService") private DsuseMgtReceiptService dsuseMgtReceiptService; @@ -362,7 +362,7 @@ public class AddsNimsController extends ApplicationController { ModelAndView mav = new ModelAndView("adds/nims/dsuseMgtReceipt-main"); setCmmCode("ADDS11", mav); - List deptList = defaultOgdpBean.getDeptList(new OgdpQuery()); + List deptList = sggDeptService.getDepartmentList(new DepartmentQuery()); mav.addObject("DEPTList", deptList); return mav @@ -376,7 +376,7 @@ public class AddsNimsController extends ApplicationController { public ModelAndView dsuseMgtRsltMain() { ModelAndView mav = new ModelAndView("adds/nims/dsuseMgtRslt-main"); setCmmCode("ADDS11", mav); - List deptList = defaultOgdpBean.getDeptList(new OgdpQuery()); + List deptList = sggDeptService.getDepartmentList(new DepartmentQuery()); mav.addObject("DEPTList", deptList); return mav @@ -390,7 +390,7 @@ public class AddsNimsController extends ApplicationController { public ModelAndView dsuseMgtMapping() { ModelAndView mav = new ModelAndView("adds/nims/dsuseMgtMapping-main"); setCmmCode("ADDS11", mav); - List deptList = defaultOgdpBean.getDeptList(new OgdpQuery()); + List deptList = sggDeptService.getDepartmentList(new DepartmentQuery()); mav.addObject("DEPTList", deptList); return mav @@ -415,7 +415,7 @@ public class AddsNimsController extends ApplicationController { .filter(c -> c.getCode().compareTo("06") >= 0) .toList()); - List deptList = defaultOgdpBean.getDeptList(new OgdpQuery()); + List deptList = sggDeptService.getDepartmentList(new DepartmentQuery()); mav.addObject("DEPTList", deptList); mav.addObject("pageName", "dsuseMgtDoc");