From 824fe3eb4115a65ae107a82d18738fec140a592b Mon Sep 17 00:00:00 2001 From: majintao Date: Sun, 27 Apr 2025 14:26:03 +0800 Subject: [PATCH] =?UTF-8?q?ApiInvokeStatistics=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fangjia/script/hubingliang/ApiInvokeStatistics.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/hubingliang/ApiInvokeStatistics.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/hubingliang/ApiInvokeStatistics.groovy index 5040d77a8..8a5ea5aaa 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/hubingliang/ApiInvokeStatistics.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/hubingliang/ApiInvokeStatistics.groovy @@ -43,7 +43,7 @@ class ApiInvokeStatistics extends BaseBatch{ def getYestodayLog(Date today,Date yestoday){ //Date today = getToday(); //Date yestoday = getNextDay(today) - BasicDBObject query= new BasicDBObject("c_date", new BasicDBObject('$gt',yestoday).append('$lt', today)) + BasicDBObject query= new BasicDBObject("c_date", new BasicDBObject('$gte',yestoday).append('$lt', today)) DBCursor dbc=OPEN_URI_LOG.find(query).batchSize(10000).addOption(Bytes.QUERYOPTION_NOTIMEOUT) def results = [:] int c = 0