Commit 909e49b7ecf83f230bfba379b9eaeb2f0e5de985
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 @
909e49b
| ... | ... | @@ -375,7 +375,7 @@ |
| 375 | 375 | List<PersonModel> personModels = personService.queryPersons(personModelQuery); |
| 376 | 376 | if (CollectionUtils.isNotEmpty(personModels)) |
| 377 | 377 | { |
| 378 | - int batchSize = 500; | |
| 378 | + int batchSize = 10000; | |
| 379 | 379 | for(int i = 0,end = 0 ; i < personModels.size() ; i += batchSize) |
| 380 | 380 | { |
| 381 | 381 | end += batchSize; |
| ... | ... | @@ -387,6 +387,7 @@ |
| 387 | 387 | public void run() { |
| 388 | 388 | for(PersonModel person : models) |
| 389 | 389 | { |
| 390 | + System.out.println("pid===" + person.getId()); | |
| 390 | 391 | antenatalExaminationService.handleCheckPoint(person.getId()); |
| 391 | 392 | // PatientsQuery patientsQuery = new PatientsQuery(); |
| 392 | 393 | // patientsQuery.setYn(YnEnums.YES.getId()); |