zhangchen 1 неделя назад
Родитель
Сommit
f0cc1b2a2b

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

@@ -3081,7 +3081,8 @@ public class StoreInfoServiceImpl extends ServiceImpl<StoreInfoMapper, StoreInfo
         calendar.set(Calendar.MILLISECOND, 0);
         // 加上 30 天
         calendar.add(Calendar.DAY_OF_MONTH, 30);
-        queryWrapper.lt("a.expiration_time", currentDate);
+        queryWrapper.gt("a.expiration_time", currentDate);
+        queryWrapper.eq("a.business_status", 0);
 
         // 构建一级分类
         if(StringUtils.isNotEmpty(businessSection)){