zhangzengfei
2025-02-11 c0639a991a40b2aa41f9a0081511aa51940afe2a
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())