Commit 01ef72f6a119117f6784118758c9aa2c61c5e555
1 parent
b5c7a8560d
Exists in
master
and in
6 other branches
update code
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java
View file @
01ef72f
... | ... | @@ -374,7 +374,7 @@ |
374 | 374 | patientsQuery1.setHospitalId(organization.getId()+""); |
375 | 375 | List<Patients> pats = patientsService.queryPatient(patientsQuery1); |
376 | 376 | |
377 | - int batchSize = 500; | |
377 | + int batchSize = 5000; | |
378 | 378 | int end = 0; |
379 | 379 | for (int i = 0; i < pats.size(); i += batchSize) { |
380 | 380 | end = (end + batchSize); |
... | ... | @@ -442,7 +442,7 @@ |
442 | 442 | patientsQuery1.setHospitalId(organization.getId()+""); |
443 | 443 | List<Patients> pats = patientsService.queryPatient(patientsQuery1); |
444 | 444 | |
445 | - int batchSize = 500; | |
445 | + int batchSize = 5000; | |
446 | 446 | int end = 0; |
447 | 447 | for (int i = 0; i < pats.size(); i += batchSize) { |
448 | 448 | end = (end + batchSize); |