release: APP门店列表页不返回description

release-2024-04-25
huangyw 3 months ago
parent 836a343cfe
commit 2279b22b22

@ -27,7 +27,22 @@
</resultMap>
<select id="getListForApp" resultMap="BaseResultMap">
SELECT t1.*, t2.avatar contact_avatar, t2.nick_name contact_nick_name,
SELECT
t1.id,
t1.name,
t1.region_id,
t1.address,
t1.lng,
t1.lat,
t1.contact,
t1.phone,
t1.tel,
t1.opening_hours,
t1.background,
t1.status,
t1.visit_count,
t1.introduction,
t1.code, t2.avatar contact_avatar, t2.nick_name contact_nick_name,
st_distance_sphere(point(lng, lat), point(#{storeSearchDto.lng}, #{storeSearchDto.lat})) as distance
FROM tb_store t1
left join tb_user_info t2

Loading…
Cancel
Save