puzhibing
2023-05-22 c588d0fb5d7b61611b13911e4f0b65e760a7e862
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
36
37
38
39
package com.agentdriving.driver.modular.system.service;
 
import com.agentdriving.driver.modular.system.model.SystemBulletin;
import com.baomidou.mybatisplus.service.IService;
import com.agentdriving.driver.modular.system.warpper.SystemBulletinInfo;
import com.agentdriving.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;
}