From e068c9acf06cff7673fadfca686128f6d6d66e20 Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期一, 12 八月 2019 11:12:57 +0800
Subject: [PATCH] Merge branch 'div' of ssh://193.112.35.168:29418/fanli-server into div

---
 fanli/src/main/java/com/yeshi/fanli/dao/taobao/TaoBaoGoodsUpdateDao.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/taobao/TaoBaoGoodsUpdateDao.java b/fanli/src/main/java/com/yeshi/fanli/dao/taobao/TaoBaoGoodsUpdateDao.java
index 214fa9f..cc552f4 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/taobao/TaoBaoGoodsUpdateDao.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/taobao/TaoBaoGoodsUpdateDao.java
@@ -70,7 +70,8 @@
 		BasicDBObject fieldsObject = new BasicDBObject();
 		fieldsObject.put("auctionId", 1);
 		Query query = new Query();
-		Criteria ca = Criteria.where("updatetime").lt(date);
+		// 鏃跺尯闂锛岄渶鍔�8灏忔椂
+		Criteria ca = Criteria.where("updatetime").lt(new Date(date.getTime() + 1000 * 60 * 60 * 8L));
 		query.skip(start);
 		query.limit(count);
 		query.addCriteria(ca);

--
Gitblit v1.8.0