新增小区修改小区添加name_cat,防修改造成name_cat置
This commit is contained in:
+1
@@ -1265,6 +1265,7 @@ public class DistrictController {
|
|||||||
district.setAddrAlias(new ArrayList<String>(addrAlias));
|
district.setAddrAlias(new ArrayList<String>(addrAlias));
|
||||||
}
|
}
|
||||||
district.setStatus(0);
|
district.setStatus(0);
|
||||||
|
district.setNameCat(0);
|
||||||
district.setCategory("district");
|
district.setCategory("district");
|
||||||
district.setPublisherType(11);
|
district.setPublisherType(11);
|
||||||
district.setCreationDate(new Date());
|
district.setCreationDate(new Date());
|
||||||
|
|||||||
@@ -235,6 +235,8 @@ public class District implements SeaweedEntity {
|
|||||||
|
|
||||||
private String createYear;
|
private String createYear;
|
||||||
|
|
||||||
|
private Integer nameCat;
|
||||||
|
|
||||||
@Column(name = "source_web")
|
@Column(name = "source_web")
|
||||||
public String getSourceWeb() {
|
public String getSourceWeb() {
|
||||||
return sourceWeb;
|
return sourceWeb;
|
||||||
@@ -1880,8 +1882,12 @@ public class District implements SeaweedEntity {
|
|||||||
this.township = township;
|
this.township = township;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Column(name = "name_cat")
|
||||||
|
public Integer getNameCat() {
|
||||||
|
return nameCat;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNameCat(Integer nameCat) {
|
||||||
|
this.nameCat = nameCat;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user