Commit f46b034d2420795b9e6c002bb77d2e72abc20a63
1 parent
3c1bcd1173
Exists in
master
and in
1 other branch
update
Showing 3 changed files with 9 additions and 8 deletions
platform-biz-service/src/main/java/com/lyms/platform/permission/service/impl/CouponServiceImpl.java
View file @
f46b034
... | ... | @@ -505,13 +505,13 @@ |
505 | 505 | return RespBuilder.buildErro(ResponseCode.COUPON_AREA_NO_USE, patientsInfo); |
506 | 506 | } |
507 | 507 | |
508 | - //验证优惠劵是否临时使用了 该功能属于秦皇岛区域 | |
509 | - if (couponInfo.getTempStatus() != null && couponInfo.getTempStatus() == 1) { | |
510 | - //验证临时使用的医院是不是当前登陆的医院 | |
511 | - if (StringUtils.isNotEmpty(couponInfo.getTempHospitalId()) && !couponInfo.getTempHospitalId().equals(hospitalId)) { | |
512 | - return RespBuilder.buildErro(ResponseCode.COUPON_IS_USED); | |
513 | - } | |
514 | - } | |
508 | +// //验证优惠劵是否临时使用了 该功能属于秦皇岛区域 | |
509 | +// if (couponInfo.getTempStatus() != null && couponInfo.getTempStatus() == 1) { | |
510 | +// //验证临时使用的医院是不是当前登陆的医院 | |
511 | +// if (StringUtils.isNotEmpty(couponInfo.getTempHospitalId()) && !couponInfo.getTempHospitalId().equals(hospitalId)) { | |
512 | +// return RespBuilder.buildErro(ResponseCode.COUPON_IS_USED); | |
513 | +// } | |
514 | +// } | |
515 | 515 | |
516 | 516 | |
517 | 517 | return RespBuilder.buildSuccess(patientsInfo); |
platform-dal/src/main/java/com/lyms/platform/pojo/PreEugenicsBaseModel.java
View file @
f46b034
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PreEugebicsServiceImpl.java
View file @
f46b034
... | ... | @@ -210,6 +210,7 @@ |
210 | 210 | public BaseResponse add(PreEugenicsBaseRequest param, Integer userId) { |
211 | 211 | String hospitalId = autoMatchFacade.getHospitalId(userId); |
212 | 212 | PreEugenicsBaseModel model = param; |
213 | + model.setSendCountry(0); | |
213 | 214 | model.setHospitalId(hospitalId); |
214 | 215 | model.setCreated(new Date()); |
215 | 216 | mongoTemplate.insert(model); |