修复评估空指针问题
This commit is contained in:
@@ -1925,7 +1925,7 @@ public class FshController {
|
|||||||
evaluation.setFitmentCharge(model.getDecorationCost());
|
evaluation.setFitmentCharge(model.getDecorationCost());
|
||||||
}
|
}
|
||||||
evaluation.setGardenArea(model.getGardenArea());
|
evaluation.setGardenArea(model.getGardenArea());
|
||||||
if (0 != model.getHall()) {
|
if (model.getHall() != null && 0 != model.getHall()) {
|
||||||
evaluation.setHall(model.getHall());
|
evaluation.setHall(model.getHall());
|
||||||
}
|
}
|
||||||
if (null != model.getFloor()) {
|
if (null != model.getFloor()) {
|
||||||
|
|||||||
+3
-3
@@ -80,7 +80,7 @@ public class PropertyEvaluationModel extends FangjiaApiModel {
|
|||||||
/**
|
/**
|
||||||
* 厅数
|
* 厅数
|
||||||
*/
|
*/
|
||||||
private int hall;
|
private Integer hall;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 卫数
|
* 卫数
|
||||||
@@ -361,11 +361,11 @@ public class PropertyEvaluationModel extends FangjiaApiModel {
|
|||||||
this.room = room;
|
this.room = room;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getHall() {
|
public Integer getHall() {
|
||||||
return hall;
|
return hall;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setHall(int hall) {
|
public void setHall(Integer hall) {
|
||||||
this.hall = hall;
|
this.hall = hall;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user