mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 12:35:07 +08:00
查询会员组的站点列表
This commit is contained in:
@@ -227,4 +227,16 @@
|
||||
and t1.merchant_id = #{merchantId,jdbcType=VARCHAR}
|
||||
and find_in_set(#{stationId,jdbcType=VARCHAR}, t1.station_id)
|
||||
</select>
|
||||
|
||||
<select id="queryStationList" resultType="com.jsowell.pile.vo.base.MemberGroupStationVO">
|
||||
SELECT
|
||||
t1.id,
|
||||
t1.station_name,
|
||||
t2.remark
|
||||
FROM
|
||||
pile_station_info t1
|
||||
JOIN pile_billing_template t2 ON t2.station_id = t1.id AND t2.del_flag = '0' AND t2.member_flag = '1'
|
||||
WHERE
|
||||
FIND_IN_SET(t1.id, (SELECT station_id FROM member_group WHERE group_code = #{groupCode,jdbcType=VARCHAR}))
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user