weaver-hrm-salary/resource/sqlupgrade/PG/sql202207110803.sql

22 lines
1.0 KiB
SQL

CREATE TABLE hrsa_salary_acct_result_report
(
id bigint NOT NULL,
salary_sob_id bigint NOT NULL DEFAULT 0 ,
salary_acct_emp_id varchar(200) NOT NULL DEFAULT '' ,
salary_acct_record_id bigint NOT NULL DEFAULT 0 ,
employee_id varchar(200) NULL DEFAULT '' ,
tax_agent_id bigint NOT NULL DEFAULT 0 ,
salary_item_id bigint NOT NULL DEFAULT 0 ,
result_value varchar(1000) NOT NULL DEFAULT '' ,
creator bigint NOT NULL DEFAULT 0 ,
create_time timestamp NULL DEFAULT NULL ,
update_time timestamp NULL DEFAULT NULL ,
delete_type int NOT NULL DEFAULT 0 ,
tenant_key varchar(10) NOT NULL DEFAULT '' ,
department_id bigint NULL DEFAULT NULL ,
subcompany_id bigint NULL DEFAULT NULL ,
costcenter_id bigint NULL DEFAULT NULL ,
jobtitle_id bigint NULL DEFAULT NULL ,
location_id bigint NULL DEFAULT NULL ,
PRIMARY KEY (id)
);