修复:1. 切换报表类型后默认时间消失

2. 部分页面时间输入框消失
This commit is contained in:
chenjinsong
2018-07-12 15:28:46 +08:00
parent 91799c01f9
commit af3171b17b
2 changed files with 10 additions and 11 deletions

View File

@@ -343,6 +343,9 @@ public class BaseController {
if (StringUtils.isBlank(report.getReportTime())) {
report.setReportTime(DateUtils.formatDate(new Date(), "yyyy-MM-dd"));
}
if (report.getReportType() == null) {
report.setReportType(1);
}
}
protected void initFormCondition(Model model){
List<RequestInfo> requestInfos=requestInfoService.getValidRequestInfo();