Commit 369a8d1d79f298c4e0fae199303971f90e4bbe05

Authored by liquanyu
1 parent 839a4575c9

基层辅助建档接口

Showing 2 changed files with 11 additions and 0 deletions

platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/ArchiveDataServicer.java View file @ 369a8d1
... ... @@ -52,5 +52,9 @@
52 52 archiveDataDao.updatePatient(data, data.getId());
53 53 }
54 54 }
  55 +
  56 + public void update(ArchiveData data) {
  57 + archiveDataDao.updatePatient(data, data.getId());
  58 + }
55 59 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java View file @ 369a8d1
... ... @@ -148,6 +148,9 @@
148 148 private PatientServiceFacade patientServiceFacade;
149 149  
150 150 @Autowired
  151 + private ArchiveDataServicer archiveDataServicer;
  152 +
  153 + @Autowired
151 154 @Qualifier("commonThreadPool")
152 155 private ThreadPoolTaskExecutor commonThreadPool;
153 156  
... ... @@ -415,6 +418,10 @@
415 418 yunBookbuildingService.addFilePath(filePath);
416 419 }
417 420  
  421 + ArchiveData archiveData = new ArchiveData();
  422 + archiveData.setBuildDate(new Date());
  423 + archiveData.setId(tempP.getHospitalId() +":"+tempP.getCardNo());
  424 + archiveDataServicer.update(archiveData);
418 425  
419 426  
420 427 }