修复查找房源BUG
This commit is contained in:
@@ -1021,8 +1021,10 @@ public class HouseController {
|
||||
query.setSortField("p_date");
|
||||
query.setOrder(false);
|
||||
query.setTable("latest_seawater");
|
||||
if (StringUtils.isNotBlank(city) && StringUtils.isNotBlank(region) && StringUtils.isNotBlank(districtName)) {
|
||||
houseSelf = seawaterDao.findSeawatersByQuery(query);
|
||||
houses.addAll(houseSelf);
|
||||
}
|
||||
// 如果自身样本数不够,再查周边
|
||||
if (houseSelf != null && houseSelf.size() < pager.getPageSize()) {
|
||||
query.setRegion(null);
|
||||
|
||||
Reference in New Issue
Block a user