Commit 8e7496426f9435dc62a93d46bdcfe9615737e5bc

Authored by jiangjiazhi
1 parent 5d21678494

分娩作废产检劵

Showing 1 changed file with 3 additions and 6 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ 8e74964
... ... @@ -417,13 +417,9 @@
417 417  
418 418 setLashCTimes(antExChuModel.getParentId());
419 419  
420   - //初诊,修改产检管理
421   -// antenatalExaminationService.updateAntExRecord(antExChuModel.getId(), 1);
422   - /* if (StringUtils.isNotEmpty(antExChuModel.getPid())) {
423   - recordService.handExRecord(antExChuModel.getPid());
424   - }*/
425 420 antenatalExaminationService.updateAntExRecord(antExChuModel.getId(), 1);
426   -
  421 + //修改数据
  422 + syncMaster(excAddRequest.getParentId());
427 423 } else {
428 424 AntExChuQuery antExChuQuery1 = new AntExChuQuery();
429 425 antExChuQuery1.setParentId(excAddRequest.getParentId());
... ... @@ -483,6 +479,7 @@
483 479 setLashCTimes(antExChuModel.getParentId());
484 480  
485 481 antenatalExaminationService.updateAntExRecord(antExChuModel.getId(), 1);
  482 + syncMaster(excAddRequest.getParentId());
486 483 if (null != patients.getBuildType() && patients.getBuildType() == 3) {
487 484 Patients patients1 = new Patients();
488 485 patients1.setEnable("1");