diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java index 002288a..8f63627 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java @@ -512,10 +512,14 @@ public class PatientFacade { private UsersService usersService; private String hospital; - public WorkHR(List patientses, UsersService usersService, String hospital) { + public WorkHR(List patientses, UsersService usersService, String hospital, + BasicConfigService basicConfigService, + AntenatalExaminationService antExService) { this.patientses = patientses; this.usersService = usersService; this.hospital = hospital; + this.basicConfigService=basicConfigService; + this.antExService=antExService; } public List call() { @@ -671,7 +675,7 @@ public class PatientFacade { end = patientses.size(); } System.out.println("start:" + i + ",end:" + end); - listFuture.add(threadPoolExecutor.submit(new WorkHR(patientses.subList(i, end), usersService, hospital))); + listFuture.add(threadPoolExecutor.submit(new WorkHR(patientses.subList(i, end), usersService, hospital,basicConfigService,antExService))); } for (Future f : listFuture) { try {