Browse Source

fix card

release_toaliyun_real
lin 3 years ago
parent
commit
bca4aae27e
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java

+ 4
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java View File

@@ -2529,6 +2529,10 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService {
return new ResultData(ErrorCode.COUPON_ORDER_IS_NULL.getCode(),"cardInfo未查询到");
}
if (EnumCardInfoStatus.STOP.getCode().intValue() == cardInfo.getStatus().intValue()) {
return new ResultData(ErrorCode.COUPON_ORDER_IS_NULL.getCode(),"卡已被停用");
}
//转赠人是否存在
Long cUserId = record.getCUserId();



Loading…
Cancel
Save