1、对原始日志查询开始时间和结束时间两个查询条件的日期格式在验证时进行严格解析;

2、为请求日志service_request_log添加request_uri字段;
This commit is contained in:
zhangdongxu
2018-08-08 10:52:53 +08:00
parent c02eb6fc3a
commit 35709dedbf
4 changed files with 26 additions and 1 deletions

View File

@@ -186,6 +186,7 @@ public abstract class BaseLogService {
try {
if (!StringUtil.isBlank(entity.getSearchFoundEndTime())) {
sdf.setLenient(false);
sdf.parse(entity.getSearchFoundEndTime());
}
} catch (ParseException e) {
@@ -201,6 +202,7 @@ public abstract class BaseLogService {
try {
if (!StringUtil.isBlank(entity.getSearchFoundStartTime())) {
sdf.setLenient(false);
sdf.parse(entity.getSearchFoundStartTime());
}
} catch (ParseException e) {