AuditMapper.java 1.32 KB
Newer Older
wzp's avatar
wzp committed
1 2
package cn.wisenergy.chnmuseum.party.mapper;

liqin's avatar
liqin committed
3
import cn.wisenergy.chnmuseum.party.model.Audit;
wzp's avatar
wzp committed
4
import cn.wisenergy.chnmuseum.party.model.TUser;
5
import com.baomidou.mybatisplus.core.conditions.Wrapper;
wzp's avatar
wzp committed
6
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
7
import com.baomidou.mybatisplus.core.toolkit.Constants;
wzp's avatar
wzp committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
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> {

wzp's avatar
wzp committed
23
    List<Audit> getUserList(Page<Audit> page, @Param("user") TUser user);
24 25

    /**
liqin's avatar
liqin committed
26
     * 视频内容审核分页
27 28 29 30 31
     *
     * @param page
     * @param wrapper
     * @return
     */
liqin's avatar
liqin committed
32
    Page<Audit> getVideoContentPage(Page<Audit> page, @Param(Constants.WRAPPER) Wrapper<Audit> wrapper);
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51

    /**
     * 展板审核分页
     *
     * @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);

wzp's avatar
wzp committed
52
}