xiaoyong931011
2021-12-17 5d9add8982a94cabc61c4acfb7573e8ca6f2e39d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package cc.mrbird.febs.video.mapper;
 
import cc.mrbird.febs.video.entity.VideoMasterItemsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface VideoMasterItemsMapper extends BaseMapper<VideoMasterItemsEntity> {
 
    int updateVideoUrlBySourceId(@Param("url") String url, @Param("sourceId") Long sourceId);
 
    List<VideoMasterItemsEntity> selectItemsByMasterId(@Param("masterId") Long masterId);
 
    int deleteNotInIds(@Param("list") List<Long> list, @Param("masterId") Long masterId);
 
//    int batchInsert(@Param("list") List<VideoMasterItemsEntity> list);
 
    VideoMasterItemsEntity selectItemByVideoIdAndItemId(@Param("videoId") Long videoId, @Param("itemId") Long itemId);
}