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

create index idx_tenant_key_sal_stat_item on hrsa_salary_statistics_item(tenant_key);
/