This commit is contained in:
shuo.wang
2025-04-01 17:08:40 +08:00
parent 4b59c1659e
commit 20f3f36347
8 changed files with 27 additions and 15 deletions

View File

@@ -112,7 +112,7 @@
</foreach>
</if>
<if test="request.areaCode!=null and request.areaCode!=''">
and (province_code = #{request.areaCode} || city_code = #{request.areaCode} || county_code = #{request.areaCode})
and (province_code = #{request.areaCode} or city_code = #{request.areaCode} or district_code = #{request.areaCode})
</if>
order by id desc
</select>
@@ -213,7 +213,7 @@
and storage_status = #{request.storageStatus}
</if>
<if test="request.areaCode!=null and request.areaCode!=''">
and (province_code = #{request.areaCode} || city_code = #{request.areaCode} || county_code = #{request.areaCode})
and (province_code = #{request.areaCode} or city_code = #{request.areaCode} or district_code = #{request.areaCode})
</if>
order by id desc
</select>
@@ -235,13 +235,17 @@
a.create_time as createTime,
a.opportunity_point_code as opportunityPointCode,
a.opportunity_point_name as opportunityPointName,
a.picture_obj as pictureObj,
c.picture_obj as pictureObj,
a.point_area as pointArea,
b.landlord_mobile as landlordMobile,
b.month_rent as monthRent,
c.landlord_mobile as landlordMobile,
c.month_rent as monthRent
from xfsg_point_info a
left join xfsg_point_recommend b on a.id = b.point_id
where a.line_id = #{lineId} and a.point_source = 2
LEFT JOIN xfsg_point_detail_info c on a.id = c.point_id
<if test="request.areaCode!=null and request!=''">
and (a.province_code = #{request.areaCode} or a.city_code = #{request.areaCode} or a.district_code =
#{request.areaCode})
</if>
</select>
<update id="recyclePoint">