@@ -1861,6 +1861,12 @@ public class DataUtil {
|
|||||||
ret = true;
|
ret = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}else if(height != null){
|
||||||
|
if (height <= 3) {
|
||||||
|
if (area > 200){
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
} else if (height == null && room != null) {
|
} else if (height == null && room != null) {
|
||||||
if (area > 360 && room >= 6) {
|
if (area > 360 && room >= 6) {
|
||||||
ret = true;
|
ret = true;
|
||||||
|
|||||||
+2
-1
@@ -1169,7 +1169,7 @@ public class DistrictController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Object addrFacilitysAction(DistrictSearchModel model, @Param(name = "address") String address) throws Exception{
|
public Object addrFacilitysAction(DistrictSearchModel model, @Param(name = "city") String city, @Param(name = "address") String address) throws Exception{
|
||||||
RestfulModelAndView mav = new RestfulModelAndView();
|
RestfulModelAndView mav = new RestfulModelAndView();
|
||||||
mav.setViewType("rest");
|
mav.setViewType("rest");
|
||||||
if (StringUtils.isBlank(address)) {
|
if (StringUtils.isBlank(address)) {
|
||||||
@@ -1181,6 +1181,7 @@ public class DistrictController {
|
|||||||
HttpRequest request = new HttpRequest();
|
HttpRequest request = new HttpRequest();
|
||||||
JSONObject json = null;
|
JSONObject json = null;
|
||||||
Map<String, String> params = new HashMap<String, String>();
|
Map<String, String> params = new HashMap<String, String>();
|
||||||
|
params.put("city", city);
|
||||||
params.put("address", address);
|
params.put("address", address);
|
||||||
params.put("category", "property");
|
params.put("category", "property");
|
||||||
//ÐÂÆ¥Åä½Ó¿Ú
|
//ÐÂÆ¥Åä½Ó¿Ú
|
||||||
|
|||||||
-2
@@ -376,10 +376,8 @@ public class AddressMatchProxyServiceImpl extends AbstractHttpApiService impleme
|
|||||||
|
|
||||||
if(null != mapResult){
|
if(null != mapResult){
|
||||||
matchResult.addDebugLog("格式化地址调百度结果:" + mapResult.toString());
|
matchResult.addDebugLog("格式化地址调百度结果:" + mapResult.toString());
|
||||||
LOGGER.warn("°Ù¶ÈËÑË÷ÎÞ½á¹û "+mapResult.toString()+"!");
|
|
||||||
}else{
|
}else{
|
||||||
matchResult.addDebugLog("格式化地址调百度结果:");
|
matchResult.addDebugLog("格式化地址调百度结果:");
|
||||||
LOGGER.warn("°Ù¶ÈËÑË÷ÎÞ½á¹û");
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user