瀏覽代碼

vip定制课

zouxuan 5 月之前
父節點
當前提交
72d18b259e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cooleshow-user/user-biz/src/main/resources/config/mybatis/TeacherMapper.xml

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

@@ -402,7 +402,7 @@
                             WHERE live_state_ = 1 and type_ = 'temp'
                             group by lr.speaker_id_) a on a.speaker_id_ = t.user_id_
         where t.entry_flag_ = 1
-          and t.is_test_user_ = 0
+          and t.is_test_user_ = 0 AND t.lock_flag_ = 0
           and find_in_set(#{subjectId}, t.subject_id_)
         order by tt.fans_num_ desc
         limit 10