Commit d5305df3e30ab17f91b63c38221d98b6260a2829
1 parent
59cc90ebb0
Exists in
master
and in
1 other branch
修改新电子病历
Showing 1 changed file with 1 additions and 3 deletions
platform-job-index/src/main/java/com/lyms/platform/job/index/restore/data/SyncDataWork.java
View file @
d5305df
| ... | ... | @@ -60,7 +60,7 @@ |
| 60 | 60 | /** |
| 61 | 61 | * 工作线程池 |
| 62 | 62 | */ |
| 63 | - private ThreadPoolExecutor workExecutor = new ThreadPoolExecutor(5, 10, 1, TimeUnit.HOURS, new LinkedBlockingQueue<Runnable>(5000)); | |
| 63 | + private ThreadPoolExecutor workExecutor = new ThreadPoolExecutor(8, 10, 1, TimeUnit.HOURS, new LinkedBlockingQueue<Runnable>(5000)); | |
| 64 | 64 | |
| 65 | 65 | @Autowired |
| 66 | 66 | private AntenatalExaminationService antenatalExaminationService; |
| ... | ... | @@ -288,8 +288,6 @@ |
| 288 | 288 | PatientsQuery patientsQuery1 = new PatientsQuery(); |
| 289 | 289 | patientsQuery1.setYn(YnEnums.YES.getId()); |
| 290 | 290 | patientsQuery1.setHospitalId(hospitalId); |
| 291 | - patientsQuery1.setNeed("1"); | |
| 292 | - patientsQuery1.setLimit(500); | |
| 293 | 291 | if(-1!=lastSyncTime){ |
| 294 | 292 | patientsQuery1.setGteModified(new Date(lastSyncTime)); |
| 295 | 293 | } |