diff --git a/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/FshController.java b/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/FshController.java index d5d69a1af..87a1e84b3 100644 --- a/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/FshController.java +++ b/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/FshController.java @@ -1925,7 +1925,7 @@ public class FshController { evaluation.setFitmentCharge(model.getDecorationCost()); } evaluation.setGardenArea(model.getGardenArea()); - if (0 != model.getHall()) { + if (model.getHall() != null && 0 != model.getHall()) { evaluation.setHall(model.getHall()); } if (null != model.getFloor()) { diff --git a/projects/fangjia-open/src/main/java/com/fangjia/open/model/PropertyEvaluationModel.java b/projects/fangjia-open/src/main/java/com/fangjia/open/model/PropertyEvaluationModel.java index 2abc1acf1..d6848c616 100644 --- a/projects/fangjia-open/src/main/java/com/fangjia/open/model/PropertyEvaluationModel.java +++ b/projects/fangjia-open/src/main/java/com/fangjia/open/model/PropertyEvaluationModel.java @@ -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; } - public int getHall() { + public Integer getHall() { return hall; } - public void setHall(int hall) { + public void setHall(Integer hall) { this.hall = hall; }