Commit 24eef6fa26b6c3778ba1f1b04681d91f1084205c
1 parent
12b0c522
接口地址的列名与数据库不一致
Showing
1 changed file
with
4 additions
and
4 deletions
src/main/java/com/huaheng/pc/config/address/domain/Address.java
... | ... | @@ -37,9 +37,9 @@ public class Address implements Serializable { |
37 | 37 | /** |
38 | 38 | * 区域 |
39 | 39 | */ |
40 | - @TableField(value = "area") | |
40 | + @TableField(value = "number") | |
41 | 41 | @ApiModelProperty(value="区域") |
42 | - private Integer area; | |
42 | + private Integer number; | |
43 | 43 | |
44 | 44 | /** |
45 | 45 | @TableField(value = "param") |
... | ... | @@ -87,10 +87,10 @@ public class Address implements Serializable { |
87 | 87 | } |
88 | 88 | |
89 | 89 | public Integer getArea() { |
90 | - return area; | |
90 | + return number; | |
91 | 91 | } |
92 | 92 | |
93 | 93 | public void setArea(Integer area) { |
94 | - this.area = area; | |
94 | + this.number = area; | |
95 | 95 | } |
96 | 96 | } |
97 | 97 | \ No newline at end of file |
... | ... |