房源列表添加字段

This commit is contained in:
2023-05-31 14:17:14 +08:00
parent 4d93228d9e
commit 7c29e5f2d1
3 changed files with 109 additions and 0 deletions
@@ -158,6 +158,13 @@
<th style="width:60px;">板块</th>
<th style="width:80px;">装修</th>
<th style="width:70px;">朝向</th>
<th style="width:20px;">梯</th>
<th style="width:20px;">户</th>
<th style="width:70px;">户型结构</th>
<th style="width:70px;">交易权属</th>
<th style="width:70px;">房权所属</th>
<#-- <th style="width:70px;">房屋年限</th>-->
<th style="width:70px;">配备电梯</th>
<th style="width:70px;">物业类型</th>
<th style="width:90px;">来源</th>
<th style="width:90px;">状态</th>
@@ -200,6 +207,13 @@
<td>${it.block!}</td>
<td>${it.fitment!}</td>
<td>${it.direction!}</td>
<td>${it.lift!}</td>
<td>${it.liftHousehold!}</td>
<td>${it.roomStructure!}</td>
<td>${it.tradeProperty!}</td>
<td>${it.propertyOwnership!}</td>
<#-- <td>${it.housingAge!}</td>-->
<td>${it.elevator!}</td>
<td>${it.estateType!}</td>
<td>
<#if it.url??>
@@ -347,6 +347,31 @@ public class SeawaterDaoImpl extends com.fangjia.dal.SeawaterDaoImpl<Seawater> i
if(source.containsKey("status")){
seawater.setStatus(source.getInt("status"));
}
if(source.containsKey("lift")){
seawater.setLift(source.getInt("lift"));
}
if(source.containsKey("lift_household")){
seawater.setLiftHousehold(source.getInt("lift_household"));
}
if(source.containsKey("room_structure")){
seawater.setRoomStructure(source.getString("room_structure"));
}
if(source.containsKey("trade_property")){
seawater.setTradeProperty(source.getString("trade_property"));
}
if(source.containsKey("property_ownership")){
seawater.setPropertyOwnership(source.getString("property_ownership"));
}
if(source.containsKey("housing_age")){
seawater.setHousingAge(source.getString("housing_age"));
}
if(source.containsKey("elevator")){
seawater.setElevator(source.getString("elevator"));
}
seawaterList.add(seawater);
}
return seawaterList;
@@ -62,6 +62,13 @@ public class Seawater implements SeawaterEntity {
private String purpose;
private String estateType;
private String buildType;
private Integer lift;
private Integer liftHousehold;
private String roomStructure;//户型结构
private String tradeProperty; //交易权属
private String propertyOwnership; //房权所属 非共有
private String housingAge; //房屋年限 满二年
private String elevator; //配备电梯 有/无
@Id
@Column(name = "_id")
@@ -325,4 +332,67 @@ public class Seawater implements SeawaterEntity {
public void setBuildType(String buildType) {
this.buildType = buildType;
}
@Column(name = "lift")
public Integer getLift() {
return lift;
}
public void setLift(Integer lift) {
this.lift = lift;
}
@Column(name = "lift_household")
public Integer getLiftHousehold() {
return liftHousehold;
}
public void setLiftHousehold(Integer liftHousehold) {
this.liftHousehold = liftHousehold;
}
@Column(name = "room_structure")
public String getRoomStructure() {
return roomStructure;
}
public void setRoomStructure(String roomStructure) {
this.roomStructure = roomStructure;
}
@Column(name = "trade_property")
public String getTradeProperty() {
return tradeProperty;
}
public void setTradeProperty(String tradeProperty) {
this.tradeProperty = tradeProperty;
}
@Column(name = "property_ownership")
public String getPropertyOwnership() {
return propertyOwnership;
}
public void setPropertyOwnership(String propertyOwnership) {
this.propertyOwnership = propertyOwnership;
}
@Column(name = "housing_age")
public String getHousingAge() {
return housingAge;
}
public void setHousingAge(String housingAge) {
this.housingAge = housingAge;
}
@Column(name = "elevator")
public String getElevator() {
return elevator;
}
public void setElevator(String elevator) {
this.elevator = elevator;
}
}