Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
钱涛 2022-05-30 13:31:01 +08:00
commit 5bc26b79f9
1 changed files with 117 additions and 6 deletions

View File

@ -90,6 +90,23 @@ CREATE TABLE hrsa_add_up_situation(
tenant_key varchar2(10) DEFAULT ''
)
/
create sequence hrsa_add_up_situation_id
start with 1
increment by 1
nomaxvalue
nocycle
/
create or replace trigger hrsa_add_up_situation_Tri
before insert on hrsa_add_up_situation
for each row
begin
select hrsa_add_up_situation_id.nextval into :new.id from dual;
end;
/
@ -140,7 +157,7 @@ CREATE TABLE hrsa_attend_quote_data(
tenant_key varchar2(10) DEFAULT ''
)
/
CREATE TABLE hrsa_attend_quote_data_value(
id NUMBER(38,0) PRIMARY KEY NOT NULL,
@ -357,6 +374,25 @@ CREATE TABLE hrsa_bill_detail(
tenant_key varchar2(10) NOT NULL
)
/
CREATE sequence hrsa_bill_detail_id
start with 1
increment by 1
nomaxvalue
nocycle
/
create or replace trigger hrsa_bill_detail_Tri
before insert on hrsa_bill_detail
for each row
begin
select hrsa_bill_detail_id.nextval into :new.id from dual;
end;
/
CREATE TABLE hrsa_bill_detail_temp(
@ -442,6 +478,22 @@ CREATE TABLE hrsa_bill_inspect(
)
/
CREATE sequence hrsa_bill_inspect_id
start with 1
increment by 1
nomaxvalue
nocycle
/
create or replace trigger hrsa_bill_inspect_Tri
before insert on hrsa_bill_inspect
for each row
begin
select hrsa_bill_inspect_id.nextval into :new.id from dual;
end;
/
@ -595,6 +647,9 @@ CREATE TABLE hrsa_formula(
)
/
CREATE TABLE hrsa_formula_var(
id NUMBER(38,0) PRIMARY KEY NOT NULL,
@ -612,6 +667,9 @@ CREATE TABLE hrsa_formula_var(
)
/
CREATE TABLE hrsa_fund_archives(
id number PRIMARY KEY NOT NULL,
@ -633,6 +691,22 @@ CREATE TABLE hrsa_fund_archives(
tenant_key varchar2(10) NOT NULL
)
/
CREATE sequence hrsa_fund_archives_id
start with 1
increment by 1
nomaxvalue
nocycle
/
create or replace trigger hrsa_fund_archives_Tri
before insert on hrsa_fund_archives
for each row
begin
select hrsa_fund_archives_id.nextval into :new.id from dual;
end;
/
@ -650,6 +724,7 @@ CREATE TABLE hrsa_insurance_category(
tenant_key varchar2(10) DEFAULT ''
)
/
CREATE TABLE hrsa_other_archives(
@ -669,6 +744,22 @@ CREATE TABLE hrsa_other_archives(
delete_type number DEFAULT 0,
tenant_key varchar2(10) NOT NULL
)
/
CREATE sequence hrsa_other_archives_id
start with 1
increment by 1
nomaxvalue
nocycle
/
create or replace trigger hrsa_other_archives_Tri
before insert on hrsa_other_archives
for each row
begin
select hrsa_other_archives_id.nextval into :new.id from dual;
end;
/
CREATE TABLE hrsa_other_deduction(
@ -817,6 +908,8 @@ CREATE TABLE hrsa_salary_archive(
tenant_key varchar2(10) DEFAULT ''
)
/
CREATE TABLE hrsa_salary_archive_dimission(
@ -941,10 +1034,9 @@ CREATE TABLE hrsa_salary_item(
create_time DATE DEFAULT sysdate,
update_time DATE DEFAULT sysdate,
data_type varchar2(20) NOT NULL
)
)
/
CREATE TABLE hrsa_salary_send(
id NUMBER(38,0) PRIMARY KEY NOT NULL,
@ -997,6 +1089,7 @@ CREATE TABLE hrsa_salary_send_info(
tenant_key varchar2(10) DEFAULT ''
)
/
@ -1214,6 +1307,8 @@ CREATE TABLE hrsa_salary_sob_item_group(
tenant_key varchar2(10) NOT NULL
)
/
CREATE TABLE hrsa_salary_sob_range(
@ -1367,7 +1462,7 @@ CREATE TABLE hrsa_sob_default_item_group(
tenant_key varchar2(10) DEFAULT ''
)
/
CREATE TABLE hrsa_social_archives(
id number PRIMARY KEY NOT NULL,
@ -1388,6 +1483,21 @@ CREATE TABLE hrsa_social_archives(
tenant_key varchar2(10) NOT NULL
)
/
CREATE sequence hrsa_social_archives_id
start with 1
increment by 1
nomaxvalue
nocycle
/
create or replace trigger hrsa_social_archives_Tri
before insert on hrsa_social_archives
for each row
begin
select hrsa_social_archives_id.nextval into :new.id from dual;
end;
/
CREATE TABLE hrsa_social_archives_encdata(
@ -1632,8 +1742,9 @@ CREATE TABLE hrsa_tax_declaration_detail(
update_time DATE DEFAULT sysdate,
delete_type number DEFAULT 0,
tenant_key varchar2(10) DEFAULT ''
)
)
/
CREATE TABLE hrsa_tax_rate_base(
id NUMBER(38,0) PRIMARY KEY NOT NULL,