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