| | |
| | | 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 {
|
| | |
| | | []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),
|