Merge remote-tracking branch 'origin/dev' into dev
commit
92e799e9ae
@ -1,9 +1,22 @@
|
|||||||
package com.supervision.police.service;
|
package com.supervision.police.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.supervision.police.vo.ChatReqVO;
|
import com.supervision.police.vo.ChatReqVO;
|
||||||
import com.supervision.police.vo.ChatResVO;
|
import com.supervision.police.vo.ChatResVO;
|
||||||
|
import com.supervision.police.vo.ConversationResVo;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
public interface ChatService {
|
public interface ChatService {
|
||||||
ChatResVO chat(ChatReqVO chatReqVO);
|
ChatResVO chat(ChatReqVO chatReqVO);
|
||||||
ChatResVO chatNew(ChatReqVO chatReqVO);
|
ChatResVO chatNew(ChatReqVO chatReqVO);
|
||||||
|
|
||||||
|
|
||||||
|
IPage<ChatResVO> queryConversationInfoList(String conversationId, int page, int size);
|
||||||
|
|
||||||
|
|
||||||
|
IPage<ConversationResVo> queryUserConversationList(String userId, int page, int size);
|
||||||
|
|
||||||
|
|
||||||
|
void deleteConversation(List<String> conversationIdList);
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
package com.supervision.police.vo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class ConversationResVo {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 会话id
|
||||||
|
*/
|
||||||
|
private String conversationId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 案件id
|
||||||
|
*/
|
||||||
|
private String caseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 案件名称
|
||||||
|
*/
|
||||||
|
private String caseName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 案件行为人
|
||||||
|
*/
|
||||||
|
private String caseActor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 案件行为人id
|
||||||
|
*/
|
||||||
|
private String caseActorId;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue