From 24eef6fa26b6c3778ba1f1b04681d91f1084205c Mon Sep 17 00:00:00 2001
From: lty <1179749281@qq.com>
Date: Wed, 15 Sep 2021 09:27:59 +0800
Subject: [PATCH] 接口地址的列名与数据库不一致

---
 src/main/java/com/huaheng/pc/config/address/domain/Address.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/huaheng/pc/config/address/domain/Address.java b/src/main/java/com/huaheng/pc/config/address/domain/Address.java
index dd03ed1..0d56d1d 100644
--- a/src/main/java/com/huaheng/pc/config/address/domain/Address.java
+++ b/src/main/java/com/huaheng/pc/config/address/domain/Address.java
@@ -37,9 +37,9 @@ public class Address implements Serializable {
     /**
      * 区域
      */
-    @TableField(value = "area")
+    @TableField(value = "number")
     @ApiModelProperty(value="区域")
-    private Integer area;
+    private Integer number;
 
     /**
     @TableField(value = "param")
@@ -87,10 +87,10 @@ public class Address implements Serializable {
     }
 
     public Integer getArea() {
-        return area;
+        return number;
     }
 
     public void setArea(Integer area) {
-        this.area = area;
+        this.number = area;
     }
 }
\ No newline at end of file
--
libgit2 0.22.2