|
@@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
COUNT(CASE WHEN day = 1 and status in (1,2) THEN 1 END) AS d1Online,
|
|
COUNT(CASE WHEN day = 1 and status in (1,2) THEN 1 END) AS d1Online,
|
|
COUNT(CASE WHEN day = 1 and status=2 THEN 1 END) AS d1Over,
|
|
COUNT(CASE WHEN day = 1 and status=2 THEN 1 END) AS d1Over,
|
|
COUNT(1) AS line,project,course_id,video_id,company_id
|
|
COUNT(1) AS line,project,course_id,video_id,company_id
|
|
- from qw_watch_log
|
|
|
|
|
|
+ from hy_watch_log
|
|
<where>
|
|
<where>
|
|
<if test="companyUserIds != null and companyUserIds.size() != 0">
|
|
<if test="companyUserIds != null and companyUserIds.size() != 0">
|
|
and company_user_id in
|
|
and company_user_id in
|
|
@@ -131,7 +131,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
COUNT(CASE WHEN day = 30 and status in (1,2) THEN 1 END) AS d30Online,
|
|
COUNT(CASE WHEN day = 30 and status in (1,2) THEN 1 END) AS d30Online,
|
|
COUNT(CASE WHEN day = 30 and status=2 THEN 1 END) AS d30Over,
|
|
COUNT(CASE WHEN day = 30 and status=2 THEN 1 END) AS d30Over,
|
|
COUNT(1) AS line,project,course_id,video_id
|
|
COUNT(1) AS line,project,course_id,video_id
|
|
- from qw_watch_log
|
|
|
|
|
|
+ from hy_watch_log
|
|
<where>
|
|
<where>
|
|
<if test="companyUserIds != null">
|
|
<if test="companyUserIds != null">
|
|
and company_user_id in
|
|
and company_user_id in
|
|
@@ -155,7 +155,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
SELECT COUNT(*)
|
|
SELECT COUNT(*)
|
|
FROM (
|
|
FROM (
|
|
SELECT 1
|
|
SELECT 1
|
|
- FROM qw_watch_log
|
|
|
|
|
|
+ FROM hy_watch_log
|
|
<where>
|
|
<where>
|
|
<if test="companyUserIds != null and companyUserIds.size() != 0">
|
|
<if test="companyUserIds != null and companyUserIds.size() != 0">
|
|
and company_user_id in
|
|
and company_user_id in
|
|
@@ -205,7 +205,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<select id="selectQwWatchLogAllStatisticsListVONewCount" resultType="java.lang.Long">
|
|
<select id="selectQwWatchLogAllStatisticsListVONewCount" resultType="java.lang.Long">
|
|
select
|
|
select
|
|
count(1)
|
|
count(1)
|
|
- from qw_watch_log
|
|
|
|
|
|
+ from hy_watch_log
|
|
<where>
|
|
<where>
|
|
<if test="companyUserId">
|
|
<if test="companyUserId">
|
|
and company_user_id in
|
|
and company_user_id in
|