From 55d56348c8ab49d2cf8978725741c49c710b6e3b Mon Sep 17 00:00:00 2001 From: jjh Date: Thu, 14 Dec 2023 17:42:44 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=20=EA=B2=80?= =?UTF-8?q?=EC=83=89=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cokr/xit/fims/base/UserController.java | 20 +- .../java/cokr/xit/fims/epst/EpostQuery.java | 2 +- .../xit/fims/epst/web/Epst02Controller.java | 15 +- .../resources/sql/mapper/base/user-mapper.xml | 1 + .../WEB-INF/jsp/fims/epst/epst02050-main.jsp | 61 +++- .../WEB-INF/jsp/fims/excl/excl01010-main.jsp | 21 +- .../WEB-INF/jsp/fims/user/user02010-main.jsp | 337 ++++++++++++++++++ 7 files changed, 418 insertions(+), 39 deletions(-) create mode 100644 src/main/webapp/WEB-INF/jsp/fims/user/user02010-main.jsp diff --git a/src/main/java/cokr/xit/fims/base/UserController.java b/src/main/java/cokr/xit/fims/base/UserController.java index 31005b13..1c7e22c7 100644 --- a/src/main/java/cokr/xit/fims/base/UserController.java +++ b/src/main/java/cokr/xit/fims/base/UserController.java @@ -254,4 +254,22 @@ public class UserController extends cokr.xit.base.user.web.UserController null); } - public T setSchDetailRgtr(String schDetailRgtrCd) { + public T setSchDetailRgtrCd(String schDetailRgtrCd) { this.schDetailRgtrCd = schDetailRgtrCd; return self(); } diff --git a/src/main/java/cokr/xit/fims/epst/web/Epst02Controller.java b/src/main/java/cokr/xit/fims/epst/web/Epst02Controller.java index e210a6e9..b2a9c050 100644 --- a/src/main/java/cokr/xit/fims/epst/web/Epst02Controller.java +++ b/src/main/java/cokr/xit/fims/epst/web/Epst02Controller.java @@ -370,17 +370,18 @@ public class Epst02Controller extends ApplicationController { .setFilename("우편통합 접수결과 목록.xlsx") .worksheet(0); - CellStyle header = xlsx.cellStyle(new XLSWriter.Styler() - .width(32) + XLSWriter.Styler header = new XLSWriter.Styler() + .width(16) .foregroundColor(HSSFColor.HSSFColorPredefined.LIGHT_BLUE.getIndex()) .configure(styler -> { Font font = xlsx.workbook().createFont(); font.setColor(HSSFColor.HSSFColorPredefined.WHITE.getIndex()); styler.font(font); styler.alignment(HorizontalAlignment.CENTER); - }) - ) - , numeric = xlsx.n_nn0(); + }); + + CellStyle numeric = xlsx.n_nn0() + , dateYmd = xlsx.yyyy_mm_dd(); xlsx.cell(0, 0) .value("우편통합 접수결과 목록", XLSWriter.Styler.CENTER) @@ -396,8 +397,8 @@ public class Epst02Controller extends ApplicationController { , xlsx.style("RELETCDATA", XLSWriter.Styler.CENTER) , xlsx.style("JOB_CD", XLSWriter.Styler.CENTER) , xlsx.style("JOB_CD3_NM", XLSWriter.Styler.CENTER) - , xlsx.format(r -> xlsx.str2date(r.get("EXTRI_REGYMD"))) - , xlsx.format(r -> xlsx.str2date(r.get("RCEPT_YMD"))) + , xlsx.format(r -> xlsx.str2date(r.get("EXTRI_REGYMD"))).style(dateYmd) + , xlsx.format(r -> xlsx.str2date(r.get("RCEPT_YMD"))).style(dateYmd) , xlsx.style("DIV_KB_NM", XLSWriter.Styler.CENTER) , xlsx.style("RCEPT_CNT", numeric) , xlsx.style("RCEPT_AMT", numeric) diff --git a/src/main/resources/sql/mapper/base/user-mapper.xml b/src/main/resources/sql/mapper/base/user-mapper.xml index 4fd7e735..87cb34f0 100644 --- a/src/main/resources/sql/mapper/base/user-mapper.xml +++ b/src/main/resources/sql/mapper/base/user-mapper.xml @@ -80,6 +80,7 @@ SELECT USER_ID , LOCK_DT , REG_DT , STTS + , (SELECT GET_CODE_NM('CMM004', STTS) FROM DUAL) AS STTS_NM FROM TB_USER A AND ${by} LIKE CONCAT('%', #{term}, '%') USER_ID IN (#{userID}) diff --git a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp index f3b0440e..363645ae 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp @@ -30,8 +30,8 @@
- - + + + + + + + + + + + + + +
+ + + +
+ + +
+ +
    +
+
+ + + +
+
+ + + +
+ +
+ + + + + + + +
+ + + +