|
|
@@ -625,8 +625,12 @@ public interface FsCourseWatchLogMapper extends BaseMapper<FsCourseWatchLog> {
|
|
|
List<WatchLogDTO> selectFsCourseWatchLog30DayByExtId(@Param("extId") Long extId);
|
|
|
|
|
|
@Select("SELECT * FROM fs_course_watch_log " +
|
|
|
- "WHERE log_type = 2 AND send_finish_msg = 0 and send_type = 2 " +
|
|
|
- "AND send_type = 2 and finish_time >= #{startDate} AND finish_time < #{endDate} and log_id > #{maxId} order by log_id asc " +
|
|
|
+ "WHERE send_type = 2 " +
|
|
|
+ "AND log_type = 2 " +
|
|
|
+ "AND send_finish_msg = 0 " +
|
|
|
+ "AND finish_time >= #{startDate} AND finish_time < #{endDate} " +
|
|
|
+ "AND log_id > #{maxId} " +
|
|
|
+ "ORDER BY log_id ASC " +
|
|
|
"LIMIT #{limit}")
|
|
|
List<FsCourseWatchLog> selectFsCourseWatchLogFinishBatchByDate(
|
|
|
@Param("startDate") Date startDate,
|