新增 用户添加/取消收藏站点接口、用户查询收藏站点列表接口

This commit is contained in:
Lemon
2025-03-21 09:45:59 +08:00
parent 98e654b0fc
commit 2c8188a17a
9 changed files with 164 additions and 12 deletions

View File

@@ -82,8 +82,14 @@
<select id="getStationIdListByMemberId" resultType="java.lang.String">
select
<include refid="Base_Column_List"/>
station_id
from member_station_relation
where member_id = #{memberId,jdbcType=VARCHAR}
</select>
<delete id="deleteMemberStationRelation">
delete from member_station_relation
where member_id = #{memberId,jdbcType=VARCHAR}
and station_id = #{stationId,jdbcType=BIGINT}
</delete>
</mapper>