|
@@ -203,8 +203,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
) AS grouped_data
|
|
) AS grouped_data
|
|
</select>
|
|
</select>
|
|
<select id="selectQwWatchLogAllStatisticsListVONewCount" resultType="java.lang.Long">
|
|
<select id="selectQwWatchLogAllStatisticsListVONewCount" resultType="java.lang.Long">
|
|
|
|
+ select count(*) from(
|
|
select
|
|
select
|
|
- count(1)
|
|
|
|
|
|
+ 1
|
|
from hy_watch_log
|
|
from hy_watch_log
|
|
<where>
|
|
<where>
|
|
<if test="companyUserIds != null">
|
|
<if test="companyUserIds != null">
|
|
@@ -224,6 +225,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</if>
|
|
</if>
|
|
and DATE(line_time) between #{sDate} AND #{eDate} group by project,course_id,video_id
|
|
and DATE(line_time) between #{sDate} AND #{eDate} group by project,course_id,video_id
|
|
</where>
|
|
</where>
|
|
|
|
+
|
|
|
|
+ )t
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<insert id="insertQwWatchLog" parameterType="QwWatchLog" useGeneratedKeys="true" keyProperty="id">
|
|
<insert id="insertQwWatchLog" parameterType="QwWatchLog" useGeneratedKeys="true" keyProperty="id">
|