package com.iplatform.chat;
|
|
import com.iplatform.model.vo.ChatVo;
|
import com.walker.db.page.GenericPager;
|
import com.walker.db.page.PageSearch;
|
|
/**
|
* 聊天服务定义。
|
* @author 时克英
|
* @date 2023-07-07
|
*/
|
public interface ChatService {
|
|
void execInsertChat(ChatVo vo);
|
|
void execDeleteChat(String id);
|
|
/**
|
* 查询聊天记录
|
* @param me 本人ID,必传
|
* @param bizId 业务ID,可选
|
* @param startTime 开始时间,可选,格式:20230707150030
|
* @param endTime 结束时间,可选,格式如上
|
* @param userId 对方用户ID,可选
|
* @param keyword 内容关键词,可选
|
* @param pageSearch 分页信息
|
* @param meIsCustomerService 我是否客服?
|
* @return
|
* @date 2023-07-07
|
* @date 2023-07-17 添加参数:meIsCustomerService
|
*/
|
GenericPager<ChatVo> queryPageChatList(long me
|
, String bizId, long startTime, long endTime, long userId, String keyword, PageSearch pageSearch, boolean meIsCustomerService);
|
}
|