fix: 修复设备日志时间错误
This commit is contained in:
parent
f2b99b501d
commit
d6eb169f32
|
|
@ -43,6 +43,7 @@ public class ThingMessageLog implements Serializable {
|
|||
public static ThingMessageLog of(TimeSeriesData data, String thingIdProperty) {
|
||||
ThingMessageLog log = data.as(ThingMessageLog.class);
|
||||
log.thingId = data.getString(thingIdProperty, log.thingId);
|
||||
log.timestamp = data.getTimestamp();
|
||||
return log;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue