mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-24 14:07:50 +08:00
修复比较符
This commit is contained in:
parent
dea05b46d3
commit
8d662769d7
@ -24,7 +24,7 @@ public class LogServiceImpl implements ILogService {
|
|||||||
@Override
|
@Override
|
||||||
public List<LogFileInfo> queryList(String query, String startTime, String endTime) {
|
public List<LogFileInfo> queryList(String query, String startTime, String endTime) {
|
||||||
File logFile = getLogDir();
|
File logFile = getLogDir();
|
||||||
if (logFile == null && !logFile.exists()) {
|
if (logFile == null || !logFile.exists()) {
|
||||||
throw new ControllerException(ErrorCode.ERROR100.getCode(), "获取日志文件目录失败");
|
throw new ControllerException(ErrorCode.ERROR100.getCode(), "获取日志文件目录失败");
|
||||||
}
|
}
|
||||||
File[] files = logFile.listFiles();
|
File[] files = logFile.listFiles();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user