Commit d5182941bfe743782addd0d7fae1347e49e7676e
1 parent
a2edaa1111
Exists in
master
and in
7 other branches
BUG
Showing 1 changed file with 5 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
d518294
| ... | ... | @@ -21,7 +21,6 @@ |
| 21 | 21 | import org.apache.commons.lang.StringUtils; |
| 22 | 22 | import org.apache.commons.lang.math.NumberUtils; |
| 23 | 23 | import org.springframework.beans.factory.annotation.Autowired; |
| 24 | -import org.springframework.beans.factory.annotation.Value; | |
| 25 | 24 | import org.springframework.data.domain.Sort; |
| 26 | 25 | import org.springframework.stereotype.Component; |
| 27 | 26 | |
| ... | ... | @@ -106,6 +105,11 @@ |
| 106 | 105 | patients.setBookbuildingDate(patients.getBookbuildingDate()); |
| 107 | 106 | patients.setVcCardNo(null); |
| 108 | 107 | patients.setFileCode(null); |
| 108 | + // 产后复查,设置自动分娩,这个字段其实是为了确定是否有对应的分娩记录,但是这种是没有分娩记录的 | |
| 109 | + if(type==3){ | |
| 110 | + patients.setIsAutoFm(YnEnums.YES.getId()); | |
| 111 | + } | |
| 112 | + // hujiaqi添加结束 | |
| 109 | 113 | patientsService.addPatient(patients); |
| 110 | 114 | return patients.getId(); |
| 111 | 115 | } |