From def7497d1fb46430053f103ba9e1ea1a8a06e25c Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期六, 08 二月 2025 18:47:52 +0800 Subject: [PATCH] 测试 场景分析 bug --- models/locationAnalysis.go | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/models/locationAnalysis.go b/models/locationAnalysis.go index 0b67dd5..ff46e91 100644 --- a/models/locationAnalysis.go +++ b/models/locationAnalysis.go @@ -189,6 +189,7 @@ document_number_list = []string{} for _, i := range labelFilter { document_number_list = append(document_number_list, i.Id) + document_number_list = append(document_number_list, i.Id) } } if len(m.KeyTypes) > 0 { @@ -344,8 +345,8 @@ filters = append(filters, map[string]interface{}{ "range": map[string]interface{}{ "picDate": map[string]interface{}{ - "gte": start.Format(time.RFC3339), - "lte": end.Format(time.RFC3339), + "gte": start.Format("2006-01-02 15:04:05"), + "lte": end.Format("2006-01-02 15:04:05"), }, }, }) -- Gitblit v1.8.0