|
@@ -71,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN qw_external_contact qec on l.qw_external_contact_id = qec.id
|
|
|
<where>
|
|
|
<if test ='maps.isVip != null and maps.isVip == 0'>
|
|
|
- and (l.user_id = #{maps.isVip} or l.user_id is null)
|
|
|
+ and (l.user_id = 0 or l.user_id is null)
|
|
|
</if>
|
|
|
<if test ='maps.isVip != null and maps.isVip == 1'>
|
|
|
and l.user_id != 0 and l.user_id is not null
|
|
@@ -167,7 +167,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
select l.log_id,l.user_id,uc.course_name,v.title as video_name,u.nick_name as fsNickName, u.avatar as fsAvatar,
|
|
|
l.log_type,SEC_TO_TIME(l.duration) as duration,c.company_name,l.camp_period_time,l.finish_time,
|
|
|
cu.nick_name as company_user_name ,l.send_type,l.create_time, qu.qw_user_name,qec.name as external_user_name
|
|
|
- from fs_course_watch_log l
|
|
|
+ from · l
|
|
|
left join fs_user_course_video v on v.video_id = l.video_id
|
|
|
left join fs_user_course uc on uc.course_id = l.course_id
|
|
|
left join fs_user u on u.user_id = l.user_id
|