fix limit
This commit is contained in:
parent
ebbd5e0949
commit
5e81be4ee1
1 changed files with 4 additions and 1 deletions
|
|
@ -115,7 +115,10 @@ public class DownloadService {
|
|||
List<File> allFiles = new ArrayList<>();
|
||||
int offset = 0;
|
||||
int pageIndex = 1;
|
||||
int limit = request.getRequestArgumentLimit();
|
||||
int limit = 600000;
|
||||
if (request.getRequestArgumentLimit() != null) {
|
||||
limit = request.getRequestArgumentLimit();
|
||||
}
|
||||
try (Connection connection = DatabaseConnection.getConnection(
|
||||
request.getSqlConnectionParams())) {
|
||||
Map<String, Object> query = buildSqlQuery(request, ids, startDate, endDate,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue