|
@@ -1367,7 +1367,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
fs_course_watch_log l
|
|
|
LEFT JOIN company_user ON l.company_user_id = company_user.user_id
|
|
|
where
|
|
|
- l.log_type != 3
|
|
|
+ l.log_type != 3 and send_type = 1
|
|
|
<if test="userId != null and userId != 0 ">
|
|
|
and (l.company_user_id = #{userId} OR company_user.parent_id = #{userId} )
|
|
|
</if>
|
|
@@ -1391,7 +1391,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
fs_course_watch_log l
|
|
|
LEFT JOIN company_user ON l.company_user_id = company_user.user_id
|
|
|
where
|
|
|
- l.log_type = 2
|
|
|
+ l.log_type = 2 and send_type = 1
|
|
|
<if test="userId != null and userId != 0 ">
|
|
|
and (l.company_user_id = #{userId} OR company_user.parent_id = #{userId} )
|
|
|
</if>
|