From 51a551a7f8eae7654f973d45cd2fa2952774673d Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Fri, 07 Aug 2026 10:56:55 +0800
Subject: [PATCH] perf(task): 优化巡查任务审核性能并添加详细日志记录
---
drone-service/drone-fw/src/main/java/org/sxkj/fw/record/entity/FwDroneFlightRecordEntity.java | 24 +++++++++++++++++++++---
1 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/drone-service/drone-fw/src/main/java/org/sxkj/fw/record/entity/FwDroneFlightRecordEntity.java b/drone-service/drone-fw/src/main/java/org/sxkj/fw/record/entity/FwDroneFlightRecordEntity.java
index f56a53a..c687990 100644
--- a/drone-service/drone-fw/src/main/java/org/sxkj/fw/record/entity/FwDroneFlightRecordEntity.java
+++ b/drone-service/drone-fw/src/main/java/org/sxkj/fw/record/entity/FwDroneFlightRecordEntity.java
@@ -17,6 +17,7 @@
package org.sxkj.fw.record.entity;
import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -41,37 +42,54 @@
/**
* 反无设备ID(关联ja_fw_device.id)
*/
+ @TableField("device_id")
@ApiModelProperty(value = "反无设备ID(关联ja_fw_device.id)")
private Long deviceId;
+
+ @TableField("area_divide_id")
+ @ApiModelProperty(value = "区域id ja_fw_area_divide")
+ private Long areaDivideId;
/**
* 无人机名称
*/
+ @TableField("drone_name")
@ApiModelProperty(value = "无人机名称")
private String droneName;
/**
* 序列号
*/
+ @TableField("serial_no")
@ApiModelProperty(value = "序列号")
private String serialNo;
/**
* 首次告警时间
*/
+ @TableField("alarm_time")
@ApiModelProperty(value = "首次告警时间")
private Date alarmTime;
/**
* 触发原因/类型
*/
+ @TableField("trigger_type")
@ApiModelProperty(value = "触发原因/类型")
private String triggerType;
/**
- * 停留时长(HH:MM:SS)
+ * 停留时长(秒)
*/
- @ApiModelProperty(value = "停留时长(HH:MM:SS)")
- private LocalTime stayDuration;
+ @TableField("stay_duration")
+ @ApiModelProperty(value = "停留时长(秒)")
+ private String stayDuration;
/**
* 区域编码
*/
+ @TableField("area_code")
@ApiModelProperty(value = "区域编码")
private String areaCode;
+ /**
+ * 区域名称
+ */
+ @TableField("area_name")
+ @ApiModelProperty(value = "区域名称")
+ private String areaName;
}
--
Gitblit v1.9.3