Commit e68e4fa598e3d85c2514175a0f27067358ec2628
Exists in
master
and in
8 other branches
Merge remote-tracking branch 'origin/master'
Showing 1 changed file
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/AntExRecordService.java
View file @
e68e4fa
... | ... | @@ -109,9 +109,9 @@ |
109 | 109 | Patients patients = patientsService.findOnePatientById(antEx.getParentId()); |
110 | 110 | if (null != patients) { |
111 | 111 | if (patients.getType() == 1) { |
112 | - antExRecordModel.setStatus(1); | |
113 | - }else{ | |
114 | 112 | antExRecordModel.setStatus(2); |
113 | + }else{ | |
114 | + antExRecordModel.setStatus(1); | |
115 | 115 | } |
116 | 116 | antExRecordModel.setBrith(patients.getBirth()); |
117 | 117 | antExRecordModel.setBuildTime(patients.getBookbuildingDate()); |
118 | 118 | |
... | ... | @@ -138,9 +138,9 @@ |
138 | 138 | Patients patients = patientsService.findOnePatientById(antExChuModel.getParentId()); |
139 | 139 | if (null != patients) { |
140 | 140 | if (patients.getType() == 1) { |
141 | - antExRecordModel.setStatus(1); | |
142 | - }else{ | |
143 | 141 | antExRecordModel.setStatus(2); |
142 | + }else{ | |
143 | + antExRecordModel.setStatus(1); | |
144 | 144 | } |
145 | 145 | antExRecordModel.setLastMenses(patients.getLastMenses()); |
146 | 146 | antExRecordModel.setBuildTime(patients.getBookbuildingDate()); |