mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
新增 用户添加/取消收藏站点接口、用户查询收藏站点列表接口
This commit is contained in:
@@ -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>
|
||||
@@ -386,6 +386,12 @@
|
||||
#{stationDeptId}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="stationDTO.stationIds != null and stationDTO.stationIds.size() != 0">
|
||||
and t1.id in
|
||||
<foreach collection="stationDTO.stationIds" item="stationId" open="(" separator="," close=")">
|
||||
#{stationId}
|
||||
</foreach>
|
||||
</if>
|
||||
GROUP BY
|
||||
t1.id,
|
||||
t1.station_name,
|
||||
|
||||
Reference in New Issue
Block a user