sonar代码变更

This commit is contained in:
jie.lu
2025-07-21 11:22:21 +08:00
parent bcfd3f9111
commit 3c9cb6a943

View File

@@ -197,8 +197,7 @@ public class TmOdsImRealtimeMessageCurServiceImpl extends ServiceImpl<TmOdsImRea
LocalDateTime localDateTime = LocalDateTime.parse(stringTime, formatter);
// 转换为秒级时间戳
long timestampSeconds = localDateTime.atZone(ZoneId.systemDefault()).toEpochSecond();
return timestampSeconds;
return localDateTime.atZone(ZoneId.systemDefault()).toEpochSecond();
}
/**