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
48
49
50
51
52
package cn.chnmuseum.party.mapper;
import cn.chnmuseum.party.model.Audit;
import cn.chnmuseum.party.model.TUser;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* <pre>
* 学习内容信息 Mapper 接口
* </pre>
*
* @author Danny Lee
* @since 2021-03-26
*/
public interface AuditMapper extends BaseMapper<Audit> {
List<Audit> getUserList(Page<Audit> page, @Param("user") TUser user);
/**
* 视频内容审核分页
*
* @param page
* @param wrapper
* @return
*/
Page<Audit> getVideoContentPage(Page<Audit> page, @Param(Constants.WRAPPER) Wrapper<Audit> wrapper);
/**
* 展板审核分页
*
* @param page
* @param wrapper
* @return
*/
Page<Audit> getExhibitionBoardPage(Page<Audit> page, @Param(Constants.WRAPPER) Wrapper<Audit> wrapper);
/**
* 平台学习内容审核分页
*
* @param page
* @param wrapper
* @return
*/
Page<Audit> getLearningContentPage(Page<Audit> page, @Param(Constants.WRAPPER) Wrapper<Audit> wrapper);
}