Commit 49be5d36d7da8a57f361e0d7ca0abed852ed3852
1 parent
71596c97b6
Exists in
master
and in
8 other branches
增加统计
Showing 1 changed file with 4 additions and 4 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/AntExRecordService.java
View file @
49be5d3
... | ... | @@ -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()); |