From f67945d53b20f6a45ae50b27d74c966eb1355bb4 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期日, 16 十一月 2025 22:53:54 +0800
Subject: [PATCH] feat: 增加分段GPS计算行程距离
---
ruoyi-system/src/main/java/com/ruoyi/system/domain/SysTaskAttachment.java | 61 ++++++++++++++++++++++++++++++
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysTaskAttachment.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysTaskAttachment.java
index 6dd5bff..8926496 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysTaskAttachment.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysTaskAttachment.java
@@ -2,8 +2,10 @@
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
+import org.springframework.beans.factory.annotation.Value;
/**
* 浠诲姟闄勪欢瀵硅薄 sys_task_attachment
@@ -37,6 +39,11 @@
@Excel(name = "鏂囦欢绫诲瀷")
private String fileType;
+
+ /** 闄勪欢鍒嗙被 */
+ @Excel(name = "闄勪欢鍒嗙被")
+ private String attachmentCategory;
+
/** 涓婁紶鏃堕棿 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "涓婁紶鏃堕棿", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
@@ -45,6 +52,19 @@
/** 涓婁紶鑰� */
@Excel(name = "涓婁紶鑰�")
private String uploadBy;
+
+ /** 鏄惁宸插悓姝ュ埌ImageData (0-鏈悓姝� 1-宸插悓姝�) */
+ private Integer syncedToImageData;
+
+ /** 鍚屾鏃堕棿 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date syncTime;
+
+ /** 鍏宠仈鐨処mageData ID */
+ private Long imageDataId;
+
+ /** 瀹屾暣鏂囦欢URL锛堜笉瀛樺偍锛岀敤浜庤繑鍥炵粰鍓嶇锛� */
+ private String fileUrl;
public void setAttachmentId(Long attachmentId) {
this.attachmentId = attachmentId;
@@ -94,6 +114,14 @@
return fileType;
}
+ public void setAttachmentCategory(String attachmentCategory) {
+ this.attachmentCategory = attachmentCategory;
+ }
+
+ public String getAttachmentCategory() {
+ return attachmentCategory;
+ }
+
public void setUploadTime(Date uploadTime) {
this.uploadTime = uploadTime;
}
@@ -109,6 +137,38 @@
public String getUploadBy() {
return uploadBy;
}
+
+ public void setFileUrl(String fileUrl) {
+ this.fileUrl = fileUrl;
+ }
+
+ public String getFileUrl() {
+ return fileUrl;
+ }
+
+ public void setSyncedToImageData(Integer syncedToImageData) {
+ this.syncedToImageData = syncedToImageData;
+ }
+
+ public Integer getSyncedToImageData() {
+ return syncedToImageData;
+ }
+
+ public void setSyncTime(Date syncTime) {
+ this.syncTime = syncTime;
+ }
+
+ public Date getSyncTime() {
+ return syncTime;
+ }
+
+ public void setImageDataId(Long imageDataId) {
+ this.imageDataId = imageDataId;
+ }
+
+ public Long getImageDataId() {
+ return imageDataId;
+ }
@Override
public String toString() {
@@ -119,6 +179,7 @@
", filePath='" + filePath + '\'' +
", fileSize=" + fileSize +
", fileType='" + fileType + '\'' +
+ ", attachmentCategory='" + attachmentCategory + '\'' +
", uploadTime=" + uploadTime +
", uploadBy='" + uploadBy + '\'' +
'}';
--
Gitblit v1.9.1