From e604765c7b46be2cf0de5edf6a94a64bef970ef4 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Tue, 28 May 2024 11:17:44 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=83=98=ED=94=8C=20=ED=99=94=EB=A9=B4?= =?UTF-8?q?=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/adds/nims/web/TestController.java | 30 +++++-- .../{barcode-read.jsp => barcode-main.jsp} | 6 +- .../jsp/adds/nims/dsuseMgtReceipt-main.jsp | 90 +++++++++++++++++++ .../jsp/adds/nims/dsuseMgtRslt-main.jsp | 70 +++++++++++++++ 4 files changed, 186 insertions(+), 10 deletions(-) rename src/main/webapp/WEB-INF/jsp/adds/nims/{barcode-read.jsp => barcode-main.jsp} (99%) create mode 100644 src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp diff --git a/src/main/java/cokr/xit/adds/nims/web/TestController.java b/src/main/java/cokr/xit/adds/nims/web/TestController.java index fe8d7e5..8451e3b 100644 --- a/src/main/java/cokr/xit/adds/nims/web/TestController.java +++ b/src/main/java/cokr/xit/adds/nims/web/TestController.java @@ -12,19 +12,39 @@ import lombok.RequiredArgsConstructor; @Controller @RequestMapping( name = "Nims 관리", - value = {"/adds/nims"} + value = {"/adds/nims/v1"} ) public class TestController extends AbstractController { @Value("${app.api.host:}") private String apiHost; @RequestMapping( - name = "Nims 메인", - value = {"/barcode/main.do"} + name = "Nims 바코드 리더", + value = {"/barcodeForm.do"} ) - public ModelAndView main() { + public ModelAndView barcodeForm() { ModelAndView mav = new ModelAndView(); - mav.setViewName("adds/nims/barcode-read"); + mav.setViewName("adds/nims/barcode-main"); + return mav.addObject("apiHost", apiHost); + } + + @RequestMapping( + name = "Nims 폐기신청서접수", + value = {"/dsuseMgtReceiptForm.do"} + ) + public ModelAndView dsuseMgtReceiptForm() { + ModelAndView mav = new ModelAndView(); + mav.setViewName("adds/nims/dsuseMgtReceipt-main"); + return mav.addObject("apiHost", apiHost); + } + + @RequestMapping( + name = "Nims 폐기 통보[결과] 처리", + value = {"/dsuseMgtRsltForm.do"} + ) + public ModelAndView dsuseMgtRsltForm() { + ModelAndView mav = new ModelAndView(); + mav.setViewName("adds/nims/dsuseMgtRslt-main"); return mav.addObject("apiHost", apiHost); } } diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/barcode-read.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/barcode-main.jsp similarity index 99% rename from src/main/webapp/WEB-INF/jsp/adds/nims/barcode-read.jsp rename to src/main/webapp/WEB-INF/jsp/adds/nims/barcode-main.jsp index a2e58ca..b06eff2 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/barcode-read.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/barcode-main.jsp @@ -17,7 +17,7 @@
-

QR code Scan or image upload

+

바코드(이미지) scan

@@ -371,7 +371,3 @@ } - - - - diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp new file mode 100644 index 0000000..ecf7036 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp @@ -0,0 +1,90 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> + + + + 폐기 신청서 접수 + + + + + + + +
+ +
+
+ + +
+ + diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp new file mode 100644 index 0000000..375c26b --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp @@ -0,0 +1,70 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> + + + + 폐기 신청서 접수 + + + + + + + +
+ +
+
+ + +
+ +