();
diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn01Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn01Controller.java
index 1d5c7eda..40472b80 100644
--- a/src/main/java/cokr/xit/fims/crdn/web/Crdn01Controller.java
+++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn01Controller.java
@@ -12,7 +12,9 @@ import cokr.xit.base.code.CommonCode;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery;
-import cokr.xit.fims.crdn.service.Crdn01Service;
+import cokr.xit.fims.crdn.service.CrdnService;
+import cokr.xit.fims.crdn.service.bean.Crdn01Bean;
+import cokr.xit.fims.crdn.service.bean.Crdn01ServiceBean;
import cokr.xit.foundation.UserInfo;
/**민원 관리 서비스 웹 컨트롤러.
@@ -21,8 +23,11 @@ import cokr.xit.foundation.UserInfo;
*/
public class Crdn01Controller extends ApplicationController {
+ @Resource(name="crdn01Bean")
+ private Crdn01Bean crdn01Bean;
+
@Resource(name="crdn01Service")
- private Crdn01Service crdn01Service;
+ private CrdnService crdn01Service;
/** 민원 접수 자료 메인화면을 연다.
* @return fims/crdn/crdn01010-main
@@ -71,7 +76,7 @@ public class Crdn01Controller extends ApplicationController {
}
/**민원접수자료 목록을 조회한다.
- * {@link Crdn01Service#getCrackdownList(CrdnQuery)} 참고
+ * {@link Crdn01ServiceBean#getCrackdownList(CrdnQuery)} 참고
* @param req 민원접수자료 목록 조회 조건
* @return jsonView
* {
@@ -93,7 +98,7 @@ public class Crdn01Controller extends ApplicationController {
}
/**민원답변대상자료 목록을 조회한다.
- * {@link Crdn01Service#getCrackdownList(CrdnQuery)} 참고
+ * {@link Crdn01ServiceBean#getCrackdownList(CrdnQuery)} 참고
* @param req 민원답변대상자료 목록 조회 조건
* @return jsonView
* {
@@ -115,7 +120,7 @@ public class Crdn01Controller extends ApplicationController {
}
/**민원자료 목록을 조회한다.
- * {@link Crdn01Service#getCrackdownList(CrdnQuery)} 참고
+ * {@link Crdn01ServiceBean#getCrackdownList(CrdnQuery)} 참고
* @param req 민원자료 목록 조회 조건
* @return jsonView
* {
@@ -145,7 +150,7 @@ public class Crdn01Controller extends ApplicationController {
*/
@RequestMapping(name="민원자료 제거", value="/010/remove.do")
public ModelAndView removeCivilComplaint(Crdn crdn) {
- boolean saved = crdn01Service.removeCivilComplaint(crdn.getCrdnIDs());
+ boolean saved = crdn01Bean.removeCivilComplaint(crdn.getCrdnIDs());
return new ModelAndView("jsonView")
.addObject("saved", saved);
diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java
index 8a2d5adb..c79225d5 100644
--- a/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java
+++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java
@@ -2,11 +2,10 @@ package cokr.xit.fims.crdn.web;
import javax.annotation.Resource;
-import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.web.ApplicationController;
-import cokr.xit.fims.crdn.service.Crdn02Service;
+import cokr.xit.fims.crdn.service.CrdnService;
/**민원 개별 등록 서비스 웹 컨트롤러.
* {웹 컨텍스트}/crdn/crdn02 로 접근할 수 있다.
@@ -15,7 +14,7 @@ import cokr.xit.fims.crdn.service.Crdn02Service;
public class Crdn02Controller extends ApplicationController {
@Resource(name="crdn02Service")
- private Crdn02Service crdn02Service;
+ private CrdnService crdn02Service;
/** 민원 개별 등록 메인화면을 연다.
* @return fims/crdn/crdn02010-main
diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java
index fd9600be..488fd621 100644
--- a/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java
+++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java
@@ -17,7 +17,9 @@ import cokr.xit.base.file.web.FileInfoFactory;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery;
-import cokr.xit.fims.crdn.service.Crdn05Service;
+import cokr.xit.fims.crdn.service.CrdnService;
+import cokr.xit.fims.crdn.service.bean.Crdn05Bean;
+import cokr.xit.fims.crdn.service.bean.Crdn05ServiceBean;
/**단속 자료 등록 서비스 웹 컨트롤러.
* {웹 컨텍스트}/crdn/crdn05 로 접근할 수 있다.
@@ -25,8 +27,11 @@ import cokr.xit.fims.crdn.service.Crdn05Service;
*/
public class Crdn05Controller extends ApplicationController {
+ @Resource(name="crdn05Bean")
+ private Crdn05Bean crdn05Bean;
+
@Resource(name="crdn05Service")
- private Crdn05Service crdn05Service;
+ private CrdnService crdn05Service;
/** 단속 자료 등록 메인화면을 연다.
* @return fims/crdn/crdn05010-main
@@ -52,7 +57,7 @@ public class Crdn05Controller extends ApplicationController {
}
/**당일 등록한 단속자료 목록을 조회한다.
- * {@link Crdn05Service#getCrackdownList(CrdnQuery)} 참고
+ * {@link Crdn05ServiceBean#getCrackdownList(CrdnQuery)} 참고
* @param req 단속자료 목록 조회 조건
* @return jsonView
* {
@@ -133,9 +138,9 @@ public class Crdn05Controller extends ApplicationController {
if(uploadFileList != null) {
List fileInfoList = new FileInfoFactory().makeFileInfos(null, uploadFileList);
- saved = crdn05Service.create(crdn, fileInfoList);
+ saved = crdn05Bean.create(crdn, fileInfoList);
} else {
- saved = crdn05Service.create(crdn);
+ saved = crdn05Bean.create(crdn);
}
return new ModelAndView("jsonView")
diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java
index e12ca148..b6d225aa 100644
--- a/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java
+++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java
@@ -11,7 +11,8 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.code.CommonCode;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.crdn.CrdnQuery;
-import cokr.xit.fims.crdn.service.Crdn06Service;
+import cokr.xit.fims.crdn.service.CrdnService;
+import cokr.xit.fims.crdn.service.bean.Crdn06ServiceBean;
/**단속 관리 서비스 웹 컨트롤러.
* {웹 컨텍스트}/crdn/crdn06 로 접근할 수 있다.
@@ -20,7 +21,7 @@ import cokr.xit.fims.crdn.service.Crdn06Service;
public class Crdn06Controller extends ApplicationController {
@Resource(name="crdn06Service")
- private Crdn06Service crdn06Service;
+ private CrdnService crdn06Service;
/** 단속 관리 메인화면을 연다.
* @return fims/crdn/crdn06010-main
@@ -86,7 +87,7 @@ public class Crdn06Controller extends ApplicationController {
}
/**단속자료 목록을 조회한다.
- * {@link Crdn06Service#getCrackdownList(CrdnQuery)} 참고
+ * {@link Crdn06ServiceBean#getCrackdownList(CrdnQuery)} 참고
* @param req 단속자료 목록 조회 조건
* @return jsonView
* {
@@ -107,7 +108,7 @@ public class Crdn06Controller extends ApplicationController {
}
/**검사자료 목록을 조회한다.
- * {@link Crdn06Service#getCrackdownList(CrdnQuery)} 참고
+ * {@link Crdn06ServiceBean#getCrackdownList(CrdnQuery)} 참고
* @param req 검사자료 목록 조회 조건
* @return jsonView
* {
@@ -133,7 +134,7 @@ public class Crdn06Controller extends ApplicationController {
}
/**감경자료 목록을 조회한다.
- * {@link Crdn06Service#getCrackdownList(CrdnQuery)} 참고
+ * {@link Crdn06ServiceBean#getCrackdownList(CrdnQuery)} 참고
* @param req 감경자료 목록 조회 조건
* @return jsonView
* {
diff --git a/src/main/java/cokr/xit/fims/task/DpvController.java b/src/main/java/cokr/xit/fims/task/DpvController.java
index 3bdbf279..7cd473fb 100644
--- a/src/main/java/cokr/xit/fims/task/DpvController.java
+++ b/src/main/java/cokr/xit/fims/task/DpvController.java
@@ -1,13 +1,16 @@
package cokr.xit.fims.task;
import javax.annotation.Resource;
+
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
+
import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery;
-import cokr.xit.fims.crdn.service.Crdn06Service;
+import cokr.xit.fims.crdn.service.CrdnService;
+import cokr.xit.fims.crdn.service.bean.Crdn06Bean;
@Controller
public class DpvController {
@@ -28,7 +31,10 @@ public class DpvController {
@RequestMapping(name="장애인과태료업무 단속업무", value="/DPV/crdn/crdn06")
class Crdn06Controller extends cokr.xit.fims.crdn.web.Crdn06Controller {
@Resource(name="crdn06Service")
- private Crdn06Service crdn06Service;
+ private CrdnService crdn06Service;
+
+ @Resource(name="crdn06Bean")
+ private Crdn06Bean crdn06Bean;
/**표지정보미확인자료 목록을 조회한다.
* {@link Crdn06Service#getCrackdownList(CrdnQuery)} 참고
@@ -62,7 +68,7 @@ public class DpvController {
@PostMapping(name = "단속 대장 수정", value = "/030/update.do")
public ModelAndView update(Crdn crdn) {
crdn.setUpdateInfomation("tagInformationUndefinedData");
- boolean saved = crdn06Service.update(crdn);
+ boolean saved = crdn06Bean.update(crdn);
return new ModelAndView("jsonView")
.addObject("saved", saved);
}