Browse Source

修改日志表Integer字段为Long

shaohongbo 3 years ago
parent
commit
e2fe1b9c23

+ 3 - 3
src/main/java/com/persagy/framework/ems/data/pojo/hbase/IndicatorComputeLog.java

@@ -10,7 +10,7 @@ import lombok.Data;
 import java.util.Date;
 
 @Entity(name = "IndicatorComputeLog")
-@Table(name = "indicator_compute_log", comment = "运行诊断计算发数日志", schema = Schema.UDM,
+@Table(name = "indicator_log", comment = "运行诊断计算发数日志", schema = Schema.UDM,
 		indexes = {
 				@Index(columns = {"project", "obj_id", "code", "log_time"}),
 				@Index(columns = {"project", "obj_id", "code","log_type","log_time"}),
@@ -35,7 +35,7 @@ public class IndicatorComputeLog extends BusinessObject {
 	@JsonProperty("code")
 	private String code;
 
-	@Column(order = 40, name = "log_time", length = 0, nullable = false, comment = "数据时间")
+	@Column(order = 40, name = "log_time", length = 50, nullable = false, comment = "数据时间")
 	@JsonProperty("logTime")
 	private Date logTime;
 
@@ -45,7 +45,7 @@ public class IndicatorComputeLog extends BusinessObject {
 	private Long logType;
 
 
-	@Column(order = 60, name = "data_time", length = 0, nullable = false, comment = "数据时间")
+	@Column(order = 60, name = "data_time", length = 50, nullable = false, comment = "数据时间")
 	@JsonProperty("dataTime")
 	private Date dataTime;