jsp类:
部门: 请选择 人事部 财务部 后勤部 | 开始时间: | 至 | 结束时间: |
action类:
public String getStartDate() {
return startDate;
}
public String getEndDate() {
return endDate;
}
public String getBranch() {
return branch;
}
public void setBranch(String branch) {
this.branch = branch;
}
public void setStartDate(String startDate) {
this.startDate = startDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
public String findByBranchAndDate() {
Date start=Date.valueOf(startDate);
Date end=Date.valueOf(endDate);
this.signInfos=signInfoService.findByBranch(branch, start, end);
return SUCCESS;
}