package com.agentdriving.driver.modular.system.service; import com.agentdriving.driver.modular.system.model.SystemMessage; import com.baomidou.mybatisplus.service.IService; import com.agentdriving.driver.modular.system.warpper.SystemMessageWarpper; import java.util.List; /** * 系统消息 * @author pzb * @Date 2023/2/10 15:34 */ public interface ISystemMessageService extends IService { /** * 获取个人系统消息列表 * @param uid * @param pageNum * @param size * @return * @throws Exception */ List querySystemMessageList(Integer uid, Integer pageNum, Integer size) throws Exception; /** * 阅读系统消息 * @param uid * @param ids * @throws Exception */ void readSystems(Integer uid, String ids) throws Exception; /** * 添加系统消息 * @param userId 接收用户id * @param userType 接收用户类型 * @param title 标题 * @param content 消息内容 * @throws Exception */ void addSystemMessage(Integer userId, Integer userType, String title, String content) throws Exception; /** * 清空系统消息 * @param userId */ void clearSystemMessage(Integer userId) throws Exception; }