2 Commits a9c1238fca ... d0b00efe70

Author SHA1 Message Date
  liujc d0b00efe70 Merge branch 'feature/0822_logoff' into test 1 month ago
  liujc 295bc178e6 fix 1 month ago

+ 7 - 7
cooleshow-user/user-biz/src/main/resources/config/mybatis/StudentStarMapper.xml

@@ -19,8 +19,8 @@
 			t.teacher_id_ as userId,
 			count(1) as fansNum
 		from student_star t
-		left join sys_user us on t.teacher_id_ = us.id_
-		left join sys_user ut on t.student_id_ = ut.id_
+<!--		left join sys_user us on t.teacher_id_ = us.id_-->
+<!--		left join sys_user ut on t.student_id_ = ut.id_-->
 <!--		where us.del_flag_ = 0 and ut.del_flag_ = 0-->
 		group by t.teacher_id_
 	</select>
@@ -30,8 +30,8 @@
 			t.student_id_ as userId,
 			count(1) as starTeacherNum
 		from student_star t
-		left join sys_user us on t.teacher_id_ = us.id_
-		left join sys_user ut on t.student_id_ = ut.id_
+<!--		left join sys_user us on t.teacher_id_ = us.id_-->
+<!--		left join sys_user ut on t.student_id_ = ut.id_-->
 <!--		where us.del_flag_ = 0 and ut.del_flag_ = 0-->
 		group by t.student_id_
 	</select>
@@ -40,10 +40,10 @@
 		select
 			<include refid="baseColumns"/>
 		from student_star t
-		left join sys_user us on t.teacher_id_ = us.id_
-		left join sys_user ut on t.student_id_ = ut.id_
+<!--		left join sys_user us on t.teacher_id_ = us.id_-->
+<!--		left join sys_user ut on t.student_id_ = ut.id_-->
 <!--		where us.del_flag_ = 0 and ut.del_flag_ = 0-->
-		and t.student_id_ = #{studentId} and t.teacher_id_ = #{teacherId}
+        where t.student_id_ = #{studentId} and t.teacher_id_ = #{teacherId}
 	</select>
 	
 	<select id="queryByStudentId" resultMap="BaseResultMap">