93 lines
1.5 KiB
MySQL
93 lines
1.5 KiB
MySQL
|
|
CREATE TABLE hrsa_excel_bill_detail (
|
||
|
|
|
||
|
|
id bigint NOT NULL,
|
||
|
|
|
||
|
|
employee_id bigint NOT NULL,
|
||
|
|
|
||
|
|
bill_month varchar(30) NOT NULL,
|
||
|
|
|
||
|
|
bill_status int NOT NULL,
|
||
|
|
|
||
|
|
payment_status int NOT NULL,
|
||
|
|
|
||
|
|
supplementary_month varchar(50) NULL,
|
||
|
|
|
||
|
|
supplementary_projects varchar(50) NULL,
|
||
|
|
|
||
|
|
resource_from int NOT NULL,
|
||
|
|
|
||
|
|
social_pay_org int NULL,
|
||
|
|
|
||
|
|
social_account varchar(50) NULL,
|
||
|
|
|
||
|
|
social_scheme_id bigint NULL,
|
||
|
|
|
||
|
|
social_payment_base_string text NULL,
|
||
|
|
|
||
|
|
fund_pay_org int NULL,
|
||
|
|
|
||
|
|
fund_account varchar(50) NULL,
|
||
|
|
|
||
|
|
supplement_fund_account varchar(50) NULL,
|
||
|
|
|
||
|
|
fund_scheme_id int NULL,
|
||
|
|
|
||
|
|
fund_payment_base_string text NULL,
|
||
|
|
|
||
|
|
other_pay_org int NULL,
|
||
|
|
|
||
|
|
other_scheme_id bigint NULL,
|
||
|
|
|
||
|
|
other_payment_base_string text NULL,
|
||
|
|
|
||
|
|
social_per_json text NULL,
|
||
|
|
|
||
|
|
social_per_sum text NULL,
|
||
|
|
|
||
|
|
fund_per_json text NULL,
|
||
|
|
|
||
|
|
fund_per_sum text NULL,
|
||
|
|
|
||
|
|
other_per_json text NULL,
|
||
|
|
|
||
|
|
other_per_sum text NULL,
|
||
|
|
|
||
|
|
per_sum text NULL,
|
||
|
|
|
||
|
|
social_com_json text NULL,
|
||
|
|
|
||
|
|
social_com_sum text NULL,
|
||
|
|
|
||
|
|
fund_com_json text NULL,
|
||
|
|
|
||
|
|
fund_com_sum text NULL,
|
||
|
|
|
||
|
|
other_com_json text NULL,
|
||
|
|
|
||
|
|
other_com_sum text NULL,
|
||
|
|
|
||
|
|
com_sum text NULL,
|
||
|
|
|
||
|
|
social_sum text NULL,
|
||
|
|
|
||
|
|
fund_sum text NULL,
|
||
|
|
|
||
|
|
other_sum text NULL,
|
||
|
|
|
||
|
|
total text NULL,
|
||
|
|
|
||
|
|
creator bigint NOT NULL DEFAULT 0 ,
|
||
|
|
|
||
|
|
create_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||
|
|
|
||
|
|
update_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||
|
|
|
||
|
|
delete_type int NOT NULL DEFAULT 0 ,
|
||
|
|
|
||
|
|
tenant_key varchar(10) NOT NULL ,
|
||
|
|
|
||
|
|
payment_organization bigint NULL,
|
||
|
|
|
||
|
|
PRIMARY KEY (id)
|
||
|
|
|
||
|
|
);
|