|
@@ -118,8 +118,8 @@ public class SearchHouseServiceImpl extends ServiceImpl<SearchHouseMapper, Searc
|
118
|
118
|
}
|
119
|
119
|
|
120
|
120
|
private Integer[] getUnitPriceRange(Integer minPriceW, Integer maxPriceW, Integer areaResultId) {
|
121
|
|
- Integer minPrice = minPriceW * 10000;
|
122
|
|
- Integer maxPrice = maxPriceW * 10000;
|
|
121
|
+ long minPrice = minPriceW * 10000;
|
|
122
|
+ long maxPrice = maxPriceW * 10000;
|
123
|
123
|
|
124
|
124
|
// 字典过滤 - 必须与小程序端保持一致
|
125
|
125
|
switch (areaResultId) {
|
|
@@ -160,6 +160,6 @@ public class SearchHouseServiceImpl extends ServiceImpl<SearchHouseMapper, Searc
|
160
|
160
|
break;
|
161
|
161
|
}
|
162
|
162
|
|
163
|
|
- return new Integer[] {minPrice, maxPrice};
|
|
163
|
+ return new Integer[] {Math.toIntExact(minPrice), Math.toIntExact(maxPrice)};
|
164
|
164
|
}
|
165
|
165
|
}
|