From f6ca7bb43270474fa876ff6ba62c6b2113b045ad Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期五, 31 五月 2024 14:03:29 +0800
Subject: [PATCH] Optimize day and night algorithm, format date and time, batch process by date.

---
 EsClient.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/EsClient.go b/EsClient.go
index 5da48ae..c5b47f1 100644
--- a/EsClient.go
+++ b/EsClient.go
@@ -1056,7 +1056,7 @@
 	if !ok {
 		return nil, errors.New("first hits change error!")
 	}
-
+	//fmt.Println("鏈鍏卞尮閰嶆潯鏁颁负: ", out["hits"].(map[string]interface{})["total"].(float64))
 	documentAggregations := middle["group_by_documentnumber"].(map[string]interface{})
 	buckets := documentAggregations["buckets"].([]interface{})
 	if len(buckets) == 0 {

--
Gitblit v1.8.0