liujunchi 3 years ago
parent
commit
ccb9a230f4

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

@@ -477,7 +477,7 @@
                 or ms.composer_ like concat('%',#{param.idAndName},'%'))
             </if>
             <if test="param.teacherId != null">
-                and ms.create_by_ = #{param.teacherId}
+                and ms.create_by_ = #{param.teacherId} and ms.source_type_ = 'TEACHER'
             </if>
             <if test="param.startTime != null">
                 and ms.create_time_ &gt; #{param.startTime}