Commit a1a6f6e4ece2ecbe2ec3f37a5ea301d26e8c5100
1 parent
7abef6b49b
Exists in
master
and in
8 other branches
commit
Showing 1 changed file with 6 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
a1a6f6e
... | ... | @@ -512,10 +512,14 @@ |
512 | 512 | private UsersService usersService; |
513 | 513 | private String hospital; |
514 | 514 | |
515 | - public WorkHR(List<Patients> patientses, UsersService usersService, String hospital) { | |
515 | + public WorkHR(List<Patients> patientses, UsersService usersService, String hospital, | |
516 | + BasicConfigService basicConfigService, | |
517 | + AntenatalExaminationService antExService) { | |
516 | 518 | this.patientses = patientses; |
517 | 519 | this.usersService = usersService; |
518 | 520 | this.hospital = hospital; |
521 | + this.basicConfigService=basicConfigService; | |
522 | + this.antExService=antExService; | |
519 | 523 | } |
520 | 524 | |
521 | 525 | public List<RiskPatientsResult> call() { |
... | ... | @@ -671,7 +675,7 @@ |
671 | 675 | end = patientses.size(); |
672 | 676 | } |
673 | 677 | System.out.println("start:" + i + ",end:" + end); |
674 | - listFuture.add(threadPoolExecutor.submit(new WorkHR(patientses.subList(i, end), usersService, hospital))); | |
678 | + listFuture.add(threadPoolExecutor.submit(new WorkHR(patientses.subList(i, end), usersService, hospital,basicConfigService,antExService))); | |
675 | 679 | } |
676 | 680 | for (Future f : listFuture) { |
677 | 681 | try { |