Commit e473989e755b6efcdff412dfa50f2bb6222e3359

Authored by landong2015
1 parent 43a22d480c

update

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PremaritalCheckupFacade.java View file @ e473989
... ... @@ -99,6 +99,7 @@
99 99 List<PremaritalCheckup> checkupList = premaritalCheckupService.queryPremaritalCheckup(query);
100 100 if (CollectionUtils.isNotEmpty(checkupList)) {
101 101 result = checkupList.get(0);
  102 + historyList = new ArrayList<>();
102 103 //历史婚检记录
103 104 for (PremaritalCheckup data : checkupList){
104 105 PremaritalCheckupHistoryResult historyResult = new PremaritalCheckupHistoryResult();
... ... @@ -109,7 +110,6 @@
109 110 historyResult.setPremaritalUpHospital(org.getName());
110 111 historyResult.setHospitalId(data.getHospitalId());
111 112 }
112   - historyList = new ArrayList<>();
113 113 historyList.add(historyResult);
114 114 }
115 115 }