feat: (REQ-3457) IM人员选择器-更新历史聊天update_at
This commit is contained in:
parent
4596dd8169
commit
b238efb96d
@ -19,6 +19,7 @@ import org.springframework.cloud.context.config.annotation.RefreshScope;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
@ -93,6 +94,7 @@ public class ChatUserHistoryServiceImpl extends ServiceImpl<ChatUserHistoryMapp
|
||||
Long id = imAccountMap.get(this.buildChatHistoryKey(history));
|
||||
if (Objects.nonNull(id)) {
|
||||
history.setId(id);
|
||||
history.setUpdateAt(new Date());
|
||||
}
|
||||
}
|
||||
return historyList;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user