Browse Source

日志表增加主建

shaohongbo 3 years ago
parent
commit
8df4d77ede

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

@@ -13,7 +13,7 @@ import java.util.Date;
  * @author YanZu
  */
 @Entity(name = "IndicatorComputeLog")
-@Table(name = "indicator_compute_log", comment = "运行诊断计算发数日志", schema = Schema.UDM,
+@Table(name = "indicator_log_info", comment = "运行诊断计算发数日志", schema = Schema.UDM,
 		indexes = {
 				@Index(columns = {"c_id"},unique = true),
 				@Index(columns = {"project", "obj_id", "code", "log_time","data_time"}),
@@ -21,7 +21,7 @@ import java.util.Date;
 				@Index(columns = {"project", "obj_id", "code","log_type","data_time"})
 		})
 @Dimension
-@TimePatition(column = "log_time", type = TimePatitionType.month)
+@TimePatition(column = "data_time", type = TimePatitionType.month)
 @Data
 public class IndicatorComputeLog extends BusinessObject {