Commit c8cecb890bf908a7e065074722378e2beab5103d

Authored by cfl
1 parent 25b3682985
Exists in master and in 2 other branches dev, luanping

处理历史电子病例显示重复问题

Showing 1 changed file with 6 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ c8cecb8
... ... @@ -2382,8 +2382,13 @@
2382 2382 Organization organization = null;
2383 2383 String patientId = "";
2384 2384 while (iterator.hasNext()) {
2385   - List listData = new ArrayList();
  2385 +
2386 2386 Patients patients = iterator.next();
  2387 + //如果是隐藏档案,只循环非隐藏档案 cfl
  2388 + if ("2".equals(patients.getEnable())) {
  2389 + continue;
  2390 + }
  2391 + List listData = new ArrayList();
2387 2392 Patients patients2 = null;
2388 2393 //获取产程ID
2389 2394 patientId = patients.getId();