fix: 查询限制

This commit is contained in:
chenwenjian 2024-12-02 15:06:15 +08:00
parent 59b1e3a05e
commit 21200684c3

View File

@ -178,9 +178,10 @@ public class LogServiceImpl implements LogService {
@Override
public FindLogResp findLogs(FindLogDto req) {
log.info("raw find logs conditions: {}", JSONObject.toJSONString(req));
Document filterDoc = new Document();
int skip = 0;
int limit = 0;
int limit = 1000;
Document sortDoc = new Document();
MongoCollection<Document> logCollection = mongoTemplate.getCollection("log");