You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
931 B
32 lines
931 B
package com.teaching.backend.service.message; |
|
|
|
import com.baomidou.mybatisplus.extension.service.IService; |
|
import com.teaching.backend.model.dto.courses.PageDTO; |
|
import com.teaching.backend.model.entity.message.UserInbox; |
|
import com.teaching.backend.model.query.MessagesQuery; |
|
import com.teaching.backend.model.vo.message.SysMessageVO; |
|
|
|
import java.util.List; |
|
|
|
/** |
|
* <p> |
|
* 服务类 |
|
* </p> |
|
* |
|
* @author zjh |
|
* @since 2024-08-06 |
|
*/ |
|
public interface IUserInboxService extends IService<UserInbox> { |
|
|
|
PageDTO<SysMessageVO> queryReceiveMessages(MessagesQuery messagesQuery); |
|
|
|
SysMessageVO getMessageDetail(MessagesQuery messagesQuery); |
|
|
|
PageDTO<SysMessageVO> querySendMessages(MessagesQuery messagesQuery); |
|
|
|
String readMessagesBatch(List<Long> messageIds, Long userId); |
|
|
|
String deleteReceiveMessagesByLogical(List<Long> messageIds, Long userId); |
|
|
|
SysMessageVO getReadStatus(Long userId, Long messageId); |
|
}
|
|
|