|
|
@@ -216,11 +216,15 @@
|
|
|
b.publish_time publishTime,
|
|
|
b.competition_img competitionImg,
|
|
|
a.voucher_price voucherPrice,
|
|
|
+ d.name siteName,
|
|
|
+ e.venue_name venueName,
|
|
|
COALESCE(a.competition_name, c.username) AS competitionName,
|
|
|
COALESCE(a.competition_mobile, c.mobile) AS competitionMobile
|
|
|
from beilv_vip_card_log a
|
|
|
left join beilv_competition b on a.bus_id = b.id
|
|
|
left join sys_member c on a.user_id = c.id
|
|
|
+ left join beilv_site d on b.competition_place = d.id
|
|
|
+ left join beilv_venue e on d.venue_id = e.id
|
|
|
<where>
|
|
|
and (payment_status = 'payment_status_have_paid' or payment_status = 'payment_status_verification')
|
|
|
<if test="userId != null and userId != ''">
|