产证地址

This commit is contained in:
2022-06-20 15:16:01 +08:00
parent d991cea59c
commit 4d1bc716a0
6 changed files with 33 additions and 12 deletions
@@ -362,8 +362,8 @@ public class YugudanController {
if (model.getId()>0) { if (model.getId()>0) {
//FjtEvaluation evaluation = fjtEvaluationService.findEvaluationById(model.getId()); //FjtEvaluation evaluation = fjtEvaluationService.findEvaluationById(model.getId());
Map<String, Object> data = new HashMap<String, Object>(); Map<String, Object> data = new HashMap<String, Object>();
if(StringUtils.isNotBlank(model.getAddress())){ if(StringUtils.isNotBlank(model.getCertificateAddress())){
data.put("address", model.getAddress()); data.put("certificateAddress", model.getCertificateAddress());
} }
// if(model.getPeopleEditDate()!=null || model.getPeopleEditPrice()!=null){ // if(model.getPeopleEditDate()!=null || model.getPeopleEditPrice()!=null){
// data.put("peopleEdit", 1); // data.put("peopleEdit", 1);
@@ -151,6 +151,8 @@ public class YugudanModel extends BaseModel{
private Integer askPriceId;//人工询价id private Integer askPriceId;//人工询价id
private String certificateAddress;
public int getId() { public int getId() {
return id; return id;
@@ -862,6 +864,11 @@ public class YugudanModel extends BaseModel{
this.unitNum = unitNum; this.unitNum = unitNum;
} }
public String getCertificateAddress() {
return certificateAddress;
}
public void setCertificateAddress(String certificateAddress) {
this.certificateAddress = certificateAddress;
}
} }
@@ -241,10 +241,10 @@
</tr> </tr>
<tr> <tr>
<td class = "t1">物业地址</td> <td class = "t1">产证地址</td>
<td> <td>
<span class="labelModel1">${(evaluation.address)!}</span> <span class="labelModel1"><#if evaluation?? && evaluation.certificateAddress??>${(evaluation.certificateAddress)!}<#else>${(evaluation.address)!}</#if></span>
<span class="editModel1 hide"><input type="text" name="address" value="${(evaluation.address)!}"/></span> <span class="editModel1 hide"><input type="text" name="certificateAddress" value="<#if evaluation?? && evaluation.certificateAddress??>${(evaluation.certificateAddress)!}<#else>${(evaluation.address)!}</#if>"/></span>
</td> </td>
</tr> </tr>
@@ -68,7 +68,7 @@
<th width="6%">城市</th> <th width="6%">城市</th>
<th width="6%">区域</th> <th width="6%">区域</th>
<th width="10%">楼盘名称</th> <th width="10%">楼盘名称</th>
<th width="14%">估价地址</th> <th width="14%">产证地址</th>
<th width="10%">帐号</th> <th width="10%">帐号</th>
<th width="6%">面积</th> <th width="6%">面积</th>
<th width="10%">总价</th> <th width="10%">总价</th>
@@ -83,7 +83,7 @@
<td>${it.city}</td> <td>${it.city}</td>
<td>${it.region!}</td> <td>${it.region!}</td>
<td><a href="../yugudan/editEval?id=${it.id}">${it.districtName!}</a></td> <td><a href="../yugudan/editEval?id=${it.id}">${it.districtName!}</a></td>
<td>${it.address!}<#if it.houseNum??>${it.houseNum!}号</#if> <td><#if it.certificateAddress??>${(it.certificateAddress)!}<#else>${(it.address)!}</#if><#if it.houseNum??>${it.houseNum!}号</#if>
<#if it.unitNum?? && it.unitNum?length gt 1>${it.unitNum!}单元</#if> <#if it.unitNum?? && it.unitNum?length gt 1>${it.unitNum!}单元</#if>
<#if it.buildType!=3 && it.buildType!=8 && it.buildType!=0> <#if it.buildType!=3 && it.buildType!=8 && it.buildType!=0>
<#if it.floorDesc?? && it.floorDesc?length gt 1>${it.floorDesc!}层</#if> <#if it.floorDesc?? && it.floorDesc?length gt 1>${it.floorDesc!}层</#if>
@@ -83,6 +83,8 @@ public class Loudong implements MongoEntity {
private Date modifyDate; private Date modifyDate;
/**户数*/ /**户数*/
private Integer households; private Integer households;
/**一梯几户的户*/
private Integer roomCount;
/** 总建筑面积 */ /** 总建筑面积 */
private Double totalAreas; private Double totalAreas;
/** 开盘时间 */ /** 开盘时间 */
@@ -402,4 +404,6 @@ public class Loudong implements MongoEntity {
public void setNameInSeaweed(String nameInSeaweed) { public void setNameInSeaweed(String nameInSeaweed) {
this.nameInSeaweed = nameInSeaweed; this.nameInSeaweed = nameInSeaweed;
} }
} }
@@ -102,6 +102,7 @@ public class FjtEvaluation implements SqlEntity{
private String finishDateStr;//竣工时间 private String finishDateStr;//竣工时间
private String useType;//房屋用途 private String useType;//房屋用途
private String certificateAddress; //产证地址
@GeneratedValue(strategy = GenerationType.AUTO) @GeneratedValue(strategy = GenerationType.AUTO)
@Id @Id
@@ -750,6 +751,15 @@ public class FjtEvaluation implements SqlEntity{
this.useType = useType; this.useType = useType;
} }
@Column(name = "certificate_address")
public String getCertificateAddress() {
return certificateAddress;
}
public void setCertificateAddress(String certificateAddress) {
this.certificateAddress = certificateAddress;
}
@Override @Override
public String toString() { public String toString() {
return "FjtEvaluation{" + return "FjtEvaluation{" +