From 0d0f52ca5428c87a6e2e5c0e542c2404735ba53c Mon Sep 17 00:00:00 2001 From: gaojuan Date: Fri, 8 Jul 2022 10:30:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E4=BC=98=E5=85=88=E5=8C=B9=E9=85=8D=E7=B1=BB=E5=9E=8B=EF=BC=8C?= =?UTF-8?q?=E5=90=8E=E6=9B=B4=E6=96=B0=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../script/thirdPriceCrawl/ThirdDataToGatherBatch.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/ThirdDataToGatherBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/ThirdDataToGatherBatch.groovy index 3c2bcde38..89e0e9483 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/ThirdDataToGatherBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/thirdPriceCrawl/ThirdDataToGatherBatch.groovy @@ -132,7 +132,7 @@ class ThirdDataToGatherBatch extends BaseBatch{ q.put("s_date", SHORT_DATE); def ret = [] try{ - def dbcursor = dataProcessColl.find(q).sort(new BasicDBObject("m_date", -1).append("type",1)) + def dbcursor = dataProcessColl.find(q).sort(new BasicDBObject("type",1).append("m_date", -1)) if(dbcursor){ for(def dbo : dbcursor){