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 200846af..e1828d7c 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java @@ -42,6 +42,7 @@ public class Crdn06Controller extends ApplicationController { , removeCrackdown = "/010/remove.do" , removeCrackdownPayer = "/010/removeCrdnPayer.do" , countCrdn = "/010/nocs.do" + , sendCrdn = "/010/sendCrdn.do" , getCrackdownInfo = "/020/info.do" , updateCrackdown = "/020/update.do" , getCrackdownStatusInfo = "/030/info.do" @@ -198,6 +199,23 @@ public class Crdn06Controller extends ApplicationController { return mav; } + /**단속자료를 압축파일로 생성하여 세외수입으로 전송한다. + * @param CrdnIDs 단속ID 목록 + * @return jsonView + *
{
+ * "affected": 저장된 정보수
+ * "saved": 저장되었으면 true, 그렇지 않으면 false
+ * }
+ */
+ public ModelAndView sendCrdn(String... crdnIDs) {
+ ModelAndView mav = new ModelAndView("jsonView");
+
+ //TODO :
+
+ mav.addObject("saved", true);
+
+ return mav;
+ }
/**지정한 ID의 단속 정보(info)를 반환한다.
* @param query 단속 대장 조회 조건
diff --git a/src/main/java/cokr/xit/fims/task/web/BpvController.java b/src/main/java/cokr/xit/fims/task/web/BpvController.java
index a8080cdd..4fa108fa 100644
--- a/src/main/java/cokr/xit/fims/task/web/BpvController.java
+++ b/src/main/java/cokr/xit/fims/task/web/BpvController.java
@@ -11,7 +11,6 @@ import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.ExmptnVhcl;
import cokr.xit.fims.crdn.Team;
-import cokr.xit.fims.crdn.web.Crdn06Controller.METHOD_URL;
import cokr.xit.fims.cvlc.CrdnCvlcpt;
import cokr.xit.fims.excl.CrdnReReg;
import cokr.xit.fims.excl.LevyExcl;
@@ -298,6 +297,12 @@ public class BpvController {
return super.countCrdn(query);
}
+ @Override
+ @RequestMapping(name="전용차로과태료업무 단속자료압축파일 세외수입 전송", value=METHOD_URL.sendCrdn)
+ public ModelAndView sendCrdn(String... crdnIDs) {
+ return super.sendCrdn(crdnIDs);
+ }
+
@Override
@RequestMapping(name="전용차로과태료업무 단속자료 조회", value=METHOD_URL.getCrackdownStatusInfo)
public ModelAndView getCrackdownStatusInfo(CrdnQuery query) {
diff --git a/src/main/java/cokr/xit/fims/task/web/DpvController.java b/src/main/java/cokr/xit/fims/task/web/DpvController.java
index 131171d3..8e5b0d29 100644
--- a/src/main/java/cokr/xit/fims/task/web/DpvController.java
+++ b/src/main/java/cokr/xit/fims/task/web/DpvController.java
@@ -337,6 +337,13 @@ public class DpvController {
return super.countCrdn(query);
}
+ @Override
+ @RequestMapping(name="장애인과태료업무 단속자료압축파일 세외수입 전송", value=METHOD_URL.sendCrdn)
+ public ModelAndView sendCrdn(String... crdnIDs) {
+ return super.sendCrdn(crdnIDs);
+ }
+
+
@Override
@RequestMapping(name="장애인과태료업무 단속자료 조회", value=METHOD_URL.getCrackdownStatusInfo)
public ModelAndView getCrackdownStatusInfo(CrdnQuery query) {
diff --git a/src/main/java/cokr/xit/fims/task/web/EcaController.java b/src/main/java/cokr/xit/fims/task/web/EcaController.java
index 221a4555..fa944e88 100644
--- a/src/main/java/cokr/xit/fims/task/web/EcaController.java
+++ b/src/main/java/cokr/xit/fims/task/web/EcaController.java
@@ -9,7 +9,6 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery;
-import cokr.xit.fims.crdn.web.Crdn06Controller.METHOD_URL;
import cokr.xit.fims.cvlc.CrdnCvlcpt;
import cokr.xit.fims.excl.CrdnReReg;
import cokr.xit.fims.excl.LevyExcl;
@@ -297,6 +296,12 @@ public class EcaController {
return super.countCrdn(query);
}
+ @Override
+ @RequestMapping(name="전기차과태료업무 단속자료압축파일 세외수입 전송", value=METHOD_URL.sendCrdn)
+ public ModelAndView sendCrdn(String... crdnIDs) {
+ return super.sendCrdn(crdnIDs);
+ }
+
@Override
@RequestMapping(name="전기차과태료업무 단속자료 조회", value=METHOD_URL.getCrackdownStatusInfo)
public ModelAndView getCrackdownStatusInfo(CrdnQuery query) {
diff --git a/src/main/java/cokr/xit/fims/task/web/PvsController.java b/src/main/java/cokr/xit/fims/task/web/PvsController.java
index f7afb861..13135e78 100644
--- a/src/main/java/cokr/xit/fims/task/web/PvsController.java
+++ b/src/main/java/cokr/xit/fims/task/web/PvsController.java
@@ -10,7 +10,6 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.Team;
-import cokr.xit.fims.crdn.web.Crdn06Controller.METHOD_URL;
import cokr.xit.fims.cvlc.CrdnCvlcpt;
import cokr.xit.fims.excl.CrdnReReg;
import cokr.xit.fims.excl.LevyExcl;
@@ -310,6 +309,12 @@ public class PvsController {
return super.countCrdn(query);
}
+ @Override
+ @RequestMapping(name="주정차과태료업무 단속자료압축파일 세외수입 전송", value=METHOD_URL.sendCrdn)
+ public ModelAndView sendCrdn(String... crdnIDs) {
+ return super.sendCrdn(crdnIDs);
+ }
+
@Override
@RequestMapping(name="주정차과태료업무 단속자료 조회", value=METHOD_URL.getCrackdownStatusInfo)
public ModelAndView getCrackdownStatusInfo(CrdnQuery query) {
diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp
index 0a9251ac..1effdc24 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp
@@ -139,8 +139,11 @@
-
-
+
+
@@ -161,6 +164,10 @@