Commit 728193bc by 杨林龙

开发大数据研判报警消费逻辑

1 parent d5f0082a
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;
...@@ -17,6 +18,7 @@ public class AlarmTrackRecDto { ...@@ -17,6 +18,7 @@ public class AlarmTrackRecDto {
/** /**
* 预警时间 * 预警时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date beginTime; private Date beginTime;
/** /**
...@@ -52,6 +54,7 @@ public class AlarmTrackRecDto { ...@@ -52,6 +54,7 @@ public class AlarmTrackRecDto {
/** /**
* 最后预警时间 * 最后预警时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date lastTime; private Date lastTime;
/** /**
...@@ -82,6 +85,7 @@ public class AlarmTrackRecDto { ...@@ -82,6 +85,7 @@ public class AlarmTrackRecDto {
/** /**
* 创建时间 * 创建时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdDate; private Date createdDate;
/** /**
...@@ -92,6 +96,7 @@ public class AlarmTrackRecDto { ...@@ -92,6 +96,7 @@ public class AlarmTrackRecDto {
/** /**
* 更新时间 * 更新时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedDate; private Date updatedDate;
/** /**
......
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;
...@@ -22,6 +23,7 @@ public class AlarmTrackStujudgeDto { ...@@ -22,6 +23,7 @@ public class AlarmTrackStujudgeDto {
/** /**
* 开始报警时间 * 开始报警时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date beginTime; private Date beginTime;
/** /**
...@@ -37,6 +39,7 @@ public class AlarmTrackStujudgeDto { ...@@ -37,6 +39,7 @@ public class AlarmTrackStujudgeDto {
/** /**
* 最后预警时间 * 最后预警时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date lastTime; private Date lastTime;
/** /**
...@@ -67,6 +70,7 @@ public class AlarmTrackStujudgeDto { ...@@ -67,6 +70,7 @@ public class AlarmTrackStujudgeDto {
/** /**
* 创建时间 * 创建时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdDate; private Date createdDate;
/** /**
...@@ -77,6 +81,7 @@ public class AlarmTrackStujudgeDto { ...@@ -77,6 +81,7 @@ public class AlarmTrackStujudgeDto {
/** /**
* 更新时间 * 更新时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedDate; private Date updatedDate;
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!