Commit 6407e968 by 杨林龙

开发新E盾gps基站同步到redis的数据接口

1 parent 94f3c914
package cn.com.glsx.stdinterface.dto; package cn.com.glsx.stdinterface.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
...@@ -25,11 +26,13 @@ public class DeviceLocationDto { ...@@ -25,11 +26,13 @@ public class DeviceLocationDto {
/** /**
* 最后gps时间 * 最后gps时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date lastGpsTime; private Date lastGpsTime;
/** /**
* 最后基站时间 * 最后基站时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date lastBsTime; private Date lastBsTime;
/** /**
...@@ -45,15 +48,18 @@ public class DeviceLocationDto { ...@@ -45,15 +48,18 @@ public class DeviceLocationDto {
/** /**
* 设备状态最新更新时间 * 设备状态最新更新时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date stayStatusUpdatetime; private Date stayStatusUpdatetime;
/** /**
* 创建时间 * 创建时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdTime; private Date createdTime;
/** /**
* 更新时间 * 更新时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedTime; private Date updatedTime;
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!