From a1a6f6e4ece2ecbe2ec3f37a5ea301d26e8c5100 Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Thu, 13 Oct 2016 13:48:49 +0800 Subject: [PATCH] commit --- .../java/com/lyms/platform/operate/web/facade/PatientFacade.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 { -- 1.8.3.1