Commit 9801eede6bceac2bd076db91ab74967678b03aa3
1 parent
ccd6e30eac
Exists in
master
and in
6 other branches
同步
Showing 2 changed files with 4 additions and 13 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/AntenatalExaminationService.java
View file @
9801eed
... | ... | @@ -44,11 +44,6 @@ |
44 | 44 | private PatientsService patientsService; |
45 | 45 | |
46 | 46 | @Autowired |
47 | - @Qualifier("commonThreadPool") | |
48 | - private ThreadPoolTaskExecutor commonThreadPool; | |
49 | - | |
50 | - | |
51 | - @Autowired | |
52 | 47 | private AntExRecordService recordService; |
53 | 48 | |
54 | 49 | public List<AntenatalExaminationModel> findAllByParentId(String parentId) { |
... | ... | @@ -150,7 +145,7 @@ |
150 | 145 | */ |
151 | 146 | public void handleCheckPoint(final String pid) |
152 | 147 | { |
153 | - commonThreadPool.execute(new Runnable() { | |
148 | + new Thread(new Runnable() { | |
154 | 149 | @Override |
155 | 150 | public void run() { |
156 | 151 | if(StringUtils.isEmpty(pid)){ |
... | ... | @@ -264,7 +259,7 @@ |
264 | 259 | } |
265 | 260 | } |
266 | 261 | } |
267 | - }); | |
262 | + }).start(); | |
268 | 263 | |
269 | 264 | } |
270 | 265 |
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/PatientsService.java
View file @
9801eed
... | ... | @@ -46,10 +46,6 @@ |
46 | 46 | private IAntExRecordDao iAntExRecordDao; |
47 | 47 | |
48 | 48 | @Autowired |
49 | - @Qualifier("commonThreadPool") | |
50 | - private ThreadPoolTaskExecutor commonThreadPool; | |
51 | - | |
52 | - @Autowired | |
53 | 49 | private TrackDownRecordService trackDownRecordService; |
54 | 50 | |
55 | 51 | |
... | ... | @@ -415,7 +411,7 @@ |
415 | 411 | */ |
416 | 412 | public void validata(final Patients patients) { |
417 | 413 | |
418 | - commonThreadPool.execute(new Runnable() { | |
414 | + new Thread(new Runnable() { | |
419 | 415 | @Override |
420 | 416 | public void run() { |
421 | 417 | if(patients!=null){ |
... | ... | @@ -427,7 +423,7 @@ |
427 | 423 | updateExRecord(patients); |
428 | 424 | } |
429 | 425 | } |
430 | - }); | |
426 | + }).start(); | |
431 | 427 | |
432 | 428 | |
433 | 429 |