商铺样本查询优化

This commit is contained in:
liuhongyang
2025-04-28 16:43:23 +08:00
parent 173264b61b
commit 0ac1d7d16d
9 changed files with 168 additions and 2 deletions
@@ -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()));
}
@@ -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()));
}
@@ -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;
}
}