CREATE TABLE hrsa_ly_voucher  (
  id bigint NOT NULL,
  pzlx int NULL DEFAULT NULL ,
  data_source text  NULL ,
  ffgsqc varchar(255)  NULL DEFAULT NULL,
  salary_month datetime NULL DEFAULT NULL,
  pk_voucher varchar(255)  NULL DEFAULT NULL,
  status varchar(255)  NULL DEFAULT NULL,
  creator bigint NULL DEFAULT 0,
  create_time datetime NULL ,
  update_time datetime NULL ,
  delete_type int NOT NULL DEFAULT 0 ,
  PRIMARY KEY (id)
) 
GO

CREATE TABLE hrsa_ly_voucher_detail  (
  id bigint NOT NULL,
  voucher_id bigint NULL DEFAULT NULL,
  zy text  NULL,
  kjkm_id varchar(255)  NULL DEFAULT NULL ,
  fzhs_xmqs_bm varchar(255)  NULL DEFAULT NULL ,
  fzhs_fwlb_bm varchar(255)  NULL DEFAULT NULL,
  fzhs_sllb_bm varchar(255)  NULL DEFAULT NULL,
  fzhs_ks_bm varchar(255)  NULL DEFAULT NULL,
  fzhs_other_bms varchar(255)  NULL DEFAULT NULL,
  jf_value varchar(100)  NULL DEFAULT NULL,
  df_value varchar(100)  NULL DEFAULT NULL,
  creator bigint NULL DEFAULT 0,
  create_time datetime NULL,
  update_time datetime NULL,
  delete_type int NOT NULL,
  PRIMARY KEY (id)
) 
GO