From 0bf5b799594da3b157fbd2fde3144c8064dfc238 Mon Sep 17 00:00:00 2001 From: xhxu Date: Tue, 14 Feb 2023 17:02:14 +0800 Subject: [PATCH] //vodeo --- .../src/main/java/com/iformall/schedule/VideoSchedule.java | 2 +- .../src/main/resources/mapper/UserMouldVideoMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/suimangAdmin/src/main/java/com/iformall/schedule/VideoSchedule.java b/suimangAdmin/src/main/java/com/iformall/schedule/VideoSchedule.java index d84d26e..25b855e 100644 --- a/suimangAdmin/src/main/java/com/iformall/schedule/VideoSchedule.java +++ b/suimangAdmin/src/main/java/com/iformall/schedule/VideoSchedule.java @@ -51,7 +51,7 @@ public class VideoSchedule { /** * 获取时长和大小 */ - @Scheduled(cron = "15 */30 * * * *?") // 每小时检查一次 + @Scheduled(cron = "0 15/30 * * * *?") // 每小时检查一次 public void couponVideoDetailSchedule() { List videos = userMouldVideoService.getVideoSizeNullList(); if (videos != null && videos.size() > 0) { diff --git a/suimangService/src/main/resources/mapper/UserMouldVideoMapper.xml b/suimangService/src/main/resources/mapper/UserMouldVideoMapper.xml index 531e8f4..ce0f07c 100644 --- a/suimangService/src/main/resources/mapper/UserMouldVideoMapper.xml +++ b/suimangService/src/main/resources/mapper/UserMouldVideoMapper.xml @@ -128,7 +128,7 @@ from user_mould_video where `is_del` = 0 and video_path is not null and video_path != '' - and (video_id is null or video_id == '') + and (video_id is null or video_id = '')