package com.supersavedriving.driver.modular.system.service;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.supersavedriving.driver.modular.system.model.SystemBulletin;
|
import com.supersavedriving.driver.modular.system.warpper.SystemBulletinInfo;
|
import com.supersavedriving.driver.modular.system.warpper.SystemBulletinListWarpper;
|
|
import java.util.List;
|
|
public interface ISystemBulletinService extends IService<SystemBulletin> {
|
|
|
/**
|
* 获取系统公告列表
|
* @param uid 司机id
|
* @param pageNum 页码
|
* @param size 页条数
|
* @return
|
* @throws Exception
|
*/
|
List<SystemBulletinListWarpper> querySystemBulletinList(Integer uid, Integer pageNum, Integer size) throws Exception;
|
|
|
/**
|
* 获取公告详情
|
* @param id
|
* @return
|
* @throws Exception
|
*/
|
SystemBulletinInfo querySystemBulletinInfo(Long id) throws Exception;
|
|
|
/**
|
* 清空系统公告
|
* @param userId
|
* @throws Exception
|
*/
|
void clearSystemBulletinUser(Integer userId) throws Exception;
|
}
|