fix: 修复聊天记录上报排序错乱的问题

This commit is contained in:
3030332422
2026-04-20 11:00:04 +08:00
parent bacf4cd5e8
commit b209de36f5
2 changed files with 6 additions and 6 deletions
@@ -52,7 +52,7 @@ public class AgentChatHistoryBizServiceImpl implements AgentChatHistoryBizServic
public Boolean report(AgentChatHistoryReportDTO report) {
String macAddress = report.getMacAddress();
Byte chatType = report.getChatType();
Long reportTimeMillis = null != report.getReportTime() ? report.getReportTime() * 1000
Long reportTimeMillis = null != report.getReportTime() ? report.getReportTime()
: System.currentTimeMillis();
log.info("小智设备聊天上报请求: macAddress={}, type={} reportTime={}", macAddress, chatType, reportTimeMillis);