mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-26 04:39:26 +08:00
代码格式化
This commit is contained in:
@@ -1,20 +1,25 @@
|
||||
package xyz.playedu.api.service;
|
||||
|
||||
import xyz.playedu.api.domain.ResourceVideo;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【resource_videos】的数据库操作Service
|
||||
* @createDate 2023-03-02 15:13:03
|
||||
*/
|
||||
public interface ResourceVideoService extends IService<ResourceVideo> {
|
||||
|
||||
void create(Integer resourceId, Integer duration, String poster);
|
||||
|
||||
void removeByRid(Integer resourceId);
|
||||
|
||||
List<ResourceVideo> chunksByRids(List<Integer> resourceIds);
|
||||
}
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
import xyz.playedu.api.domain.ResourceVideo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【resource_videos】的数据库操作Service
|
||||
* @createDate 2023-03-02 15:13:03
|
||||
*/
|
||||
public interface ResourceVideoService extends IService<ResourceVideo> {
|
||||
|
||||
void create(Integer resourceId, Integer duration, String poster);
|
||||
|
||||
void removeByRid(Integer resourceId);
|
||||
|
||||
List<ResourceVideo> chunksByRids(List<Integer> resourceIds);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user