新增平米租金接口
This commit is contained in:
+5671
-5615
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -203,7 +203,7 @@ public class RentController {
|
||||
private Double getSqmetreRent(District district){
|
||||
SqmetreRent sqmetreRent = sqmetreRentService.findNearestSqmetreRent(district.getCity(), district.getRegion(), district.getName(), null, "district");
|
||||
if(null != sqmetreRent){
|
||||
return Double.valueOf(sqmetreRent.getAvgPrice());
|
||||
return Double.valueOf(sqmetreRent.getAvgPrice().intValue());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -27,6 +27,15 @@ public class AvgPriceQueryModel {
|
||||
Integer periodCount;
|
||||
String periodType;
|
||||
Integer houseType;
|
||||
String cat;
|
||||
|
||||
public String getCat() {
|
||||
return cat;
|
||||
}
|
||||
|
||||
public void setCat(String cat) {
|
||||
this.cat = cat;
|
||||
}
|
||||
|
||||
public Integer getPeriodCount() {
|
||||
return periodCount;
|
||||
|
||||
Reference in New Issue
Block a user