Commit 69401ce8 by 杨林龙

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

1 parent 5c73e04b
package cn.com.glsx.stdinterface.modules.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.glsx.plat.mybatis.base.BaseEntity;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
/**
......@@ -24,6 +23,7 @@ public class AlarmTrackRec extends BaseEntity {
* 预警时间
*/
@Column(name = "begin_time")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date beginTime;
/**
......@@ -62,6 +62,7 @@ public class AlarmTrackRec extends BaseEntity {
* 最后预警时间
*/
@Column(name = "last_time")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date lastTime;
/**
......
package cn.com.glsx.stdinterface.modules.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.glsx.plat.mybatis.base.BaseEntity;
import lombok.Data;
......@@ -28,6 +29,7 @@ public class AlarmTrackStujudge extends BaseEntity {
* 开始报警时间
*/
@Column(name = "begin_time")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date beginTime;
/**
......@@ -46,6 +48,7 @@ public class AlarmTrackStujudge extends BaseEntity {
* 最后预警时间
*/
@Column(name = "last_time")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date lastTime;
/**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!