/house/around 完善
This commit is contained in:
@@ -376,6 +376,12 @@ public class SeawaterDaoImpl extends com.fangjia.dal.SeawaterDaoImpl<Seawater> i
|
||||
if(source.containsKey("elevator")){
|
||||
seawater.setElevator(source.getString("elevator"));
|
||||
}
|
||||
if(source.containsKey("level")){
|
||||
seawater.setLevel(source.getString("level"));
|
||||
}
|
||||
if(source.containsKey("business_range")){
|
||||
seawater.setBusinessRange(source.getString("business_range"));
|
||||
}
|
||||
try {
|
||||
seawater.setDistance((int)jsonList.get(i).getJSONArray("sort").getDouble(0));
|
||||
}catch (Exception e){
|
||||
|
||||
@@ -84,6 +84,20 @@ public class Seawater implements SeawaterEntity {
|
||||
|
||||
private String location;
|
||||
|
||||
private String title;
|
||||
|
||||
// 商铺经营范围
|
||||
private String businessScope;
|
||||
private String businessRange;
|
||||
|
||||
//商铺类型
|
||||
private String shopType;
|
||||
|
||||
// 写字楼等级
|
||||
private String level;
|
||||
|
||||
|
||||
|
||||
@Id
|
||||
@Column(name = "_id")
|
||||
public String getId() {
|
||||
@@ -473,4 +487,46 @@ public class Seawater implements SeawaterEntity {
|
||||
public void setLocation(String location) {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getBusinessScope() {
|
||||
return businessScope;
|
||||
}
|
||||
|
||||
public void setBusinessScope(String businessScope) {
|
||||
this.businessScope = businessScope;
|
||||
}
|
||||
|
||||
public String getShopType() {
|
||||
return shopType;
|
||||
}
|
||||
|
||||
public void setShopType(String shopType) {
|
||||
this.shopType = shopType;
|
||||
}
|
||||
|
||||
@Column(name = "level")
|
||||
public String getLevel() {
|
||||
return level;
|
||||
}
|
||||
|
||||
public void setLevel(String level) {
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
@Column(name = "business_range")
|
||||
public String getBusinessRange() {
|
||||
return businessRange;
|
||||
}
|
||||
|
||||
public void setBusinessRange(String businessRange) {
|
||||
this.businessRange = businessRange;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user