|
@@ -237,7 +237,7 @@
|
|
|
left join user_order as o on a.order_no_ = o.order_no_
|
|
|
left join sys_user as su on o.user_id_ = su.id_
|
|
|
<where>
|
|
|
- a.good_type_ = 'LIVE'
|
|
|
+ a.good_type_ = 'LIVE' and o.status_ = 'PAID'
|
|
|
<if test="param.courseGroupId != null">
|
|
|
and #{param.courseGroupId} = a.biz_id_
|
|
|
</if>
|