Commit 0a676eb609e118e1b2fb170a8626ebc8221c94f9

Authored by landong2015
1 parent e473989e75

update

Showing 1 changed file with 3 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PremaritalCheckupFacade.java View file @ 0a676eb
... ... @@ -98,7 +98,9 @@
98 98 query.setParentId(archiveModel.getId());
99 99 List<PremaritalCheckup> checkupList = premaritalCheckupService.queryPremaritalCheckup(query);
100 100 if (CollectionUtils.isNotEmpty(checkupList)) {
101   - result = checkupList.get(0);
  101 + if (result==null){
  102 + result = checkupList.get(0);
  103 + }
102 104 historyList = new ArrayList<>();
103 105 //历史婚检记录
104 106 for (PremaritalCheckup data : checkupList){