Commit 1bb039ad8f4b6d69fa7fd18a9b3922df72d9d60e

Authored by litao
1 parent ec91480911

bug修复

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 @ 1bb039a
... ... @@ -251,7 +251,7 @@
251 251 isChildbirth = true;
252 252 }
253 253  
254   - List<DischargeAbstractMotherModel> motherModels = mongoTemplate.find(Query.query(Criteria.where("patientId").is(patients.get(0).getPid())), DischargeAbstractMotherModel.class);
  254 + List<DischargeAbstractMotherModel> motherModels = mongoTemplate.find(Query.query(Criteria.where("patientId").is(patients.get(0).getId())), DischargeAbstractMotherModel.class);
255 255 if(CollectionUtils.isNotEmpty(motherModels)) {
256 256 isHospital = true;
257 257 }