liujunchi 3 年之前
父節點
當前提交
87a17a6627
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cooleshow-user/user-biz/src/main/resources/config/mybatis/CourseGroupMapper.xml

+ 1 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/CourseGroupMapper.xml

@@ -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>