Commit 69b7cda1f9159579eead30237704eada5cd20a73
1 parent
f3dc1f81f7
Exists in
master
and in
1 other branch
证件类型修改为孕妇的
Showing 1 changed file with 1 additions and 1 deletions
platform-biz-service/src/main/java/com/lyms/platform/permission/service/impl/CouponServiceImpl.java
View file @
69b7cda
... | ... | @@ -327,7 +327,7 @@ |
327 | 327 | restMap.put("vcCardNo", baby.getVcCardNo()); /** 就诊卡号 */ |
328 | 328 | // restMap.put("cardNo", baby.getCardNo()); /** 证件号 */ |
329 | 329 | restMap.put("cardNo", person.getCardNo()); /** 证件号 */ |
330 | - Patients patients = mongoTemplate.findOne(Query.query(Criteria.where("pid").is(userId)), Patients.class); | |
330 | + Patients patients = mongoTemplate.findOne(Query.query(Criteria.where("pid").is(baby.getParentId())), Patients.class); | |
331 | 331 | restMap.put("pcerteTypeId", patients.getPcerteTypeId()); /** 证件类型id */ |
332 | 332 | } else { |
333 | 333 | Patients patients = mongoTemplate.findOne(Query.query(Criteria.where("pid").is(userId)), Patients.class); |