package com.dsh.course.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.dsh.course.entity.TNotices; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; public interface TNoticesMapper extends BaseMapper { /** * 获取公告列表 * @param type * @return */ List queryNotices(@Param("type") Integer type); /** * 获取用户的公告数据 * @param pageNum * @param size * @param uid * @return */ List> queryList(@Param("pageNum") Integer pageNum, @Param("size") Integer size, @Param("uid") Integer uid, @Param("userType") Integer userType,@Param("language") Integer language); List> getRollingNoticeList(@Param("page") Page> page, @Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("typeValue") Integer typeValue, @Param("content") String content, @Param("yy") Integer yy); }