Commit 4ad9a8094319fbba7e966054f9ae8fc38681a1af

Authored by jiangjiazhi
1 parent ef751dcc9b

修改电子病历

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ 4ad9a80
... ... @@ -1538,7 +1538,7 @@
1538 1538 setLashCTimes(antenatalExaminationModel.getParentId());
1539 1539  
1540 1540 updateLastRisk(antenatalExaminationModel.getParentId());
1541   - recordService.handExRecord(antenatalExaminationModel.getParentId());
  1541 + recordService.handExRecord(antenatalExaminationModel.getPid());
1542 1542 } else {
1543 1543 return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR).setErrormsg("当前产检记录不是本院最新的产检记录,不能删除");
1544 1544 }
... ... @@ -1559,7 +1559,7 @@
1559 1559 AntExChuModel antExChuModel1 = antenatalExaminationService.findOne(antExQueryRequest.getId());
1560 1560 setLashCTimes(antExChuModel1.getParentId());
1561 1561 updateLastRisk(antExChuModel1.getParentId());
1562   - recordService.handExRecord(antExChuModel1.getParentId());
  1562 + recordService.handExRecord(antExChuModel1.getPid());
1563 1563 } else {
1564 1564 return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR).setErrormsg("当前产检记录不是本院最新的产检记录,不能删除");
1565 1565 }