新增小区修改小区添加name_cat,防修改造成name_cat置
This commit is contained in:
+1
@@ -1265,6 +1265,7 @@ public class DistrictController {
|
||||
district.setAddrAlias(new ArrayList<String>(addrAlias));
|
||||
}
|
||||
district.setStatus(0);
|
||||
district.setNameCat(0);
|
||||
district.setCategory("district");
|
||||
district.setPublisherType(11);
|
||||
district.setCreationDate(new Date());
|
||||
|
||||
@@ -234,6 +234,8 @@ public class District implements SeaweedEntity {
|
||||
private String mainTypeArea;
|
||||
|
||||
private String createYear;
|
||||
|
||||
private Integer nameCat;
|
||||
|
||||
@Column(name = "source_web")
|
||||
public String getSourceWeb() {
|
||||
@@ -1879,9 +1881,13 @@ public class District implements SeaweedEntity {
|
||||
public void setTownship(String 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