فهرست منبع

refactor(national-motion-system): 修改 AppSite 经纬度字段类型

- 将原有的单一 latitude 字段拆分为 longitude(经度)和 latitude(纬度)两个字段
- 将字段类型从 String 改为 BigDecimal,以提高精度和处理能力
lix 2 هفته پیش
والد
کامیت
cf15d7bec5

+ 8 - 4
national-motion-module-system/national-motion-system-biz/src/main/java/org/jeecg/modules/system/app/entity/AppSite.java

@@ -53,10 +53,14 @@ public class AppSite implements Serializable {
 	@Excel(name = "地址", width = 15)
     @Schema(description = "地址")
     private String address;
-	/**经纬度*/
-	@Excel(name = "经纬度", width = 15)
-    @Schema(description = "经纬度")
-    private String latitude;
+	/**经度*/
+	@Excel(name = "经度", width = 15)
+    @Schema(description = "经度")
+    private BigDecimal longitude;
+	/**纬度*/
+	@Excel(name = "纬度", width = 15)
+    @Schema(description = "纬度")
+    private BigDecimal latitude;
 	/**类型;0学校 1包场 2不固定场*/
 	@Excel(name = "类型;0学校 1包场 2不固定场", width = 15)
     @Schema(description = "类型;0学校 1包场 2不固定场")