|
@@ -60,7 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="selectFsCourseWatchLogListVO" resultType="com.fs.course.vo.FsCourseWatchLogListVO">
|
|
<select id="selectFsCourseWatchLogListVO" resultType="com.fs.course.vo.FsCourseWatchLogListVO">
|
|
|
- select l.log_id,l.project,l.period_id,l.user_id,uc.course_name,v.title as video_name,qec.avatar as external_user_avatar,
|
|
|
|
|
|
|
+ select l.log_id,l.project,l.period_id,l.user_id,uc.course_name,v.title as video_name,qec.avatar as external_user_avatar,qec.status as externalStatus,
|
|
|
l.log_type,SEC_TO_TIME(l.duration) as duration,c.company_name,l.camp_period_time,l.finish_time,
|
|
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,l.update_time,l.last_heartbeat_time,
|
|
cu.nick_name as company_user_name ,l.send_type,l.create_time,l.update_time,l.last_heartbeat_time,
|
|
|
qu.qw_user_name,qec.name as external_user_name,c.company_id,u.avatar as fsAvatar,u.nick_name as fsNickName,qec.create_time as qec_create_time,
|
|
qu.qw_user_name,qec.name as external_user_name,c.company_id,u.avatar as fsAvatar,u.nick_name as fsNickName,qec.create_time as qec_create_time,
|
|
@@ -161,6 +161,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="maps.sopId != null and maps.sopId != '' ">
|
|
<if test="maps.sopId != null and maps.sopId != '' ">
|
|
|
and l.sop_id = #{maps.sopId}
|
|
and l.sop_id = #{maps.sopId}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="maps.externalStatus != null and maps.externalStatus != '' ">
|
|
|
|
|
+ and qec.status = #{maps.externalStatus}
|
|
|
|
|
+ </if>
|
|
|
<if test="maps.periodId != null">
|
|
<if test="maps.periodId != null">
|
|
|
and l.period_id = #{maps.periodId}
|
|
and l.period_id = #{maps.periodId}
|
|
|
</if>
|
|
</if>
|