产证地址

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) {
//FjtEvaluation evaluation = fjtEvaluationService.findEvaluationById(model.getId());
Map<String, Object> data = new HashMap<String, Object>();
if(StringUtils.isNotBlank(model.getAddress())){
data.put("address", model.getAddress());
if(StringUtils.isNotBlank(model.getCertificateAddress())){
data.put("certificateAddress", model.getCertificateAddress());
}
// if(model.getPeopleEditDate()!=null || model.getPeopleEditPrice()!=null){
// data.put("peopleEdit", 1);
@@ -150,8 +150,10 @@ public class YugudanModel extends BaseModel{
private String reportNum;
private Integer askPriceId;//人工询价id
private String certificateAddress;
public int getId() {
return id;
}
@@ -861,7 +863,12 @@ public class YugudanModel extends BaseModel{
public void setUnitNum(String unitNum) {
this.unitNum = unitNum;
}
public String getCertificateAddress() {
return certificateAddress;
}
public void setCertificateAddress(String certificateAddress) {
this.certificateAddress = certificateAddress;
}
}
@@ -241,10 +241,10 @@
</tr>
<tr>
<td class = "t1">物业地址</td>
<td class = "t1">产证地址</td>
<td>
<span class="labelModel1">${(evaluation.address)!}</span>
<span class="editModel1 hide"><input type="text" name="address" value="${(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="certificateAddress" value="<#if evaluation?? && evaluation.certificateAddress??>${(evaluation.certificateAddress)!}<#else>${(evaluation.address)!}</#if>"/></span>
</td>
</tr>
@@ -68,7 +68,7 @@
<th width="6%">城市</th>
<th width="6%">区域</th>
<th width="10%">楼盘名称</th>
<th width="14%">估价地址</th>
<th width="14%">产证地址</th>
<th width="10%">帐号</th>
<th width="6%">面积</th>
<th width="10%">总价</th>
@@ -83,7 +83,7 @@
<td>${it.city}</td>
<td>${it.region!}</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.buildType!=3 && it.buildType!=8 && it.buildType!=0>
<#if it.floorDesc?? && it.floorDesc?length gt 1>${it.floorDesc!}层</#if>
@@ -83,6 +83,8 @@ public class Loudong implements MongoEntity {
private Date modifyDate;
/**户数*/
private Integer households;
/**一梯几户的户*/
private Integer roomCount;
/** 总建筑面积 */
private Double totalAreas;
/** 开盘时间 */
@@ -402,4 +404,6 @@ public class Loudong implements MongoEntity {
public void setNameInSeaweed(String nameInSeaweed) {
this.nameInSeaweed = nameInSeaweed;
}
}
@@ -102,6 +102,7 @@ public class FjtEvaluation implements SqlEntity{
private String finishDateStr;//竣工时间
private String useType;//房屋用途
private String certificateAddress; //产证地址
@GeneratedValue(strategy = GenerationType.AUTO)
@Id
@@ -750,6 +751,15 @@ public class FjtEvaluation implements SqlEntity{
this.useType = useType;
}
@Column(name = "certificate_address")
public String getCertificateAddress() {
return certificateAddress;
}
public void setCertificateAddress(String certificateAddress) {
this.certificateAddress = certificateAddress;
}
@Override
public String toString() {
return "FjtEvaluation{" +