Browse Source

修改查询磁盘为查询时间范围内有效数据

wenjie 1 year ago
parent
commit
0a7d20422a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      query-app/src/main/java/db/service/QueryService.java

+ 1 - 1
query-app/src/main/java/db/service/QueryService.java

@@ -94,7 +94,7 @@ public class QueryService {
 
         log.info("queryByTime,查询条件为:start:{}, end:{}", startTime, endTime);
 
-        List<LogFileMeta> logFileMetas = logFileMetaMapper.getLogFileMetaBetweenTime(startTime, endTime);
+        List<LogFileMeta> logFileMetas = logFileMetaMapper.getValidLogFileMetaBetweenTime(startTime, endTime);
         log.info("queryByTime,查询B+树,查询到:{}", logFileMetas);
 
         PcapHandle handle = Pcaps.openOffline("./pcap/udp.pcap");