From 4f4872af1eef1c14d95f04bffe2a4f2d2f7d835d Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Mon, 26 Jan 2026 16:33:43 +0800
Subject: [PATCH] 巡查任务优化

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

diff --git a/drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/entity/GdManageDeviceEntity.java b/drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/entity/GdManageDeviceEntity.java
index e300e8b..bb8393e 100644
--- a/drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/entity/GdManageDeviceEntity.java
+++ b/drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/entity/GdManageDeviceEntity.java
@@ -16,12 +16,14 @@
  */
 package org.sxkj.gd.workorder.entity;
 
+import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableName;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 import org.springblade.core.mp.base.BaseEntity;
+import org.sxkj.gd.config.GeometryTypeHandler;
 
 import java.math.BigDecimal;
 import java.util.Date;
@@ -33,7 +35,8 @@
  * @since 2026-01-14
  */
 @Data
-@TableName("ja_gd_manage_device")
+// @TableName("ja_gd_manage_device")
+@TableName(value = "ja_gd_manage_device",autoResultMap = true)
 @ApiModel(value = "设备信息表", description = "设备信息")
 @EqualsAndHashCode(callSuper = true)
 public class GdManageDeviceEntity extends BaseEntity {
@@ -104,5 +107,16 @@
 	@ApiModelProperty(value = "流量到期时间")
 	private Date trafficExpireTime;
 
+	/**
+	 * 5公里范围面数据
+	 */
+	@ApiModelProperty(value = "5公里范围面数据")
+ 	@TableField(typeHandler = GeometryTypeHandler.class)
+	private String geom;
+	/**
+	 * 设备位置
+	 */
+	@ApiModelProperty(value = "设备位置")
+	private String location;
 
 }

--
Gitblit v1.9.3