소스 검색

酷乐秀曲目来源改为内容平台

zouxuan 1 년 전
부모
커밋
ffc53a30e7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      cooleshow-user/user-biz/src/main/resources/config/mybatis/SubjectMapper.xml

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

@@ -241,6 +241,7 @@
         FROM subject t
         LEFT JOIN instrument i on t.id_ = i.subject_id_
         <where>
+            AND t.cbs_subject_id_ is not null
             <if test="parentSubjectId != null">
                 AND t.parent_subject_id_ = #{parentSubjectId}
             </if>
@@ -295,6 +296,7 @@
         FROM subject t
         LEFT JOIN instrument i on t.id_ = i.subject_id_
         <where>
+            AND t.cbs_subject_id_ is not null
             <if test="parentSubjectId != null">
                 AND t.parent_subject_id_ = #{parentSubjectId}
             </if>