Commit e85662cdb2082a2f420a818dc5fb5ad8777d7f92
Exists in
master
and in
1 other branch
Merge remote-tracking branch 'origin/master'
Showing 1 changed file
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java
View file @
e85662c
| ... | ... | @@ -375,7 +375,7 @@ |
| 375 | 375 | List<PersonModel> personModels = personService.queryPersons(personModelQuery); |
| 376 | 376 | if (CollectionUtils.isNotEmpty(personModels)) |
| 377 | 377 | { |
| 378 | - int batchSize = 10000; | |
| 378 | + int batchSize = 5000; | |
| 379 | 379 | for(int i = 0,end = 0 ; i < personModels.size() ; i += batchSize) |
| 380 | 380 | { |
| 381 | 381 | end += batchSize; |