diff --git a/platform-biz-service/src/main/java/com/lyms/platform/permission/service/impl/CouponServiceImpl.java b/platform-biz-service/src/main/java/com/lyms/platform/permission/service/impl/CouponServiceImpl.java index 7e210bf..a8a5418 100644 --- a/platform-biz-service/src/main/java/com/lyms/platform/permission/service/impl/CouponServiceImpl.java +++ b/platform-biz-service/src/main/java/com/lyms/platform/permission/service/impl/CouponServiceImpl.java @@ -740,7 +740,7 @@ public class CouponServiceImpl implements CouponService { BabyModel baby = mongoTemplate.findOne(Query.query(Criteria.where("pid").is(userId)), BabyModel.class); midDate = baby.getBirth(); } else { - Patients patient = mongoTemplate.findOne(Query.query(Criteria.where("pid").is(userId)).with(new Sort(Sort.Direction.DESC, "created")), Patients.class); + Patients patient = mongoTemplate.findOne(Query.query(Criteria.where("pid").is(userId).and("yn").is(1)).with(new Sort(Sort.Direction.DESC, "created")), Patients.class); if (personType == 1 || couponType == 4) { /** 孕妇根据末次月经对比 分娩券按照末次月经对比 */ midDate = patient.getLastMenses(); diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java index 3e36567..3a66de0 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java @@ -176,6 +176,8 @@ public class ReportServiceImpl extends BaseServiceImpl implements IReportService couponReportMap.put("10_8", "
血红蛋白检查券(八)
使用人次
"); couponReportMap.put("10_9", "
血红蛋白检查券(九)
使用人次
"); couponReportMap.put("10_10", "
血红蛋白检查券(十)
使用人次
"); + + couponReportMap.put("11_1", "
产筛券
使用人次
"); /** 产后 */ couponReportMap.put("3_1", "
产后建档券
使用人次
"); couponReportMap.put("4_1", "
分娩券
使用人次
");