no message

main
이범준 7 months ago
parent ebf533d8a8
commit 6b371e6a3e

@ -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 {

@ -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;
}

@ -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;
}

@ -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; //포매팅
}

@ -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<DataObject> printStngItems = outsourcingStngBean.getArtclStngList(stngQuery);
OutsourcingFileWriter osWriter = new OutsourcingFileWriter();
OutsourcingFileMaker osMaker = new OutsourcingFileMaker();
Map<String, Object> result = osWriter.makeOutsourcingFile("사전통지", printOption, dataObjectList, printStngItems);
Map<String, Object> result = osMaker.makeOutsourcingFile("사전통지", printOption, dataObjectList, printStngItems);
mav.addAllObjects(result);

@ -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<DataObject> printStngItems = outsourcingStngBean.getArtclStngList(stngQuery);
OutsourcingFileWriter osWriter = new OutsourcingFileWriter();
OutsourcingFileMaker osMaker = new OutsourcingFileMaker();
Map<String, Object> result = osWriter.makeOutsourcingFile("사전통지", printOption, dataObjectList, printStngItems);
Map<String, Object> result = osMaker.makeOutsourcingFile("사전통지", printOption, dataObjectList, printStngItems);
mav.addAllObjects(result);
return mav;
@ -1106,9 +1106,9 @@ public class Sprt01Controller extends ApplicationController {
stngQuery.setSndngSeCd("03");
List<DataObject> printStngItems = outsourcingStngBean.getArtclStngList(stngQuery);
OutsourcingFileWriter osWriter = new OutsourcingFileWriter();
OutsourcingFileMaker osMaker = new OutsourcingFileMaker();
Map<String, Object> result = osWriter.makeOutsourcingFile("고지서", printOption, dataObjectList, printStngItems);
Map<String, Object> result = osMaker.makeOutsourcingFile("고지서", printOption, dataObjectList, printStngItems);
mav.addAllObjects(result);
return mav;

Loading…
Cancel
Save