From eb3dd00b0b7fcda477229d518d250f9c842b790b Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 21 十月 2025 17:45:44 +0800
Subject: [PATCH] 2025.10.21 1. 走航季度报告相关数据计算逻辑调整
---
src/main/kotlin/com/flightfeather/uav/domain/entity/GridCell.java | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 49 insertions(+), 0 deletions(-)
diff --git a/src/main/kotlin/com/flightfeather/uav/domain/entity/GridCell.java b/src/main/kotlin/com/flightfeather/uav/domain/entity/GridCell.java
index b55bf51..4ed0692 100644
--- a/src/main/kotlin/com/flightfeather/uav/domain/entity/GridCell.java
+++ b/src/main/kotlin/com/flightfeather/uav/domain/entity/GridCell.java
@@ -6,13 +6,26 @@
@Table(name = "grid_cell")
public class GridCell {
@Id
+ @GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
+
+ /**
+ * 缃戞牸绱㈠紩
+ */
+ @Column(name = "cell_index")
+ private Integer cellIndex;
/**
* 鎵�灞炵綉鏍煎垎缁刬d
*/
@Column(name = "group_id")
private Integer groupId;
+
+ /**
+ * 鎵�灞炰笂绾х綉鏍肩殑绱㈠紩id,濡傛灉娌℃湁鍒欎负null
+ */
+ @Column(name = "father_cell_index")
+ private Integer fatherCellIndex;
/**
* 缁忓害
@@ -87,6 +100,24 @@
}
/**
+ * 鑾峰彇缃戞牸绱㈠紩
+ *
+ * @return cell_index - 缃戞牸绱㈠紩
+ */
+ public Integer getCellIndex() {
+ return cellIndex;
+ }
+
+ /**
+ * 璁剧疆缃戞牸绱㈠紩
+ *
+ * @param cellIndex 缃戞牸绱㈠紩
+ */
+ public void setCellIndex(Integer cellIndex) {
+ this.cellIndex = cellIndex;
+ }
+
+ /**
* 鑾峰彇鎵�灞炵綉鏍煎垎缁刬d
*
* @return group_id - 鎵�灞炵綉鏍煎垎缁刬d
@@ -105,6 +136,24 @@
}
/**
+ * 鑾峰彇鎵�灞炰笂绾х綉鏍肩殑绱㈠紩id,濡傛灉娌℃湁鍒欎负null
+ *
+ * @return father_cell_index - 鎵�灞炰笂绾х綉鏍肩殑绱㈠紩id,濡傛灉娌℃湁鍒欎负null
+ */
+ public Integer getFatherCellIndex() {
+ return fatherCellIndex;
+ }
+
+ /**
+ * 璁剧疆鎵�灞炰笂绾х綉鏍肩殑绱㈠紩id,濡傛灉娌℃湁鍒欎负null
+ *
+ * @param fatherCellIndex 鎵�灞炰笂绾х綉鏍肩殑绱㈠紩id,濡傛灉娌℃湁鍒欎负null
+ */
+ public void setFatherCellIndex(Integer fatherCellIndex) {
+ this.fatherCellIndex = fatherCellIndex;
+ }
+
+ /**
* 鑾峰彇缁忓害
*
* @return longitude - 缁忓害
--
Gitblit v1.9.3