|
@@ -30,13 +30,14 @@ public class ChatServiceImpl implements ChatService {
|
|
|
chatDO.setUpdater(SecurityFrameworkUtils.getLoginUserId());
|
|
|
chatDO.setCreateTime(LocalDateTime.now());
|
|
|
chatDO.setUpdateTime(LocalDateTime.now());
|
|
|
- chatDO.setCreator(SecurityFrameworkUtils.getLoginUserId());
|
|
|
+ chatDO.setDeleted(true);
|
|
|
chatMapper.insert(chatDO);
|
|
|
return chatDO.getId();
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public List<ChatDO> getChatList(ChatListReqVO listReqVO) {
|
|
|
+ listReqVO.setCreator(SecurityFrameworkUtils.getLoginUserId());
|
|
|
return chatMapper.getChatList(listReqVO);
|
|
|
}
|
|
|
|