商铺房源字段修改
This commit is contained in:
@@ -380,6 +380,18 @@ public class SeawaterDaoImpl extends com.fangjia.dal.SeawaterDaoImpl<Seawater> i
|
||||
if (source.containsKey("business_range")) {
|
||||
seawater.setBusinessRange(source.getString("business_range"));
|
||||
}
|
||||
if (source.containsKey("day_rent_price")) {
|
||||
seawater.setDayUnitPrice(source.getDouble("day_rent_price"));
|
||||
}
|
||||
if (source.containsKey("pay_type")) {
|
||||
seawater.setPayType(source.getString("pay_type"));
|
||||
}
|
||||
if (source.containsKey("rent_type")) {
|
||||
seawater.setRentType(source.getString("rent_type"));
|
||||
}
|
||||
if (source.containsKey("business_status")) {
|
||||
seawater.setBusinessStatus(source.getString("business_status"));
|
||||
}
|
||||
try {
|
||||
seawater.setDistance((int) jsonList.get(i).getJSONArray("sort").getDouble(0));
|
||||
} catch (Exception e) {
|
||||
|
||||
@@ -96,6 +96,13 @@ public class Seawater implements SeawaterEntity {
|
||||
// 写字楼等级
|
||||
private String level;
|
||||
|
||||
private Double dayUnitPrice;
|
||||
|
||||
private String payType;
|
||||
|
||||
private String rentType;
|
||||
|
||||
private String businessStatus;
|
||||
|
||||
|
||||
@Id
|
||||
@@ -529,4 +536,40 @@ public class Seawater implements SeawaterEntity {
|
||||
public void setBusinessRange(String businessRange) {
|
||||
this.businessRange = businessRange;
|
||||
}
|
||||
|
||||
@Column(name = "day_rent_price")
|
||||
public Double getDayUnitPrice() {
|
||||
return dayUnitPrice;
|
||||
}
|
||||
|
||||
public void setDayUnitPrice(Double dayUnitPrice) {
|
||||
this.dayUnitPrice = dayUnitPrice;
|
||||
}
|
||||
|
||||
@Column(name = "pay_type")
|
||||
public String getPayType() {
|
||||
return payType;
|
||||
}
|
||||
|
||||
public void setPayType(String payType) {
|
||||
this.payType = payType;
|
||||
}
|
||||
|
||||
@Column(name = "rent_type")
|
||||
public String getRentType() {
|
||||
return rentType;
|
||||
}
|
||||
|
||||
public void setRentType(String rentType) {
|
||||
this.rentType = rentType;
|
||||
}
|
||||
|
||||
@Column(name = "business_status")
|
||||
public String getBusinessStatus() {
|
||||
return businessStatus;
|
||||
}
|
||||
|
||||
public void setBusinessStatus(String businessStatus) {
|
||||
this.businessStatus = businessStatus;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user