|
|
@@ -621,7 +621,7 @@ public interface FsCourseWatchLogMapper extends BaseMapper<FsCourseWatchLog> {
|
|
|
"INNER JOIN ( " +
|
|
|
" SELECT user_id, video_id, MAX(log_id) AS log_id " +
|
|
|
" FROM fs_course_watch_log " +
|
|
|
- " WHERE user_id IS NOT NULL AND user_id=4051515674 " +
|
|
|
+ " WHERE user_id IS NOT NULL " +
|
|
|
" AND watch_type = 1 " +
|
|
|
" AND send_type = 1 " +
|
|
|
" AND create_time >= CURDATE() " +
|
|
|
@@ -631,7 +631,6 @@ public interface FsCourseWatchLogMapper extends BaseMapper<FsCourseWatchLog> {
|
|
|
"WHERE l.log_type <> 2 " +
|
|
|
" AND l.watch_type = 1 " +
|
|
|
" AND l.send_type = 1 " +
|
|
|
- "and l.user_id=4051515674" +
|
|
|
" AND NOT EXISTS ( " +
|
|
|
" SELECT 1 FROM fs_course_watch_log f " +
|
|
|
" WHERE f.user_id = l.user_id " +
|