Browse Source

Merge branch 'release_toaliyun_real' of https://git.malls.iformall.com/server/formallProject into release_toaliyun_real_202207

release_toaliyun_real
xhxu 3 years ago
parent
commit
f78a347521
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mallinkService/src/main/java/com/iformall/domain/po/WxCoupon.java

+ 2
- 1
mallinkService/src/main/java/com/iformall/domain/po/WxCoupon.java View File

@@ -444,9 +444,10 @@ public class WxCoupon extends TenantEntity {
if(this.getType().equals(EnumCouponType.COUPON_DOUYIN.getCode())){
return true;
}
if(isShare){
if(isShare && this.getSalePrice() > 0 && !this.checkIsCard()){
Date valid_date = getOuterRealValidDate(curr);
Date limit_date = DateUtils.getTimeAfterDays(Constant.WX_LIMIT_DAYS, curr);

if (valid_date.after(limit_date)) {
return false;
}


Loading…
Cancel
Save