qixiaoning
2025-09-04 87b55a899bc1b4bc7d5a0f8d6ad1a1ede233ebd1
camera-common/models/Record.go
@@ -250,6 +250,11 @@
            if len(VideoPointIdColumn) > 0 {
               record.VideoPointId = VideoPointIdColumn[i]
            }
         case "video_point_name":
            VideoPointColumn := field.(*entity.ColumnVarChar).Data()
            if len(VideoPointColumn) > 0 {
               record.CameraName = VideoPointColumn[i]
            }
         case "detect_id":
            DetectIdColumn := field.(*entity.ColumnInt64Array).Data()
            if len(DetectIdColumn) > 0 {
@@ -347,7 +352,7 @@
      []string{}, // 所有分区
      filterExpr,
      []string{"rule_id", "task_id", "is_waning", "zh_desc_class", "task_name", "event_level_name", "detect_num",
         "event_level_id", "video_point_id", "detect_id", "image_path",
         "event_level_id", "video_point_id", "video_point_name", "detect_id", "image_path",
         "video_path", "detect_time", "knowledge_id", "risk_description", "suggestion", "id", "is_desc"}, // 返回所有字段
      // client.WithLimit(pageSize),
      // client.WithOffset(offset),