Commit db2485f1689cf0be7c5930e99dfdf4bf05a309b3
1 parent
b639112e91
Exists in
master
and in
6 other branches
快速测量
Showing 1 changed file with 4 additions and 15 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MeasureInfoFacade.java
View file @
db2485f
... | ... | @@ -166,12 +166,6 @@ |
166 | 166 | query.setNeed("true"); |
167 | 167 | query.setSort(" created desc "); |
168 | 168 | List<MeasureUserInfoModel> models = mysqlMeasureUserInfoService.queryMeasureUserInfoList(query); |
169 | - | |
170 | - PatientsQuery patientsQuery = new PatientsQuery(); | |
171 | - patientsQuery.setPcerteTypeId(certType); | |
172 | - patientsQuery.setCardNo(certNo); | |
173 | - List<Patients> patientsList = patientsService.queryPatient1(patientsQuery, "created"); | |
174 | - | |
175 | 169 | if (CollectionUtils.isNotEmpty(models)) |
176 | 170 | { |
177 | 171 | MeasureUserInfoModel userInfoModel = models.get(0); |
... | ... | @@ -192,6 +186,10 @@ |
192 | 186 | } |
193 | 187 | else |
194 | 188 | { |
189 | + PatientsQuery patientsQuery = new PatientsQuery(); | |
190 | + patientsQuery.setPcerteTypeId(certType); | |
191 | + patientsQuery.setCardNo(certNo); | |
192 | + List<Patients> patientsList = patientsService.queryPatient(patientsQuery); | |
195 | 193 | if (CollectionUtils.isNotEmpty(patientsList)) |
196 | 194 | { |
197 | 195 | Patients patients = patientsList.get(0); |
... | ... | @@ -217,15 +215,6 @@ |
217 | 215 | result = getPatientZyInfo(" and ZJH='"+certNo+"'",certType,hospitalId); |
218 | 216 | } |
219 | 217 | } |
220 | - } | |
221 | - | |
222 | - if (CollectionUtils.isNotEmpty(patientsList)) { | |
223 | - Patients patients = patientsList.get(0); | |
224 | - result.setPatientId(patients.getId()); | |
225 | - } | |
226 | - else | |
227 | - { | |
228 | - result.setPatientId(""); | |
229 | 218 | } |
230 | 219 | |
231 | 220 |