feat(REQ-4418) - 调整查询日期的参数
This commit is contained in:
parent
59addaa671
commit
2d88d57ca9
@ -295,6 +295,9 @@ public class TestController {
|
||||
if (!StringUtils.hasText(keyword)) {
|
||||
return "命令不能为空";
|
||||
}
|
||||
if (StringUtils.hasText(date)) {
|
||||
return ShellUtil.grepLog(profile, keyword, StringUtils.hasText(date) ? DateUtil.parseDate(date) : new Date(), grepKeyword);
|
||||
}
|
||||
String s = ShellUtil.grepRealTimeLog(profile, keyword);
|
||||
if (StringUtils.hasText(s)) {
|
||||
return s;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user