From 1d28c69a351ae108f4116a10f19f615c89a660a2 Mon Sep 17 00:00:00 2001
From: admin <2780501319@qq.com>
Date: 星期四, 01 四月 2021 01:58:43 +0800
Subject: [PATCH] 首页数据修改

---
 src/main/java/com/yeshi/buwan/dao/recommend/FloatADDao.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/dao/recommend/FloatADDao.java b/src/main/java/com/yeshi/buwan/dao/recommend/FloatADDao.java
index 4b87b14..a5d9d0b 100644
--- a/src/main/java/com/yeshi/buwan/dao/recommend/FloatADDao.java
+++ b/src/main/java/com/yeshi/buwan/dao/recommend/FloatADDao.java
@@ -27,7 +27,7 @@
             criteria = Criteria.where("show").is(show);
 
         if (showTime != null) {
-            criteria = criteria.andOperator(Criteria.where("endShowTime").gt(showTime), Criteria.where("startShowTime").lte(showTime));
+            criteria = criteria.andOperator(Criteria.where("showEndTime").gt(showTime), Criteria.where("showStartTime").lte(showTime));
         }
 
         query.addCriteria(criteria);

--
Gitblit v1.8.0