From b8c0d48692f9ebef784d147abf5b9bd540e534cc Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期一, 10 二月 2025 09:34:44 +0800
Subject: [PATCH] 测试 场景分析 bug
---
models/locationAnalysis.go | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/models/locationAnalysis.go b/models/locationAnalysis.go
index 3a81f6c..fea0ec0 100644
--- a/models/locationAnalysis.go
+++ b/models/locationAnalysis.go
@@ -502,7 +502,7 @@
for _, floorBucket := range floorBuckets {
floor := floorBucket.(map[string]interface{})["key"].(string)
logger.Debugf("floor--------------------------------------- %s -----%s ", floor, floorBucket)
- appearCount := floorBucket.(map[string]interface{})["filter_floor"].(int)
+ appearCount := floorBucket.(map[string]interface{})["doc_count"].(int)
logger.Debugf("appearCount--------------------------------------- %s- --", appearCount)
// 鏋勫缓 LocationRecord 缁撴瀯浣�
var persons []string
@@ -512,7 +512,7 @@
}
}
- //logger.Debugf("floor--------------------------------------- %s-- %s --", floor, appearCount)
+ logger.Debugf("persons--------------------------------------- %s-- %s --", floor, persons)
record := &LocationRecord{
//PicDate: timestamp,
DocumentNumbers: persons,
--
Gitblit v1.8.0