Commit 9e179c6e4677c34e54eb08110f20f4af40136952

Authored by wtt
1 parent eaae35b4c4

update

Showing 1 changed file with 3 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntExRecordFacade.java View file @ 9e179c6
... ... @@ -315,6 +315,8 @@
315 315 List<String> orgId = new ArrayList<>();
316 316 orgId.add(antExManagerQueryRequest.getCzhospitalId());
317 317 hospitalList.retainAll(orgId);
  318 + antExRecordQuery.setType(2);//查询初诊数据
  319 +
318 320 } else if (com.lyms.platform.common.utils.StringUtils.isNotEmpty(antExManagerQueryRequest.getCzprovinceId())&& (
319 321 StringUtils.isEmpty(antExManagerQueryRequest.gethId()) || StringUtils.isEmpty(antExManagerQueryRequest.getCprovinceId())
320 322 || StringUtils.isEmpty(antExManagerQueryRequest.getCcityId()) || StringUtils.isEmpty(antExManagerQueryRequest.getCareaId()) )) {
... ... @@ -337,6 +339,7 @@
337 339 }
338 340 }
339 341 hospitalList.retainAll(orgId);
  342 + antExRecordQuery.setType(2);//查询初诊数据
340 343 }
341 344 // 产检医院,初诊医院只能选择其中一个查询
342 345 antExRecordQuery.setHospitalList(hospitalList);
... ... @@ -375,7 +378,6 @@
375 378 }
376 379  
377 380 AntExRecordQuery antExRecordQuery = complayRequest(userId, antExManagerQueryRequest, isRegion, isPage);
378   - antExRecordQuery.setType(antExManagerQueryRequest.getType());//查询初诊数据
379 381 if (CollectionUtils.isNotEmpty(patientses)) {
380 382 List<String> parentIds = new LinkedList<>();
381 383 for (Patients pa : patientses) {