Commit c5ce74ae20f6caf748e4c4139962667db5db0558
1 parent
6206c04437
Exists in
master
and in
6 other branches
1
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/TrackDownFacade.java
View file @
c5ce74a
... | ... | @@ -318,7 +318,7 @@ |
318 | 318 | temp.put("cardNo", downRecord.getCardNo()); |
319 | 319 | temp.put("residenceAddress", CommonsHelper.getFullAddress(downRecord.getProvinceRegisterId(), downRecord.getCityRegisterId(), downRecord.getAreaRegisterId(), downRecord.getAddressRegister(), basicConfigService)); /** 居住地 */ |
320 | 320 | temp.put("phone", StringUtils.encryPhone(downRecord.getPhone())); |
321 | - TrackDown trackDown = mongoTemplate.findOne(Query.query(Criteria.where("parentId").is(downRecord.getParentId()).and("yn").is(1)).with(new Sort(Sort.Direction.DESC, "created")), TrackDown.class); | |
321 | + TrackDown trackDown = mongoTemplate.findOne(Query.query(Criteria.where("parentId").is(downRecord.getParentId()).and("yn").is(1).and("trackDownType").is(downRecord.getTrackType())).with(new Sort(Sort.Direction.DESC, "created")), TrackDown.class); | |
322 | 322 | temp.put("age", DateUtil.getAge(downRecord.getBirth())); |
323 | 323 | // 婚检追访结果 |
324 | 324 | temp.put("result", trackDown == null ? "--" : trackDown.getResult()); |