|
@@ -589,7 +589,6 @@
|
|
|
and (SELECT count(*) from user_study_record usr where usr.user_id = o.user_id and usr.order_goods_id = og.order_goods_id ) >0
|
|
|
</if>
|
|
|
<if test="studyStatus != null and studyStatus == 1">
|
|
|
- and (SELECT count(*) from class_grade_user cgu where cgu.user_id = o.user_id and cgu.grade_id = og.grade_id and cgu.period_status = -1) >0
|
|
|
and (SELECT count(*) from user_study_record usr where usr.user_id = o.user_id and usr.order_goods_id = og.order_goods_id ) =0
|
|
|
</if>
|
|
|
order by o.create_time desc
|