查询场馆列表数据
This commit is contained in:
@@ -612,13 +612,14 @@
|
||||
a.sale_num as 'saleNum',(a.num-a.sale_num) as 'limitNum',
|
||||
IFNULL(t.orderUsers,'暂无预订') as 'orderUsers',a.note
|
||||
from sv_venue_lesson a LEFT JOIN
|
||||
(select b.lesson_id,group_concat(d.nickname,'(',d.mobile,')') as 'orderUsers'
|
||||
(select b.lesson_id,group_concat(d.nickname,'(',d.mobile,')','<![CDATA[ <br/> ]]>') as 'orderUsers'
|
||||
from sv_member_lesson_ticket b , sv_member d
|
||||
where b.member_id = d.id
|
||||
and b.`status` != '2'
|
||||
GROUP BY b.lesson_id) t on a.id = t.lesson_id
|
||||
where a.date = #{searchDate}
|
||||
where a.date <![CDATA[ >= ]]> NOW()
|
||||
AND a.date <![CDATA[ <= ]]> DATE_ADD(NOW(),INTERVAL 2 DAY)
|
||||
and a.venue_id = #{venueId}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user