엑셀 다운로드용 변수 추가

main
이범준 11 months ago
parent a599d0bc10
commit a1ae5fbf96

@ -9,6 +9,8 @@ public class CmmnQuery extends QueryRequest {
private String mainOption; private String mainOption;
private String subOption; private String subOption;
private String colDefs;
private String[] excelTitle; private String[] excelTitle;
private int[] excelTitleWidth; private int[] excelTitleWidth;
@ -49,6 +51,15 @@ public class CmmnQuery extends QueryRequest {
return self(); return self();
} }
public String getColDefs() {
return ifEmpty(colDefs, () -> null);
}
public <T extends CmmnQuery> T setColDefs(String colDefs) {
this.colDefs = colDefs;
return self();
}
public String[] getExcelTitle() { public String[] getExcelTitle() {
return ifEmpty(excelTitle, () -> null); return ifEmpty(excelTitle, () -> null);
} }

Loading…
Cancel
Save