models/accessRegularity.go
@@ -110,14 +110,14 @@ SELECT document_number, frequent_address, community_id, community_id FROM 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())