Commit e62a56e9c8418314641e9b2f34d2ed73857cb0dd

Authored by litao@lymsh.com
1 parent 3d42f1646e

写bug

Showing 1 changed file with 6 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java View file @ e62a56e
... ... @@ -900,6 +900,12 @@
900 900  
901 901 Patients beforePatient = yunBookbuildingService.findOneById(id);
902 902  
  903 + /** 末次月经和纠正末次月经反起来存 */
  904 + if(yunRequest.getFuckLastMens() != null) {
  905 + patient.setLastMenses(DateUtil.parseYMD(yunRequest.getFuckLastMens()));
  906 + patient.setFuckLastMens(DateUtil.parseYMD(yunRequest.getLastMenstrualPeriod()));
  907 + }
  908 +
903 909 yunBookbuildingService.updatePregnant(patient, id);
904 910  
905 911 operateLogFacade.addModifyOptLog(userId, Integer.valueOf(beforePatient.getHospitalId()), beforePatient, patient, OptActionEnums.UPDATE.getId(), "孕妇建档修改");