From b50aa418312034cfebf121f416e197d68aa5d0de Mon Sep 17 00:00:00 2001
From: wuww <252740454@qq.com>
Date: 星期五, 25 四月 2025 13:46:16 +0800
Subject: [PATCH] 修改测试方法

---
 src/main/java/com/se/nsl/domain/po/Region.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/se/nsl/domain/po/Region.java b/src/main/java/com/se/nsl/domain/po/Region.java
index dce31cf..294ad2e 100644
--- a/src/main/java/com/se/nsl/domain/po/Region.java
+++ b/src/main/java/com/se/nsl/domain/po/Region.java
@@ -20,7 +20,7 @@
     private String name;
 
     @ApiModelProperty("绫诲埆锛�1-琛屾斂鍖哄垝锛�2-閲嶇偣鍖哄煙锛�3-閲嶇偣娌�")
-    private Short type;
+    private Integer type;
 
     @ApiModelProperty("绌洪棿浣嶇疆")
     @TableField(value = "st_astext(geom)", select = true)
@@ -29,9 +29,9 @@
     public Region() {
     }
 
-    public Region(String name, Short type, String geom) {
+    public Region(String name, int type, String geom) {
         this.name = name;
-        this.type = type;
+        this.type = Integer.valueOf(type);
         this.geom = geom;
     }
 
@@ -51,11 +51,11 @@
         this.name = name;
     }
 
-    public Short getType() {
+    public Integer getType() {
         return type;
     }
 
-    public void setType(Short type) {
+    public void setType(Integer type) {
         this.type = type;
     }
 

--
Gitblit v1.9.3