From 4fc4bb824e8f50d7a7ac5c946351537ac2598fdf Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 6 Feb 2024 15:36:41 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BB=A8=ED=8A=B8=EB=A1=A4=EB=9F=AC=EC=97=90?= =?UTF-8?q?=EC=84=9C=20TaskServcie,VltnService=ED=98=B8=EC=B6=9C=ED=95=98?= =?UTF-8?q?=EB=8A=94=20=EB=B6=80=EB=B6=84=20=EC=88=98=EC=A0=95(TaskBean,?= =?UTF-8?q?=20VltnBean)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cokr/xit/fims/base/CodeController.java | 8 ++++---- .../xit/fims/levy/web/Levy01Controller.java | 8 ++++---- .../xit/fims/mngt/web/Mngt03Controller.java | 18 ++++++++++-------- .../xit/fims/sndb/web/Sndb01Controller.java | 8 ++++---- 4 files changed, 22 insertions(+), 20 deletions(-) diff --git a/src/main/java/cokr/xit/fims/base/CodeController.java b/src/main/java/cokr/xit/fims/base/CodeController.java index 739d622f..729edbcb 100644 --- a/src/main/java/cokr/xit/fims/base/CodeController.java +++ b/src/main/java/cokr/xit/fims/base/CodeController.java @@ -13,8 +13,8 @@ import org.springframework.web.servlet.ModelAndView; import cokr.xit.base.code.service.CodeQuery; import cokr.xit.base.code.service.bean.CodeBean; import cokr.xit.fims.cmmn.CmmnQuery; -import cokr.xit.fims.mngt.service.TaskService; import cokr.xit.fims.mngt.service.bean.FactionBean; +import cokr.xit.fims.mngt.service.bean.TaskBean; import cokr.xit.foundation.UserInfo; import cokr.xit.foundation.data.DataObject; @@ -23,8 +23,8 @@ public class CodeController extends cokr.xit.base.code.web.CodeController { @Resource(name = "codeBean") private CodeBean codeBean; - @Resource(name = "taskService") - private TaskService taskService; + @Resource(name = "taskBean") + private TaskBean taskBean; @Resource(name = "factionBean") private FactionBean factionBean; @@ -59,7 +59,7 @@ public class CodeController extends cokr.xit.base.code.web.CodeController { CmmnQuery req = new CmmnQuery(); req.setUseYN("Y"); req.setSggCd(sggCd); - List result = taskService.getTasks(req); + List result = taskBean.getTasks(req); if(result != null && !result.isEmpty()) { mav.addObject("sggHasTask", "Y"); } else { diff --git a/src/main/java/cokr/xit/fims/levy/web/Levy01Controller.java b/src/main/java/cokr/xit/fims/levy/web/Levy01Controller.java index 61432e0e..acf9ee66 100644 --- a/src/main/java/cokr/xit/fims/levy/web/Levy01Controller.java +++ b/src/main/java/cokr/xit/fims/levy/web/Levy01Controller.java @@ -22,7 +22,7 @@ import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.levy.Levy; import cokr.xit.fims.levy.LevyQuery; import cokr.xit.fims.levy.service.LevyService; -import cokr.xit.fims.mngt.service.TaskService; +import cokr.xit.fims.mngt.service.bean.TaskBean; import cokr.xit.foundation.data.DataObject; /**부과 대장 서비스의 웹 컨트롤러 @@ -55,8 +55,8 @@ public class Levy01Controller extends ApplicationController { private LevyService levyService; /** 업무 정보 서비스 */ - @Resource(name="taskService") - private TaskService taskService; + @Resource(name="taskBean") + private TaskBean taskBean; @Resource(name="stngBean") private StngBean stngBean; @@ -167,7 +167,7 @@ public class Levy01Controller extends ApplicationController { */ public ModelAndView getReductionLevyTargetInfo(LevyQuery req) { // 감경 부과일자 - DataObject rductLevyYmdInfo = taskService.getAdvntceYmdInfo(new CmmnQuery().setSggCd(req.getSggCd()) + DataObject rductLevyYmdInfo = taskBean.getAdvntceYmdInfo(new CmmnQuery().setSggCd(req.getSggCd()) .setTaskSeCd(req.getTaskSeCd())); boolean json = jsonResponse(); diff --git a/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java b/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java index 2579850e..a5b39b95 100644 --- a/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java +++ b/src/main/java/cokr/xit/fims/mngt/web/Mngt03Controller.java @@ -14,12 +14,14 @@ import org.springframework.web.servlet.ModelAndView; import cokr.xit.base.web.ApplicationController; import cokr.xit.fims.cmmn.CmmnQuery; import cokr.xit.fims.mngt.Sgg; +import cokr.xit.fims.mngt.Task; +import cokr.xit.fims.mngt.Vltn; import cokr.xit.fims.mngt.VltnQuery; import cokr.xit.fims.mngt.dao.FactionMapper; import cokr.xit.fims.mngt.service.SggService; -import cokr.xit.fims.mngt.service.TaskService; -import cokr.xit.fims.mngt.service.VltnService; import cokr.xit.fims.mngt.service.bean.FactionBean; +import cokr.xit.fims.mngt.service.bean.TaskBean; +import cokr.xit.fims.mngt.service.bean.VltnBean; import cokr.xit.foundation.UserInfo; import cokr.xit.foundation.data.DataObject; @@ -46,12 +48,12 @@ public class Mngt03Controller extends ApplicationController { private SggService sggService; /** 업무 정보 서비스 */ - @Resource(name = "taskService") - private TaskService taskService; + @Resource(name = "taskBean") + private TaskBean taskBean; /**위반 정보 서비스*/ - @Resource(name = "vltnService") - private VltnService vltnService; + @Resource(name = "vltnBean") + private VltnBean vltnBean; @Resource(name = "factionBean") private FactionBean factionBean; @@ -108,7 +110,7 @@ public class Mngt03Controller extends ApplicationController { * @return jsonView */ public ModelAndView getTasks(CmmnQuery req) { - List result = taskService.getTasks(req); + List result = taskBean.getTasks(req); return setCollectionInfo(new ModelAndView("jsonView"), result, "task"); } @@ -117,7 +119,7 @@ public class Mngt03Controller extends ApplicationController { * @return 위반 설정 정보 */ public ModelAndView getVltns(VltnQuery req) { - List result = vltnService.getVltns(req); + List result = vltnBean.getVltns(req); return setCollectionInfo(new ModelAndView("jsonView"), result, "vltn"); } diff --git a/src/main/java/cokr/xit/fims/sndb/web/Sndb01Controller.java b/src/main/java/cokr/xit/fims/sndb/web/Sndb01Controller.java index 88c07aec..e52b028b 100644 --- a/src/main/java/cokr/xit/fims/sndb/web/Sndb01Controller.java +++ b/src/main/java/cokr/xit/fims/sndb/web/Sndb01Controller.java @@ -19,7 +19,7 @@ import cokr.xit.base.web.ApplicationController; import cokr.xit.fims.cmmn.CmmnQuery; import cokr.xit.fims.cmmn.CmmnUtil; import cokr.xit.fims.cmmn.service.bean.StngBean; -import cokr.xit.fims.mngt.service.TaskService; +import cokr.xit.fims.mngt.service.bean.TaskBean; import cokr.xit.fims.sndb.SndbQuery; import cokr.xit.fims.sndb.Sndng; import cokr.xit.fims.sndb.SndngDtl; @@ -110,8 +110,8 @@ public class Sndb01Controller extends ApplicationController { private SvbtcService svbtcService; /**업무 정보 서비스*/ - @Resource(name="taskService") - private TaskService taskService; + @Resource(name="taskBean") + private TaskBean taskBean; @Resource(name="stngBean") private StngBean stngBean; @@ -574,7 +574,7 @@ public class Sndb01Controller extends ApplicationController { List advntceTrgts = sndngService.getAdvntceTrgts(req); // 사전통지 납기일자 - DataObject advntceYmdInfo = taskService.getAdvntceYmdInfo(new CmmnQuery().setSggCd(req.getSggCd()) + DataObject advntceYmdInfo = taskBean.getAdvntceYmdInfo(new CmmnQuery().setSggCd(req.getSggCd()) .setTaskSeCd(req.getTaskSeCd())); boolean json = jsonResponse();