1.监督计划功能调整
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.njcn.process.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
@@ -42,16 +43,28 @@ public class SupvPlanRel {
|
||||
|
||||
private String relObjName;
|
||||
|
||||
@JsonSerialize(using = TimestampAsLongSerializer.class)
|
||||
private Timestamp createTime;
|
||||
private Timestamp createTimes;
|
||||
|
||||
@JsonSerialize(using = TimestampAsLongSerializer.class)
|
||||
private Timestamp updateTime;
|
||||
@TableField(exist = false)
|
||||
private Long createTime;
|
||||
|
||||
private Timestamp updateTimes;
|
||||
@TableField(exist = false)
|
||||
private Long updateTime;
|
||||
|
||||
private String isDelete;
|
||||
|
||||
@JsonSerialize(using = TimestampAsLongSerializer.class)
|
||||
private Timestamp deleteTime;
|
||||
private Timestamp deleteTimes;
|
||||
@TableField(exist = false)
|
||||
private Long deleteTime;
|
||||
|
||||
|
||||
|
||||
public void prepareForSerialization() {
|
||||
this.createTime = (this.createTimes != null) ? this.createTimes.getTime() : null;
|
||||
this.updateTime = (this.updateTimes != null) ? this.updateTimes.getTime() : null;
|
||||
this.deleteTime = (this.deleteTimes != null) ? this.deleteTimes.getTime() : null;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user