瀏覽代碼

推荐图片为空修复

zhangchen 1 周之前
父節點
當前提交
7eae5ebd35
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      alien-store/src/main/java/shop/alien/store/service/impl/StoreInfoServiceImpl.java

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

@@ -2976,6 +2976,7 @@ 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);
 
         // 构建一级分类
         if(StringUtils.isNotEmpty(businessSection)){