From e4fc307d58856a0b319c41f0930cd3b731cb0b24 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 11 二月 2025 10:19:47 +0800 Subject: [PATCH] 修复规律分析bug --- models/accessRegularity.go | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/models/accessRegularity.go b/models/accessRegularity.go index 3c90fda..286734c 100644 --- a/models/accessRegularity.go +++ b/models/accessRegularity.go @@ -115,9 +115,9 @@ snapshot_count_summary WHERE last_appearance_time > ? - AND (p.community_id IN ? - OR p.org_id IN ?) - AND p.status IN ? + AND (community_id IN ? + OR org_id IN ?) + AND status IN ? `, startDate.Unix(), m.AreaIds, m.OrgIds, m.IdentityType).Scan(&baseFilter).Error if err != nil { logger.Warnf(err.Error()) -- Gitblit v1.8.0