Commit f46b034d2420795b9e6c002bb77d2e72abc20a63

Authored by liquanyu
1 parent 3c1bcd1173
Exists in master and in 1 other branch dev

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
... ... @@ -13,7 +13,7 @@
13 13 /**
14 14 * 孕前优生信息 实体类
15 15 *
16   - * @author: shuai-Bo
  16 + * @author: shuai-Bo le
17 17 * @Date: 2019/11/20 0020
18 18 * @Time: 9:40
19 19 */
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);