Helius
2021-12-16 8fb29eb05a29096e4aebf9c50d694e347e8ea04c
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);
}