This commit is contained in:
2021-06-02 15:36:07 +08:00
parent f4db660dcc
commit f3220beef3
2 changed files with 13 additions and 2 deletions
@@ -199,7 +199,8 @@ public class SeawaterDaoImpl extends com.fangjia.dal.SeawaterDaoImpl<Seawater> i
}
private JSONObject query(String id,String category, String city, String region, String name, List<String> alias,
List<String> regionAlias, Integer startDate, Integer endDate, Double startArea, Double endArea, Integer startPrice, Integer endPrice, Integer room, String root,String sort, boolean order, int start, int limit,String table){
List<String> regionAlias, Integer startDate, Integer endDate, Double startArea, Double endArea, Integer startPrice, Integer endPrice,
Integer room, String root,String sort, boolean order, int start, int limit,String table){
long time1 = System.currentTimeMillis();
JSONObject reqBody = new JSONObject();
JSONObject q = new JSONObject();
@@ -313,7 +314,7 @@ public class SeawaterDaoImpl extends com.fangjia.dal.SeawaterDaoImpl<Seawater> i
if(endPrice != null){
temp2.put("lte", endPrice);
}
param.put("total_price", temp2);
param.put("avg_price", temp2);
temp.put("range", param);
jsonList.add(temp);
}
@@ -284,6 +284,8 @@ public class PropertyEvaluationModel extends FangjiaApiModel {
private String user;
private Integer avgPrice;
public void setDecorationAge(int decorationAge) {
this.decorationAge = decorationAge;
@@ -895,4 +897,12 @@ public class PropertyEvaluationModel extends FangjiaApiModel {
public void setAtticSize(Double atticSize) {
this.atticSize = atticSize;
}
public Integer getAvgPrice() {
return avgPrice;
}
public void setAvgPrice(Integer avgPrice) {
this.avgPrice = avgPrice;
}
}