xuhy
2023-08-11 1ec67d10e570856dd15160507dd823ea1b19863e
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
package com.stylefeng.guns.modular.system.dao;
 
import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.system.model.TAdvertisement;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 广告 Mapper 接口
 * </p>
 *
 * @author 吕雪
 * @since 2020-06-02
 */
public interface TAdvertisementMapper extends BaseMapper<TAdvertisement> {
 
    /**
     * 根据条件查询广告列表
     * @param page      分页
     * @param beginTime 开始时间
     * @param endTime   结束时间
     * @param type      类型
     * @param name      名称
     * @return
     */
    List<Map<String,Object>> getAdvertisementList(@Param("page") Page<Map<String, Object>> page,
                                         @Param("beginTime") String beginTime,
                                         @Param("endTime") String endTime,
                                         @Param("type") Integer type,
                                         @Param("name") String name);
}