From ad935c07a6cabf05fed9c615c7bd4f67f6d65293 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Thu, 04 Jun 2026 23:37:33 +0800
Subject: [PATCH] feat(common): 添加通用列表类型处理器支持数据库存储

---
 drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/entity/GdTaskResultEntity.java |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/entity/GdTaskResultEntity.java b/drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/entity/GdTaskResultEntity.java
index 4f592e7..053dfb5 100644
--- a/drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/entity/GdTaskResultEntity.java
+++ b/drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/entity/GdTaskResultEntity.java
@@ -32,9 +32,8 @@
  * @since 2026-01-14
  */
 @Data
-@TableName("ja_gd_task_result")
-@ApiModel(value = "GdTaskResult对象", description = "成果表")
-@EqualsAndHashCode(callSuper = true)
+@TableName(value = "ja_gd_task_result", autoResultMap = true) // 必须开启 autoResultMap
+ @EqualsAndHashCode(callSuper = true)
 public class GdTaskResultEntity extends BaseEntity {
 
 	/**
@@ -73,14 +72,25 @@
 	@ApiModelProperty(value = "纬度")
 	private Double latitude;
 	/**
-	 * 分发事件状态:0未分发、1已分发、2已驳回
+	 * 分发事件状态:0未分发、1已分发、2已驳回、3已确认
 	 */
-	@ApiModelProperty(value = "分发事件状态:0未分发、1已分发、2已驳回")
+	@ApiModelProperty(value = "分发事件状态:0未分发、1已分发、2已驳回、3已确认")
 	private Integer distributeStatus;
 	/**
 	 * 区域编码
 	 */
 	@ApiModelProperty(value = "区域编码")
 	private String areaCode;
+	/**
+	 * 附件类型:1媒体文件; 2ai文件; 3主视频;
+	 */
+	@ApiModelProperty(value = "附件类型:1媒体文件; 2ai文件; 3主视频;")
+	private Integer attachmentType;
+
+	/**
+	 * GeoJSON格式数据
+	 */
+	@ApiModelProperty(value = "GeoJSON格式数据")
+	private String geojson;
 
 }

--
Gitblit v1.9.3