he2802 2 vuotta sitten
vanhempi
commit
3a4691dcf1

+ 0 - 3
zhongzheng-system/src/main/resources/mapper/modules/course/CourseMapper.xml

@@ -619,9 +619,6 @@
         AND og.refund_status in (0,3)
         AND og.pay_status in (2,3,4)
         AND g.goods_type =8
-        <if test="pageNum == null">
-            and (SELECT count(*) from class_grade cg where (cg.class_end_time >  unix_timestamp(now()) or ISNULL(cg.class_end_time)) and cg.grade_id = og.grade_id ) >0
-        </if>
         <if test="userId != null and userId != ''">
             and o.user_id = #{userId}
         </if>