Commit 5794d436c0cb68c11ac3431492c9763dd67c5189
1 parent
3a4140da23
Exists in
master
and in
8 other branches
孕妇分娩后 变成产妇
Showing 1 changed file with 2 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java
View file @
5794d43
... | ... | @@ -77,6 +77,7 @@ |
77 | 77 | if (null != deliverAddRequest.getDueDate()) { |
78 | 78 | Date fmDate = DateUtil.parseYMD(deliverAddRequest.getDueDate()); |
79 | 79 | patients.get(0).setFmDate(fmDate); |
80 | + patients.get(0).setType(3); | |
80 | 81 | patientsService.updatePatient(patients.get(0)); |
81 | 82 | } |
82 | 83 | } |
... | ... | @@ -129,6 +130,7 @@ |
129 | 130 | List<Patients> patients = patientsService.queryPatient(patientsQuery); |
130 | 131 | if (CollectionUtils.isNotEmpty(patients)) { |
131 | 132 | patients.get(0).setFmDate(fmDate); |
133 | + patients.get(0).setType(3); | |
132 | 134 | patientsService.updatePatient(patients.get(0)); |
133 | 135 | } |
134 | 136 | } |
... | ... | @@ -138,9 +140,6 @@ |
138 | 140 | return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); |
139 | 141 | } |
140 | 142 | |
141 | - public void updateFmDate() { | |
142 | - | |
143 | - } | |
144 | 143 | |
145 | 144 | /** |
146 | 145 | * 查询分娩记录信息 |