商铺样本查询优化
This commit is contained in:
@@ -467,6 +467,15 @@ public class ShopController {
|
||||
evaluation.setAge(model.getAge());
|
||||
}
|
||||
evaluation.setArea(model.getSize());
|
||||
if (model.getRadius() != null) {
|
||||
evaluation.setRadius(model.getRadius());
|
||||
}
|
||||
if (StringUtils.isNotBlank(model.getTags())) {
|
||||
evaluation.setTags(model.getTags());
|
||||
}
|
||||
if (StringUtils.isNotBlank(model.getEstateType())) {
|
||||
evaluation.setEstateType(model.getEstateType());
|
||||
}
|
||||
if (ArrayUtils.isNotEmpty(model.getBuildQuality())) {
|
||||
evaluation.setBuildQuality(convertToString(model.getBuildQuality()));
|
||||
}
|
||||
|
||||
+9
@@ -467,6 +467,15 @@ public class ShopSellController {
|
||||
evaluation.setAge(model.getAge());
|
||||
}
|
||||
evaluation.setArea(model.getSize());
|
||||
if (model.getRadius() != null) {
|
||||
evaluation.setRadius(model.getRadius());
|
||||
}
|
||||
if (StringUtils.isNotBlank(model.getTags())) {
|
||||
evaluation.setTags(model.getTags());
|
||||
}
|
||||
if (StringUtils.isNotBlank(model.getEstateType())) {
|
||||
evaluation.setEstateType(model.getEstateType());
|
||||
}
|
||||
if (ArrayUtils.isNotEmpty(model.getBuildQuality())) {
|
||||
evaluation.setBuildQuality(convertToString(model.getBuildQuality()));
|
||||
}
|
||||
|
||||
+10
@@ -292,6 +292,8 @@ public class PropertyEvaluationModel extends FangjiaApiModel {
|
||||
private Integer level;
|
||||
private Integer type;
|
||||
|
||||
private String tags;
|
||||
|
||||
public void setDecorationAge(int decorationAge) {
|
||||
this.decorationAge = decorationAge;
|
||||
}
|
||||
@@ -942,4 +944,12 @@ public class PropertyEvaluationModel extends FangjiaApiModel {
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getTags() {
|
||||
return tags;
|
||||
}
|
||||
|
||||
public void setTags(String tags) {
|
||||
this.tags = tags;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user