@@ -102,6 +102,7 @@ public class PaiMai implements MongoEntity {
|
||||
private String houseNum;
|
||||
private String unitNum;
|
||||
private String roomNum;
|
||||
private String estateType;
|
||||
|
||||
@Id
|
||||
@GeneratedValue
|
||||
@@ -492,6 +493,7 @@ public class PaiMai implements MongoEntity {
|
||||
this.matchEstateType = matchEstateType;
|
||||
}
|
||||
|
||||
@Column(name = "houseNum")
|
||||
public String getHouseNum() {
|
||||
return houseNum;
|
||||
}
|
||||
@@ -500,6 +502,7 @@ public class PaiMai implements MongoEntity {
|
||||
this.houseNum = houseNum;
|
||||
}
|
||||
|
||||
@Column(name = "unitNum")
|
||||
public String getUnitNum() {
|
||||
return unitNum;
|
||||
}
|
||||
@@ -508,6 +511,7 @@ public class PaiMai implements MongoEntity {
|
||||
this.unitNum = unitNum;
|
||||
}
|
||||
|
||||
@Column(name = "roomNum")
|
||||
public String getRoomNum() {
|
||||
return roomNum;
|
||||
}
|
||||
@@ -515,4 +519,13 @@ public class PaiMai implements MongoEntity {
|
||||
public void setRoomNum(String roomNum) {
|
||||
this.roomNum = roomNum;
|
||||
}
|
||||
|
||||
@Column(name = "estateType")
|
||||
public String getEstateType() {
|
||||
return estateType;
|
||||
}
|
||||
|
||||
public void setEstateType(String estateType) {
|
||||
this.estateType = estateType;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ public class AuctionController {
|
||||
private PaiMaiService paiMaiService;
|
||||
private DistrictNewPriceService districtNewPriceService;
|
||||
private static final String[] SEARCH_FIELDS = new String[]{"marketAvgPrice", "startDate", "curPrice", "imgUrls", "id", "matchCity", "matchRegion", "matchName", "address", "marketTotalPrice", "startPrice", "curPrice", "predictPrice", "depositPrice", "area", "status", "url",
|
||||
"matchEstateType","type","count", "tradeAvgPrice", "evaluationPrice"};
|
||||
"matchEstateType","type","count", "tradeAvgPrice", "evaluationPrice","houseNum","roomNum","unitNum","estateType"};
|
||||
|
||||
public Object housesAction(AuctionModel model){
|
||||
RestfulModelAndView mav = new RestfulModelAndView();
|
||||
|
||||
Reference in New Issue
Block a user