瀏覽代碼

老师收入添加VIP课

刘俊驰 6 月之前
父節點
當前提交
ed54761106

+ 2 - 2
cooleshow-user/user-biz/src/main/resources/config/mybatis/UserAccountRecordMapper.xml

@@ -81,7 +81,7 @@
             a.end_time_ as endTime
         from user_cash_account_record t
         left join sys_user u on t.account_id_ = u.id_
-        left join course_schedule a on t.biz_id_ = a.id_ and t.biz_type_ in ('PRACTICE','LIVE','LIVE_SHARE')
+        left join course_schedule a on t.biz_id_ = a.id_ and t.biz_type_ in ('PRACTICE','LIVE','LIVE_SHARE','VIP_COURSE')
         <where>
             <if test="null != param.search and '' != param.search">
                 AND (
@@ -259,7 +259,7 @@
             where t.biz_type_ != 'LIVE'
             <include refid="selectCondition"/>
         ) t
-        left join course_schedule a on t.biz_id_ = a.id_ and t.biz_type_ in ('PRACTICE','LIVE')
+        left join course_schedule a on t.biz_id_ = a.id_ and t.biz_type_ in ('PRACTICE','LIVE','VIP_COURSE')
         order by t.update_time_ desc,t.id_ desc
     </select>