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);
|
}
|