Przeglądaj źródła

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

release_toaliyun_real
xhxu 3 lat temu
rodzic
commit
f78a347521
1 zmienionych plików z 2 dodań i 1 usunięć
  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 Wyświetl plik

@@ -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;
}


Ładowanie…
Anuluj
Zapisz