MovieMapper.java
900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.hui.iqiyi.mapper;
import com.hui.iqiyi.entity.Movie;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hui.iqiyi.request.ProRequest;
import com.hui.iqiyi.response.MovieResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* Mapper 电影表
* </p>
*
* @author jobob
* @since 2021-06-03
*/
@Repository
@Mapper
public interface MovieMapper extends BaseMapper<Movie> {
/**
* 修改优先级分开写,因为需要关联更新
*
* @return
*/
int updateMoviePriority(Movie movie);
//查询总体下载情况
List<Movie> selectAllPopulation();
/**
* 近七日同步
*
* @return
*/
List<MovieResponse> selectAllSevenxz(@Param("proRequest") ProRequest proRequest);
}