Parcourir la source

领取优惠券列表修改

zhangchen il y a 4 mois
Parent
commit
c9345c399c

+ 1 - 1
alien-store/src/main/java/shop/alien/store/service/impl/LifeDiscountCouponServiceImpl.java

@@ -754,7 +754,7 @@ public class LifeDiscountCouponServiceImpl extends ServiceImpl<LifeDiscountCoupo
                 lifeDiscountCouponLambdaQueryWrapper.eq(LifeDiscountCoupon::getGetStatus, 1);
             } else if (!StringUtils.isEmpty(tab) && tab.equals("2")) {//已结束
                 //结束时间小于当前时间
-                lifeDiscountCouponLambdaQueryWrapper.lt(LifeDiscountCoupon::getEndDate, getPureDate(now));
+                lifeDiscountCouponLambdaQueryWrapper.lt(LifeDiscountCoupon::getEndGetDate, getPureDate(now));
 
                 //不要已暂停关闭领取的
                 lifeDiscountCouponLambdaQueryWrapper.eq(LifeDiscountCoupon::getGetStatus, 1);