create table hrsa_salary_statistics_item
(
  id bigint primary key ,
  create_time datetime,
  update_time datetime,
  creator bigint,
  delete_type int default 0,
  tenant_key nvarchar(10),
  item_name nvarchar(50),
  item_value nvarchar(1000),
  count_rule nvarchar(500),
  sum_rule nvarchar(500),
  avg_rule nvarchar(500),
  max_rule nvarchar(500),
  min_rule nvarchar(500),
  median_rule nvarchar(500),
  index_value int,
  unit_type int,
  stat_report_id bigint
)
GO

create index idx_tenant_key_sal_stat_item on hrsa_salary_statistics_item(tenant_key)
GO