zhaoqingang
2025-02-10 b8c0d48692f9ebef784d147abf5b9bd540e534cc
测试 场景分析 bug
1个文件已修改
4 ■■■■ 已修改文件
models/locationAnalysis.go 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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,