diff --git a/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/PropertyController.java b/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/PropertyController.java index 4cd803a38..7cdc39f54 100644 --- a/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/PropertyController.java +++ b/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/PropertyController.java @@ -5055,6 +5055,7 @@ public class PropertyController { districtPriceMap.put("floor", model.getFloor()); districtPriceMap.put("height", model.getHeight()); districtPriceMap.put("fitment", evaluation.getFitment()); + districtPriceMap.put("buildYear",district.getFinishBuildingDate()); Integer startPrice = (int)(evaluation.getTotalPrice() - evaluation.getTotalPrice()*0.2); Integer endPrice = (int)(evaluation.getTotalPrice() + evaluation.getTotalPrice()*0.2); diff --git a/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/weixin/CcbRentController.java b/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/weixin/CcbRentController.java index 4932b1adf..f70911f8b 100644 --- a/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/weixin/CcbRentController.java +++ b/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/weixin/CcbRentController.java @@ -186,6 +186,7 @@ public class CcbRentController { districtPriceMap.put("floor", model.getFloor()); districtPriceMap.put("height", model.getHeight()); districtPriceMap.put("fitment", evaluation.getFitment()); + districtPriceMap.put("buildYear",district.getFinishBuildingDate()); Integer startPrice = (int)(evaluation.getTotalPrice() - evaluation.getTotalPrice()*0.2); Integer endPrice = (int)(evaluation.getTotalPrice() + evaluation.getTotalPrice()*0.2); diff --git a/projects/fangjia-open/src/main/webapp/static/js/autoCompletion.js b/projects/fangjia-open/src/main/webapp/static/js/autoCompletion.js index 53627a5fc..fb00849df 100644 --- a/projects/fangjia-open/src/main/webapp/static/js/autoCompletion.js +++ b/projects/fangjia-open/src/main/webapp/static/js/autoCompletion.js @@ -27,9 +27,14 @@ $(function () { dataType: "json", success: function (data) { if(data && data.length == 0){ - var content = '
  • 未搜索到小区
  • ' - $("#searchSpan ul").empty().append(content) - return + if ($("#t").val() == "c") { + $("#searchSpan ul").empty() + return ; + } else { + var content = '
  • 未搜索到小区
  • ' + $("#searchSpan ul").empty().append(content) + return + } } var template = '
  • {1}
    {2}
  • ' var content = ""