Merge branch 'feature_master_xh_standard' into 'master'
第三方均价展示 See merge request !356
This commit is contained in:
@@ -227,7 +227,7 @@
|
|||||||
<td colspan="2"><b>兔博士</b></td>
|
<td colspan="2"><b>兔博士</b></td>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if (it.centanetNewPrice)?? || (it.centanetEsfPrice)??>
|
<#if (it.zhongyuanNewPrice)?? || (it.zhongyuanEsfPrice)??>
|
||||||
<td colspan="2"><b>中原地产</b></td>
|
<td colspan="2"><b>中原地产</b></td>
|
||||||
</#if>
|
</#if>
|
||||||
<#if (it.leyoujiaNewPrice)?? || (it.leyoujiaEsfPrice)??>
|
<#if (it.leyoujiaNewPrice)?? || (it.leyoujiaEsfPrice)??>
|
||||||
@@ -248,6 +248,12 @@
|
|||||||
<#if (it.yungujiaNewPrice)?? || (it.yungujiaEsfPrice)??>
|
<#if (it.yungujiaNewPrice)?? || (it.yungujiaEsfPrice)??>
|
||||||
<td colspan="2"><b>云估价</b></td>
|
<td colspan="2"><b>云估价</b></td>
|
||||||
</#if>
|
</#if>
|
||||||
|
<#if (it.jiwuNewPrice)?? || (it.jiwuEsfPrice)??>
|
||||||
|
<td colspan="2"><b>吉屋</b></td>
|
||||||
|
</#if>
|
||||||
|
<#if (it.tsfhouseNewPrice)?? || (it.tsfhouseEsfPrice)??>
|
||||||
|
<td colspan="2"><b>365房产</b></td>
|
||||||
|
</#if>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
@@ -300,7 +306,7 @@
|
|||||||
<td style="width:70px;color:#D3750A">二手房</td>
|
<td style="width:70px;color:#D3750A">二手房</td>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if (it.centanetNewPrice)?? || (it.centanetEsfPrice)??>
|
<#if (it.zhongyuanNewPrice)?? || (it.zhongyuanEsfPrice)??>
|
||||||
<td style="width:70px;color:#0C88C7">新房</td>
|
<td style="width:70px;color:#0C88C7">新房</td>
|
||||||
<td style="width:70px;color:#D3750A">二手房</td>
|
<td style="width:70px;color:#D3750A">二手房</td>
|
||||||
</#if>
|
</#if>
|
||||||
@@ -330,8 +336,15 @@
|
|||||||
<#if (it.yungujiaNewPrice)?? || (it.yungujiaEsfPrice)??>
|
<#if (it.yungujiaNewPrice)?? || (it.yungujiaEsfPrice)??>
|
||||||
<td style="width:70px;color:#0C88C7">新房</td>
|
<td style="width:70px;color:#0C88C7">新房</td>
|
||||||
<td style="width:70px;color:#D3750A">二手房</td>
|
<td style="width:70px;color:#D3750A">二手房</td>
|
||||||
|
|
||||||
</#if>
|
</#if>
|
||||||
|
<#if (it.jiwuNewPrice)?? || (it.jiwuEsfPrice)??>
|
||||||
|
<td style="width:70px;color:#0C88C7">新房</td>
|
||||||
|
<td style="width:70px;color:#D3750A">二手房</td>
|
||||||
|
</#if>
|
||||||
|
<#if (it.tsfhouseNewPrice)?? || (it.tsfhouseEsfPrice)??>
|
||||||
|
<td style="width:70px;color:#0C88C7">新房</td>
|
||||||
|
<td style="width:70px;color:#D3750A">二手房</td>
|
||||||
|
</#if>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@@ -392,9 +405,9 @@
|
|||||||
<td style ="color:#D3750A">${it.tuboshiEsfPrice!}</td>
|
<td style ="color:#D3750A">${it.tuboshiEsfPrice!}</td>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if (it.centanetNewPrice)?? || (it.centanetEsfPrice)??>
|
<#if (it.zhongyuanNewPrice)?? || (it.zhongyuanEsfPrice)??>
|
||||||
<td style ="color:#0C88C7">${it.centanetNewPrice!}</td>
|
<td style ="color:#0C88C7">${it.zhongyuanNewPrice!}</td>
|
||||||
<td style ="color:#D3750A">${it.centanetEsfPrice!}</td>
|
<td style ="color:#D3750A">${it.zhongyuanEsfPrice!}</td>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if (it.leyoujiaNewPrice)?? || (it.leyoujiaEsfPrice)??>
|
<#if (it.leyoujiaNewPrice)?? || (it.leyoujiaEsfPrice)??>
|
||||||
@@ -422,6 +435,14 @@
|
|||||||
<td style ="color:#0C88C7">${it.yungujiaNewPrice!}</td>
|
<td style ="color:#0C88C7">${it.yungujiaNewPrice!}</td>
|
||||||
<td style ="color:#D3750A">${it.yungujiaEsfPrice!}</td>
|
<td style ="color:#D3750A">${it.yungujiaEsfPrice!}</td>
|
||||||
</#if>
|
</#if>
|
||||||
|
<#if (it.jiwuNewPrice)?? || (it.jiwuEsfPrice)??>
|
||||||
|
<td style ="color:#0C88C7">${it.jiwuNewPrice!}</td>
|
||||||
|
<td style ="color:#D3750A">${it.jiwuEsfPrice!}</td>
|
||||||
|
</#if>
|
||||||
|
<#if (it.tsfhouseNewPrice)?? || (it.tsfhouseEsfPrice)??>
|
||||||
|
<td style ="color:#0C88C7">${it.tsfhouseNewPrice!}</td>
|
||||||
|
<td style ="color:#D3750A">${it.tsfhouseEsfPrice!}</td>
|
||||||
|
</#if>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</#list>
|
</#list>
|
||||||
|
|||||||
+91
-25
@@ -95,10 +95,10 @@ public class AverageStatistics implements MongoEntity {
|
|||||||
private Double tuboshiEsfDiff;
|
private Double tuboshiEsfDiff;
|
||||||
|
|
||||||
/**中原地产二手房均价*/
|
/**中原地产二手房均价*/
|
||||||
private Integer centanetNewPrice;
|
private Integer zhongyuanNewPrice;
|
||||||
private Double centanetNewDiff;
|
private Double zhongyuanNewDiff;
|
||||||
private Integer centanetEsfPrice;
|
private Integer zhongyuanEsfPrice;
|
||||||
private Double centanetEsfDiff;
|
private Double zhongyuanEsfDiff;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -155,8 +155,17 @@ public class AverageStatistics implements MongoEntity {
|
|||||||
private Integer zhugezhaofangNewPrice;
|
private Integer zhugezhaofangNewPrice;
|
||||||
private Double zhugezhaofangNewDiff;
|
private Double zhugezhaofangNewDiff;
|
||||||
|
|
||||||
|
/**吉屋*/
|
||||||
|
private Integer jiwuEsfPrice;
|
||||||
|
private Double jiwuEsfDiff;
|
||||||
|
private Integer jiwuNewPrice;
|
||||||
|
private Double jiwuNewDiff;
|
||||||
|
|
||||||
|
/**365*/
|
||||||
|
private Integer tsfhouseEsfPrice;
|
||||||
|
private Double tsfhouseEsfDiff;
|
||||||
|
private Integer tsfhouseNewPrice;
|
||||||
|
private Double tsfhouseNewDiff;
|
||||||
|
|
||||||
private String level;//价格评级
|
private String level;//价格评级
|
||||||
private Integer lastAvgPrice;//最终价
|
private Integer lastAvgPrice;//最终价
|
||||||
@@ -578,22 +587,22 @@ public class AverageStatistics implements MongoEntity {
|
|||||||
this.fangguguNewPrice = fangguguNewPrice;
|
this.fangguguNewPrice = fangguguNewPrice;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column(name = "centanet_new_price")
|
@Column(name = "zhongyuan_new_price")
|
||||||
public Integer getCentanetNewPrice() {
|
public Integer getZhongyuanNewPrice() {
|
||||||
return centanetNewPrice;
|
return zhongyuanNewPrice;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCentanetNewPrice(Integer centanetNewPrice) {
|
public void setZhongyuanNewPrice(Integer zhongyuanNewPrice) {
|
||||||
this.centanetNewPrice = centanetNewPrice;
|
this.zhongyuanNewPrice = zhongyuanNewPrice;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column(name = "centanet_esf_price")
|
@Column(name = "zhongyuan_esf_price")
|
||||||
public Integer getCentanetEsfPrice() {
|
public Integer getZhongyuanEsfPrice() {
|
||||||
return centanetEsfPrice;
|
return zhongyuanEsfPrice;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCentanetEsfPrice(Integer centanetEsfPrice) {
|
public void setZhongyuanEsfPrice(Integer zhongyuanEsfPrice) {
|
||||||
this.centanetEsfPrice = centanetEsfPrice;
|
this.zhongyuanEsfPrice = zhongyuanEsfPrice;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column(name = "lianjia_esf_price")
|
@Column(name = "lianjia_esf_price")
|
||||||
@@ -659,22 +668,22 @@ public class AverageStatistics implements MongoEntity {
|
|||||||
this.tuboshiEsfDiff = tuboshiEsfDiff;
|
this.tuboshiEsfDiff = tuboshiEsfDiff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column(name = "centanet_new_diff")
|
@Column(name = "zhongyuan_new_diff")
|
||||||
public Double getCentanetNewDiff() {
|
public Double getZhongyuanNewDiff() {
|
||||||
return centanetNewDiff;
|
return zhongyuanNewDiff;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCentanetNewDiff(Double centanetNewDiff) {
|
public void setZhongyuanNewDiff(Double zhongyuanNewDiff) {
|
||||||
this.centanetNewDiff = centanetNewDiff;
|
this.zhongyuanNewDiff = zhongyuanNewDiff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column(name = "centanet_esf_diff")
|
@Column(name = "zhongyuan_esf_diff")
|
||||||
public Double getCentanetEsfDiff() {
|
public Double getZhongyuanEsfDiff() {
|
||||||
return centanetEsfDiff;
|
return zhongyuanEsfDiff;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCentanetEsfDiff(Double centanetEsfDiff) {
|
public void setZhongyuanEsfDiff(Double zhongyuanEsfDiff) {
|
||||||
this.centanetEsfDiff = centanetEsfDiff;
|
this.zhongyuanEsfDiff = zhongyuanEsfDiff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column(name = "master_district_name")
|
@Column(name = "master_district_name")
|
||||||
@@ -1075,18 +1084,75 @@ public class AverageStatistics implements MongoEntity {
|
|||||||
this.fangtanEsfDiff = fangtanEsfDiff;
|
this.fangtanEsfDiff = fangtanEsfDiff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Column(name = "jiwu_esf_price")
|
||||||
|
public Integer getJiwuEsfPrice() {
|
||||||
|
return jiwuEsfPrice;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setJiwuEsfPrice(Integer jiwuEsfPrice) {
|
||||||
|
this.jiwuEsfPrice = jiwuEsfPrice;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Column(name = "jiwu_esf_diff")
|
||||||
|
public Double getJiwuEsfDiff() {
|
||||||
|
return jiwuEsfDiff;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setJiwuEsfDiff(Double jiwuEsfDiff) {
|
||||||
|
this.jiwuEsfDiff = jiwuEsfDiff;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Column(name = "jiwu_new_price")
|
||||||
|
public Integer getJiwuNewPrice() {
|
||||||
|
return jiwuNewPrice;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setJiwuNewPrice(Integer jiwuNewPrice) {
|
||||||
|
this.jiwuNewPrice = jiwuNewPrice;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Column(name = "jiwu_new_diff")
|
||||||
|
public Double getJiwuNewDiff() {
|
||||||
|
return jiwuNewDiff;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setJiwuNewDiff(Double jiwuNewDiff) {
|
||||||
|
this.jiwuNewDiff = jiwuNewDiff;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Column(name = "365house_esf_price")
|
||||||
|
public Integer getTsfhouseEsfPrice() {
|
||||||
|
return tsfhouseEsfPrice;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTsfhouseEsfPrice(Integer tsfhouseEsfPrice) {
|
||||||
|
this.tsfhouseEsfPrice = tsfhouseEsfPrice;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Column(name = "365house_esf_diff")
|
||||||
|
public Double getTsfhouseEsfDiff() {
|
||||||
|
return tsfhouseEsfDiff;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTsfhouseEsfDiff(Double tsfhouseEsfDiff) {
|
||||||
|
this.tsfhouseEsfDiff = tsfhouseEsfDiff;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Column(name = "365house_new_price")
|
||||||
|
public Integer getTsfhouseNewPrice() {
|
||||||
|
return tsfhouseNewPrice;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTsfhouseNewPrice(Integer tsfhouseNewPrice) {
|
||||||
|
this.tsfhouseNewPrice = tsfhouseNewPrice;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Column(name = "365house_new_diff")
|
||||||
|
public Double getTsfhouseNewDiff() {
|
||||||
|
return tsfhouseNewDiff;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTsfhouseNewDiff(Double tsfhouseNewDiff) {
|
||||||
|
this.tsfhouseNewDiff = tsfhouseNewDiff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-4
@@ -187,11 +187,11 @@ public class AverageStatisticsServiceImpl implements AverageStatisticsService {
|
|||||||
|
|
||||||
Integer zhongyuanPrice = (Integer) dataMap.get("zhongyuan_price");
|
Integer zhongyuanPrice = (Integer) dataMap.get("zhongyuan_price");
|
||||||
if(null == zhongyuanPrice){
|
if(null == zhongyuanPrice){
|
||||||
if (isValid(entity.getCentanetEsfPrice())) {
|
if (isValid(entity.getZhongyuanEsfPrice())) {
|
||||||
dataMap.put("zhongyuan_price", entity.getCentanetEsfPrice());
|
dataMap.put("zhongyuan_price", entity.getZhongyuanEsfPrice());
|
||||||
}else{
|
}else{
|
||||||
if(isValid(entity.getCentanetNewPrice())){
|
if(isValid(entity.getZhongyuanNewPrice())){
|
||||||
dataMap.put("zhongyuan_price", entity.getCentanetNewPrice());
|
dataMap.put("zhongyuan_price", entity.getZhongyuanNewPrice());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user