package com.stylefeng.guns.modular.system.dao;
|
|
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
import com.stylefeng.guns.modular.system.model.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);
|
}
|