新增平米租金接口

This commit is contained in:
majintao
2024-08-15 17:20:17 +08:00
parent 9d583bcec6
commit 877ee4f977
7 changed files with 5699 additions and 5629 deletions
File diff suppressed because it is too large Load Diff
@@ -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;