Commit 99dec23eed511865c8a71d8eefd901d5a27e0143

Authored by liquanyu
1 parent 346abd0e8a

复诊优化

Showing 1 changed file with 5 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ 99dec23
... ... @@ -346,6 +346,8 @@
346 346  
347 347 antenatalExaminationService.addOneBabyAnt(model);
348 348  
  349 + final String antId = model.getId();
  350 +
349 351 commonThreadPool.execute(new Runnable() {
350 352 @Override
351 353 public void run() {
352 354  
... ... @@ -376,11 +378,12 @@
376 378 //修改数据
377 379 syncMaster(antExAddRequest.getParentId(), antExAddRequest.getNextCheckTime());
378 380  
  381 + //复诊,修改产检管理
  382 + antenatalExaminationService.updateAntExRecord(antId, 2);
379 383 }
380 384 });
381 385  
382   - //复诊,修改产检管理
383   - antenatalExaminationService.updateAntExRecord(model.getId(), 2);
  386 +
384 387  
385 388 operateLogFacade.addAddOptLog(userId, Integer.parseInt(hospitalId), model, OptActionEnums.ADD.getId(), "添加复诊");
386 389