Commit d20cf0bc by 丁伟峰

统一字段类型

1 parent 0ee9c580
...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity; ...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity;
import lombok.Data; import lombok.Data;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.time.LocalDateTime;
@Data @Data
public class CapacityEngineerStat { public class CapacityEngineerStat {
...@@ -16,6 +17,6 @@ public class CapacityEngineerStat { ...@@ -16,6 +17,6 @@ public class CapacityEngineerStat {
private Integer orderCount; private Integer orderCount;
private Integer maxDuration; private Integer maxDuration;
private String memo; private String memo;
private Timestamp createTime; private LocalDateTime createTime;
private Timestamp updateTime; private LocalDateTime updateTime;
} }
...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity; ...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity;
import lombok.Data; import lombok.Data;
import javax.persistence.*; import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Data @Data
...@@ -62,10 +63,10 @@ public class CapacityEngineerStatEntity { ...@@ -62,10 +63,10 @@ public class CapacityEngineerStatEntity {
/** /**
* 创建时间 * 创建时间
*/ */
private Date createTime; private LocalDateTime createTime;
/** /**
* 更新时间 * 更新时间
*/ */
private Date updateTime; private LocalDateTime updateTime;
} }
...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity; ...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity;
import lombok.Data; import lombok.Data;
import javax.persistence.*; import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Data @Data
...@@ -67,11 +68,11 @@ public class CapacityOrgStatEntity { ...@@ -67,11 +68,11 @@ public class CapacityOrgStatEntity {
/** /**
* 创建时间 * 创建时间
*/ */
private Date createTime; private LocalDateTime createTime;
/** /**
* 更新时间 * 更新时间
*/ */
private Date updateTime; private LocalDateTime updateTime;
} }
...@@ -4,6 +4,7 @@ import lombok.Data; ...@@ -4,6 +4,7 @@ import lombok.Data;
import javax.persistence.*; import javax.persistence.*;
import java.io.Serializable; import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Entity @Entity
...@@ -57,9 +58,9 @@ public class CapacityTeamStatEntity implements Serializable { ...@@ -57,9 +58,9 @@ public class CapacityTeamStatEntity implements Serializable {
private String memo; private String memo;
private Date createTime; private LocalDateTime createTime;
private Date updateTime; private LocalDateTime updateTime;
} }
...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity; ...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity;
import lombok.Data; import lombok.Data;
import javax.persistence.*; import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Data @Data
...@@ -99,12 +100,12 @@ public class EngineerInfoEntity { ...@@ -99,12 +100,12 @@ public class EngineerInfoEntity {
/** /**
* 创建时间 * 创建时间
*/ */
private Date createTime; private LocalDateTime createTime;
/** /**
* 更新时间 * 更新时间
*/ */
private Date updateTime; private LocalDateTime updateTime;
public EngineerInfoEntity() {} public EngineerInfoEntity() {}
} }
...@@ -4,6 +4,7 @@ import lombok.Data; ...@@ -4,6 +4,7 @@ import lombok.Data;
import javax.persistence.*; import javax.persistence.*;
import java.io.Serializable; import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Entity @Entity
...@@ -78,12 +79,12 @@ public class MapBlockInfoEntity { ...@@ -78,12 +79,12 @@ public class MapBlockInfoEntity {
/** /**
* 创建时间 * 创建时间
*/ */
private Date createTime; private LocalDateTime createTime;
/** /**
* 更新时间 * 更新时间
*/ */
private Date updateTime; private LocalDateTime updateTime;
public MapBlockInfoEntity() {} public MapBlockInfoEntity() {}
} }
...@@ -4,6 +4,7 @@ import lombok.Data; ...@@ -4,6 +4,7 @@ import lombok.Data;
import lombok.experimental.Accessors; import lombok.experimental.Accessors;
import javax.persistence.*; import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
...@@ -57,12 +58,12 @@ public class OrderChangeEntity { ...@@ -57,12 +58,12 @@ public class OrderChangeEntity {
/** /**
* 创建时间 * 创建时间
*/ */
private Date createTime; private LocalDateTime createTime;
/** /**
* 创建时间 * 创建时间
*/ */
private Date updateTime; private LocalDateTime updateTime;
public OrderChangeEntity() {} public OrderChangeEntity() {}
} }
...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity; ...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity;
import lombok.Data; import lombok.Data;
import javax.persistence.*; import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Entity @Entity
...@@ -18,6 +19,6 @@ public class OrderTagStrategyEntity { ...@@ -18,6 +19,6 @@ public class OrderTagStrategyEntity {
private Integer priority; private Integer priority;
private Integer disabled; private Integer disabled;
private String memo; private String memo;
private Date createTime; private LocalDateTime createTime;
private Date updateTime; private LocalDateTime updateTime;
} }
...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity; ...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity;
import lombok.Data; import lombok.Data;
import javax.persistence.*; import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Entity @Entity
...@@ -44,10 +45,10 @@ public class OrgBranchEntity { ...@@ -44,10 +45,10 @@ public class OrgBranchEntity {
private String memo; private String memo;
private Date createTime; private LocalDateTime createTime;
private Date updateTime; private LocalDateTime updateTime;
public OrgBranchEntity() {} public OrgBranchEntity() {}
} }
...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity; ...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity;
import lombok.Data; import lombok.Data;
import javax.persistence.*; import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Entity @Entity
...@@ -36,10 +37,10 @@ public class OrgClusterEntity { ...@@ -36,10 +37,10 @@ public class OrgClusterEntity {
private String updateUser; private String updateUser;
private Date createTime; private LocalDateTime createTime;
private Date updateTime; private LocalDateTime updateTime;
public OrgClusterEntity() { public OrgClusterEntity() {
} }
......
...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity; ...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity;
import lombok.Data; import lombok.Data;
import javax.persistence.*; import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Entity @Entity
...@@ -80,12 +81,12 @@ public class OrgGroupEntity { ...@@ -80,12 +81,12 @@ public class OrgGroupEntity {
/** /**
* 创建时间 * 创建时间
*/ */
private Date createTime; private LocalDateTime createTime;
/** /**
* 更新时间 * 更新时间
*/ */
private Date updateTime; private LocalDateTime updateTime;
public OrgGroupEntity() {} public OrgGroupEntity() {}
} }
...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity; ...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity;
import lombok.Data; import lombok.Data;
import javax.persistence.*; import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Entity @Entity
...@@ -42,12 +43,12 @@ public class OrgTeamEngineerEntity { ...@@ -42,12 +43,12 @@ public class OrgTeamEngineerEntity {
/** /**
* 创建时间 * 创建时间
*/ */
private Date createTime; private LocalDateTime createTime;
/** /**
* 更新时间 * 更新时间
*/ */
private Date updateTime; private LocalDateTime updateTime;
public OrgTeamEngineerEntity() { public OrgTeamEngineerEntity() {
} }
......
...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity; ...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity;
import lombok.Data; import lombok.Data;
import javax.persistence.*; import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Entity @Entity
...@@ -65,12 +66,12 @@ public class OrgTeamEntity { ...@@ -65,12 +66,12 @@ public class OrgTeamEntity {
/** /**
* 创建时间 * 创建时间
*/ */
private Date createTime; private LocalDateTime createTime;
/** /**
* 更新时间 * 更新时间
*/ */
private Date updateTime; private LocalDateTime updateTime;
public OrgTeamEntity(){ public OrgTeamEntity(){
......
...@@ -7,6 +7,7 @@ import javax.persistence.Column; ...@@ -7,6 +7,7 @@ import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.GeneratedValue; import javax.persistence.GeneratedValue;
import java.io.Serializable; import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
import javax.persistence.*; import javax.persistence.*;
...@@ -73,12 +74,12 @@ public class ProductCategoryEntity { ...@@ -73,12 +74,12 @@ public class ProductCategoryEntity {
/** /**
* 创建时间 * 创建时间
*/ */
private Date createTime; private LocalDateTime createTime;
/** /**
* 更新时间 * 更新时间
*/ */
private Date updateTime; private LocalDateTime updateTime;
public ProductCategoryEntity() { public ProductCategoryEntity() {
} }
......
...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity; ...@@ -3,6 +3,7 @@ package com.dituhui.pea.order.entity;
import lombok.Data; import lombok.Data;
import javax.persistence.*; import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Entity @Entity
...@@ -44,10 +45,10 @@ public class PubParamsEntity { ...@@ -44,10 +45,10 @@ public class PubParamsEntity {
/** /**
* 创建时间 * 创建时间
*/ */
private Date createTime; private LocalDateTime createTime;
/** /**
* 更新时间 * 更新时间
*/ */
private Date updateTime; private LocalDateTime updateTime;
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!