From 6b371e6a3e651e59c593a2726b7e8f216ef092e7 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 24 Apr 2024 13:14:58 +0900 Subject: [PATCH] no message --- ...gFileWriter.java => OutsourcingFileMaker.java} | 2 +- .../java/cokr/xit/fims/cmmn/ExtrArtclStng.java | 11 ++++++----- .../java/cokr/xit/fims/cmmn/OtptArtclStng.java | 15 +++++++++------ .../cokr/xit/fims/cmmn/OutsourcingArtclStng.java | 14 +++++++------- .../cokr/xit/fims/sndb/web/Sndb01Controller.java | 6 +++--- .../cokr/xit/fims/sprt/web/Sprt01Controller.java | 10 +++++----- 6 files changed, 31 insertions(+), 27 deletions(-) rename src/main/java/cokr/xit/base/file/etc/{OutsourcingFileWriter.java => OutsourcingFileMaker.java} (99%) diff --git a/src/main/java/cokr/xit/base/file/etc/OutsourcingFileWriter.java b/src/main/java/cokr/xit/base/file/etc/OutsourcingFileMaker.java similarity index 99% rename from src/main/java/cokr/xit/base/file/etc/OutsourcingFileWriter.java rename to src/main/java/cokr/xit/base/file/etc/OutsourcingFileMaker.java index 70133db4..ecd4ac2a 100644 --- a/src/main/java/cokr/xit/base/file/etc/OutsourcingFileWriter.java +++ b/src/main/java/cokr/xit/base/file/etc/OutsourcingFileMaker.java @@ -23,7 +23,7 @@ import cokr.xit.foundation.data.DataFormat; import cokr.xit.foundation.data.DataObject; import net.lingala.zip4j.ZipFile; -public class OutsourcingFileWriter { +public class OutsourcingFileMaker { diff --git a/src/main/java/cokr/xit/fims/cmmn/ExtrArtclStng.java b/src/main/java/cokr/xit/fims/cmmn/ExtrArtclStng.java index 2d33a137..a31d3fd2 100644 --- a/src/main/java/cokr/xit/fims/cmmn/ExtrArtclStng.java +++ b/src/main/java/cokr/xit/fims/cmmn/ExtrArtclStng.java @@ -7,16 +7,17 @@ import lombok.Setter; @Getter @Setter public class ExtrArtclStng extends AbstractEntity { + private String sggCd; + private String taskSeCd; + private String tmplatId; + private String extrFormId; //추출항목ID private String extrArtclNm; //추출항목명 private String extrArtclDscrp; //추출항목설명 + + private String otptArtclOrdr; //출력항목순서 private String leftPstn; //좌측 위치 private String topPstn; //상단 위치 private String widthSz; //영역크기 길이 private String heightSz; //영역크기 높이 - - private String otptArtclOrdr; //출력항목순서 - private String sggCd; - private String taskSeCd; - private String tmplatId; } diff --git a/src/main/java/cokr/xit/fims/cmmn/OtptArtclStng.java b/src/main/java/cokr/xit/fims/cmmn/OtptArtclStng.java index 4e6f31d7..cb19a0bb 100644 --- a/src/main/java/cokr/xit/fims/cmmn/OtptArtclStng.java +++ b/src/main/java/cokr/xit/fims/cmmn/OtptArtclStng.java @@ -7,21 +7,24 @@ import lombok.Setter; @Getter @Setter public class OtptArtclStng extends AbstractEntity { + private String sggCd; + private String taskSeCd; + private String sndngSeCd; + private String paperSeCd; + private String otptFormId; //출력항목ID private String otptArtclNm; //출력항목명 + + private String otptArtclOrdr; //출력항목순서 private String leftPstn; //좌측 위치 private String topPstn; //상단 위치 private String widthSz; //영역크기 길이 private String heightSz; //영역크기 높이 private String textSort; //텍스트정렬 - private String lineChgYn; + private String lineChgYn; //줄바꿈여부 private String fontNm; //글꼴명 private String fontSz; //글자크기 private String fontColor; //글자색 private String fontStyle; //글자스타일 - private String otptArtclOrdr; //출력항목순서 - private String sggCd; - private String taskSeCd; - private String sndngSeCd; - private String paperSeCd; + } diff --git a/src/main/java/cokr/xit/fims/cmmn/OutsourcingArtclStng.java b/src/main/java/cokr/xit/fims/cmmn/OutsourcingArtclStng.java index b7cc3151..a60ede7c 100644 --- a/src/main/java/cokr/xit/fims/cmmn/OutsourcingArtclStng.java +++ b/src/main/java/cokr/xit/fims/cmmn/OutsourcingArtclStng.java @@ -7,15 +7,15 @@ import lombok.Setter; @Getter @Setter public class OutsourcingArtclStng extends AbstractEntity { - private String outsourcingFormId; //항목ID - private String artclOrdr; //항목순서 - private String artclNm; //항목명 - private String artclSz; //항목 바이트수 - private String paddingDirection; //공백방향 - private String formatting; - private String sggCd; private String taskSeCd; private String sndngSeCd; + private String outsourcingFormId; //항목ID + private String artclNm; //항목명 + + private String artclOrdr; //항목순서 + private String artclSz; //항목 바이트수 + private String paddingDirection; //공백방향 + private String formatting; //포매팅 } 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 f5bafcdd..88337980 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.docs.xls.CellDef; import cokr.xit.base.docs.xls.Format; import cokr.xit.base.docs.xls.Style; import cokr.xit.base.docs.xls.XLSWriter; -import cokr.xit.base.file.etc.OutsourcingFileWriter; +import cokr.xit.base.file.etc.OutsourcingFileMaker; import cokr.xit.base.file.service.FileQuery; import cokr.xit.base.file.service.bean.FileBean; import cokr.xit.base.user.ManagedUser; @@ -1863,9 +1863,9 @@ public class Sndb01Controller extends ApplicationController { stngQuery.setSndngSeCd("02"); List printStngItems = outsourcingStngBean.getArtclStngList(stngQuery); - OutsourcingFileWriter osWriter = new OutsourcingFileWriter(); + OutsourcingFileMaker osMaker = new OutsourcingFileMaker(); - Map result = osWriter.makeOutsourcingFile("사전통지", printOption, dataObjectList, printStngItems); + Map result = osMaker.makeOutsourcingFile("사전통지", printOption, dataObjectList, printStngItems); mav.addAllObjects(result); diff --git a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java index 7c334752..9a4bab57 100644 --- a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java +++ b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java @@ -24,7 +24,7 @@ import cokr.xit.base.docs.xls.CellDef; import cokr.xit.base.docs.xls.Format; import cokr.xit.base.docs.xls.Style; import cokr.xit.base.docs.xls.XLSWriter; -import cokr.xit.base.file.etc.OutsourcingFileWriter; +import cokr.xit.base.file.etc.OutsourcingFileMaker; import cokr.xit.base.file.service.FileQuery; import cokr.xit.base.file.service.bean.FileBean; import cokr.xit.base.user.ManagedUser; @@ -873,9 +873,9 @@ public class Sprt01Controller extends ApplicationController { stngQuery.setSndngSeCd("02"); List printStngItems = outsourcingStngBean.getArtclStngList(stngQuery); - OutsourcingFileWriter osWriter = new OutsourcingFileWriter(); + OutsourcingFileMaker osMaker = new OutsourcingFileMaker(); - Map result = osWriter.makeOutsourcingFile("사전통지", printOption, dataObjectList, printStngItems); + Map result = osMaker.makeOutsourcingFile("사전통지", printOption, dataObjectList, printStngItems); mav.addAllObjects(result); return mav; @@ -1106,9 +1106,9 @@ public class Sprt01Controller extends ApplicationController { stngQuery.setSndngSeCd("03"); List printStngItems = outsourcingStngBean.getArtclStngList(stngQuery); - OutsourcingFileWriter osWriter = new OutsourcingFileWriter(); + OutsourcingFileMaker osMaker = new OutsourcingFileMaker(); - Map result = osWriter.makeOutsourcingFile("고지서", printOption, dataObjectList, printStngItems); + Map result = osMaker.makeOutsourcingFile("고지서", printOption, dataObjectList, printStngItems); mav.addAllObjects(result); return mav;