mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 12:35:07 +08:00
update
This commit is contained in:
@@ -121,4 +121,22 @@
|
||||
left join pile_station_info t3 on t3.id = t1.station_id
|
||||
where t1.del_flag = '0'
|
||||
</select>
|
||||
|
||||
<select id="queryMemberDiscount" resultType="com.jsowell.pile.vo.web.MemberDiscountVO">
|
||||
SELECT
|
||||
t1.group_code AS groupCode,
|
||||
t1.group_type AS groupType,
|
||||
t1.discount AS discount,
|
||||
t1.merchant_id AS merchantId,
|
||||
t1.station_id AS stationId
|
||||
FROM
|
||||
member_group t1
|
||||
JOIN member_group_relation t2 ON t2.group_code = t1.group_code
|
||||
AND t2.del_flag = '0'
|
||||
WHERE
|
||||
t1.del_flag = '0'
|
||||
AND t1.merchant_id = #{merchantId,jdbcType=VARCHAR}
|
||||
AND t1.station_id = #{stationId,jdbcType=VARCHAR}
|
||||
AND t2.member_id = #{memberId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user