فهرست منبع

未完课推送sql修改

wangxy 1 هفته پیش
والد
کامیت
cc4d50a2aa
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      fs-service/src/main/java/com/fs/course/mapper/FsCourseWatchLogMapper.java

+ 1 - 2
fs-service/src/main/java/com/fs/course/mapper/FsCourseWatchLogMapper.java

@@ -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 " +