fuxingfan 3 lat temu
rodzic
commit
3bf30060f8

+ 3
- 3
src/main/java/com/yunzhi/marketing/xlk/service/impl/SearchHouseServiceImpl.java Wyświetl plik

118
     }
118
     }
119
 
119
 
120
     private Integer[] getUnitPriceRange(Integer minPriceW, Integer maxPriceW, Integer areaResultId) {
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
         switch (areaResultId) {
125
         switch (areaResultId) {
160
                 break;
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
 }