You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
1.8 KiB
Java
87 lines
1.8 KiB
Java
1 year ago
|
package cokr.xit.fims.cmmn;
|
||
|
|
||
|
import cokr.xit.foundation.component.QueryRequest;
|
||
|
|
||
|
public class CmmnQuery extends QueryRequest {
|
||
|
|
||
|
private static final long serialVersionUID = 1L;
|
||
|
|
||
|
private String mainOption;
|
||
|
|
||
|
private String subOption;
|
||
|
|
||
|
private String thisDay;
|
||
|
|
||
|
private String taskSeCd; //업무구분코드
|
||
|
|
||
|
private String schDateOpt; //검색 일자 구분
|
||
|
|
||
|
private String schDateFrom; //검색 일자 시작
|
||
|
|
||
|
private String schDateTo; // 검색 일자 종료
|
||
|
|
||
|
public String getMainOption() {
|
||
|
return ifEmpty(mainOption, () -> null);
|
||
|
}
|
||
|
|
||
|
public <T extends CmmnQuery> T setMainOption(String mainOption) {
|
||
|
this.mainOption = mainOption;
|
||
|
return self();
|
||
|
}
|
||
|
|
||
|
public String getSubOption() {
|
||
|
return ifEmpty(subOption, () -> null);
|
||
|
}
|
||
|
|
||
|
public <T extends CmmnQuery> T setSubOption(String subOption) {
|
||
|
this.subOption = subOption;
|
||
|
return self();
|
||
|
}
|
||
|
|
||
|
public String getThisDay() {
|
||
|
return ifEmpty(thisDay, () -> null);
|
||
|
}
|
||
|
|
||
|
public <T extends CmmnQuery> T setThisDay(String thisDay) {
|
||
|
this.thisDay = thisDay;
|
||
|
return self();
|
||
|
}
|
||
|
|
||
|
public String getTaskSeCd() {
|
||
|
return ifEmpty(taskSeCd, () -> null);
|
||
|
}
|
||
|
|
||
|
public <T extends CmmnQuery> T setTaskSeCd(String taskSeCd) {
|
||
|
this.taskSeCd = taskSeCd;
|
||
|
return self();
|
||
|
}
|
||
|
|
||
|
public String getSchDateOpt() {
|
||
|
return ifEmpty(schDateOpt, () -> null);
|
||
|
}
|
||
|
|
||
|
public <T extends CmmnQuery> T setSchDateOpt(String schDateOpt) {
|
||
|
this.schDateOpt = schDateOpt;
|
||
|
return self();
|
||
|
}
|
||
|
|
||
|
public String getSchDateFrom() {
|
||
|
return ifEmpty(schDateFrom, () -> null);
|
||
|
}
|
||
|
|
||
|
public <T extends CmmnQuery> T setSchDateFrom(String schDateFrom) {
|
||
|
this.schDateFrom = schDateFrom;
|
||
|
return self();
|
||
|
}
|
||
|
|
||
|
public String getSchDateTo() {
|
||
|
return ifEmpty(schDateTo, () -> null);
|
||
|
}
|
||
|
|
||
|
public <T extends CmmnQuery> T setSchDateTo(String schDateTo) {
|
||
|
this.schDateTo = schDateTo;
|
||
|
return self();
|
||
|
}
|
||
|
|
||
|
}
|