Commit 9874a40233759a304025487617d8b8ce9ef78862
1 parent
d5ab55a5f1
Exists in
master
and in
6 other branches
操作日志
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java
View file @
9874a40
... | ... | @@ -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()); |