New file |
| | |
| | | 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<TNotices> { |
| | | |
| | | |
| | | /** |
| | | * 获取公告列表 |
| | | * @param type |
| | | * @return |
| | | */ |
| | | List<TNotices> queryNotices(@Param("type") Integer type); |
| | | |
| | | |
| | | /** |
| | | * 获取用户的公告数据 |
| | | * @param pageNum |
| | | * @param size |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | List<Map<String, Object>> queryList(@Param("pageNum") Integer pageNum, @Param("size") Integer size, |
| | | @Param("uid") Integer uid, @Param("userType") Integer userType,@Param("language") Integer language); |
| | | |
| | | List<Map<String,Object>> getRollingNoticeList(@Param("page") Page<Map<String, Object>> page, |
| | | @Param("beginTime") String beginTime, |
| | | @Param("endTime") String endTime, |
| | | @Param("typeValue") Integer typeValue, |
| | | @Param("content") String content, @Param("yy") Integer yy); |
| | | } |