优化商铺租金走势
This commit is contained in:
@@ -16,6 +16,8 @@ public class SeawaterDto {
|
|||||||
|
|
||||||
private String address;
|
private String address;
|
||||||
|
|
||||||
|
private String districtName;
|
||||||
|
|
||||||
public String getCity() {
|
public String getCity() {
|
||||||
return city;
|
return city;
|
||||||
}
|
}
|
||||||
@@ -103,4 +105,12 @@ public class SeawaterDto {
|
|||||||
public void setAddress(String address) {
|
public void setAddress(String address) {
|
||||||
this.address = address;
|
this.address = address;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getDistrictName() {
|
||||||
|
return districtName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDistrictName(String districtName) {
|
||||||
|
this.districtName = districtName;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -222,6 +222,7 @@ public class AiShopServiceImpl implements AiShopService {
|
|||||||
seawaterDto.setPublishDate(String.valueOf(seawater.getpDate()));
|
seawaterDto.setPublishDate(String.valueOf(seawater.getpDate()));
|
||||||
seawaterDto.setFloorInfo(seawater.getFloorInfo());
|
seawaterDto.setFloorInfo(seawater.getFloorInfo());
|
||||||
seawaterDto.setAddress(seawater.getAddress());
|
seawaterDto.setAddress(seawater.getAddress());
|
||||||
|
seawaterDto.setDistrictName(seawater.getDistrictName());
|
||||||
return seawaterDto;
|
return seawaterDto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -299,7 +300,7 @@ public class AiShopServiceImpl implements AiShopService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<ShopSellStat> findShopSellStat(final String city, final String region, final String name, final String cat, final Integer startDate, final Integer endDate) {
|
public List<ShopSellStat> findShopSellStat(final String city, final String region, final String name, final String cat, final Integer startDate, final Integer endDate) {
|
||||||
return CacheUtils.getValue(this.getClass(), "findShopRentStat", city + region + name + startDate + endDate,
|
return CacheUtils.getValue(this.getClass(), "findShopSellStat", city + region + name + startDate + endDate,
|
||||||
CacheUtils.CachePolicyEnum.MIDDLE, new Closure<List<ShopSellStat>, String>() {
|
CacheUtils.CachePolicyEnum.MIDDLE, new Closure<List<ShopSellStat>, String>() {
|
||||||
public List<ShopSellStat> execute(String input) {
|
public List<ShopSellStat> execute(String input) {
|
||||||
return doFindShopSellStat(city, region, name, cat, startDate, endDate);
|
return doFindShopSellStat(city, region, name, cat, startDate, endDate);
|
||||||
|
|||||||
Reference in New Issue
Block a user