Commit 34687ec4 authored by lixuan's avatar lixuan

feat: 房源

parent d774cc24
Pipeline #145522 canceled with stages
......@@ -72,7 +72,7 @@ public class HouseResourcePageQuery extends PageDomain {
private BigDecimal unitPriceMax;
private Boolean gsFlag;
private Integer gsFlag;
private String industryClassification;
......
......@@ -404,6 +404,9 @@ public class HouseResourceServiceImpl implements HouseResourceService {
List<String> houseResourceIds = list.stream().map(HouseResourcePage::getId).collect(Collectors.toList());
List<HouseResourceBusinessEntityInfoMapping> houseResourceMappings = houseResourceBusinessEntityInfoMappingMapper.selectByHouseResourceIds(houseResourceIds);
if (CollectionUtils.isEmpty(houseResourceMappings)) {
return businessEntityStatisticsDetail;
}
List<BusinessEntityInfo> businessEntityInfos = businessEntityInfoMapper.selectByIdList(houseResourceMappings.stream().map(HouseResourceBusinessEntityInfoMapping::getBusinessEntityInfoId).collect(Collectors.toList()));
if (CollectionUtils.isEmpty(businessEntityInfos)) {
return businessEntityStatisticsDetail;
......
......@@ -195,7 +195,7 @@
<if test="query.unitPriceMax != null and query.unitPriceMax != ''">
and t1.unit_price <![CDATA[ <= ]]> #{query.unitPriceMax}
</if>
<if test="query.gsFlag != null and query.gsFlag != ''">
<if test="query.gsFlag != null">
and t4.gs = ${query.gsFlag}
</if>
<if test="query.industryClassification != null and query.industryClassification != ''">
......@@ -366,7 +366,7 @@
<if test="query.unitPriceMax != null and query.unitPriceMax != ''">
and t1.unit_price <![CDATA[ <= ]]> #{query.unitPriceMax}
</if>
<if test="query.gsFlag != null and query.gsFlag != ''">
<if test="query.gsFlag != null">
and t4.gs = ${query.gsFlag}
</if>
<if test="query.industryClassification != null and query.industryClassification != ''">
......@@ -534,7 +534,7 @@
<if test="query.unitPriceMax != null and query.unitPriceMax != ''">
and t1.unit_price <![CDATA[ <= ]]> #{query.unitPriceMax}
</if>
<if test="query.gsFlag != null and query.gsFlag != ''">
<if test="query.gsFlag != null">
and t4.gs = ${query.gsFlag}
</if>
<if test="query.industryClassification != null and query.industryClassification != ''">
......@@ -724,7 +724,7 @@
<if test="query.unitPriceMax != null and query.unitPriceMax != ''">
and t1.unit_price <![CDATA[ <= ]]> #{query.unitPriceMax}
</if>
<if test="query.gsFlag != null and query.gsFlag != ''">
<if test="query.gsFlag != null">
and t4.gs = ${query.gsFlag}
</if>
<if test="query.industryClassification != null and query.industryClassification != ''">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment