Pu Zhibing
2 天以前 3ed8156b12d445bb4e374a7ee43696c60c10c58c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.stylefeng.guns.modular.system.dao;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.system.model.Advertisement;
import com.stylefeng.guns.modular.system.warpper.AdvertisementWarpper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface AdvertisementMapper extends BaseMapper<Advertisement> {
 
 
    /**
     * 获取广告
     * @param type  广告类型(1:弹窗广告,2:底部广告)
     * @return
     * @throws Exception
     */
    List<AdvertisementWarpper> queryAdvertisement(@Param("code") String code, @Param("type") Integer type);
}