puzhibing
2024-01-03 168d852672f8f671a01d6f0f053349d0d321ec7c
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
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);
}