소스 검색

//vodeo

private_deployment
xhxu 2 년 전
부모
커밋
0bf5b79959
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -1
      suimangAdmin/src/main/java/com/iformall/schedule/VideoSchedule.java
  2. +1
    -1
      suimangService/src/main/resources/mapper/UserMouldVideoMapper.xml

+ 1
- 1
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<UserMouldVideo> videos = userMouldVideoService.getVideoSizeNullList();
if (videos != null && videos.size() > 0) {


+ 1
- 1
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 = '')
</select>

<select id="getVideoSizeNullList" resultMap="BaseResultMap">


불러오는 중...
취소
저장