diff --git a/resource/sqlupgrade/DM/sql202307180103.sql b/resource/sqlupgrade/DM/sql202307180103.sql
new file mode 100644
index 000000000..86cf943b7
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202307180103.sql
@@ -0,0 +1,34 @@
+create table hrsa_tax_declare_api_profile
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ api_profile int
+);
+/
+
+create index id_tenant_key_22b215db on hrsa_tax_declare_api_profile(tenant_key);
+/
+
+create table hrsa_tax_payment_request
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ tax_agent_id number not null,
+ tax_declare_record_id number,
+ tax_year_month date not null,
+ request_id varchar(50) not null,
+ request_type int not null
+);
+/
+
+create index id_tenant_key_bcb610c7 on hrsa_tax_payment_request(tenant_key);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202307180203.sql b/resource/sqlupgrade/DM/sql202307180203.sql
new file mode 100644
index 000000000..10aced290
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202307180203.sql
@@ -0,0 +1,38 @@
+create table hrsa_tax_declare_api_config
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ host varchar2(255),
+ app_key varchar2(255),
+ app_secret varchar2(255)
+);
+/
+
+create unique index idx_tenant_key_api_a6f21b46 on hrsa_tax_declare_api_config(tenant_key);
+/
+
+alter table hrsa_tax_declare_api_config modify host not null;
+/
+
+alter table hrsa_tax_declare_api_config modify app_key not null;
+/
+
+alter table hrsa_tax_declare_api_config modify app_secret not null;
+/
+
+alter table hrsa_tax_declare_api_config add enable_use int;
+/
+
+alter table hrsa_tax_declare_api_config add totality number;
+/
+
+alter table hrsa_tax_declare_api_config add remain number;
+/
+
+alter table hrsa_tax_declare_api_config add last_update_time date;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202307180403.sql b/resource/sqlupgrade/DM/sql202307180403.sql
new file mode 100644
index 000000000..fb5e8e455
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202307180403.sql
@@ -0,0 +1,31 @@
+create table hrsa_tax_agent_tax_return
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number not null,
+ tax_code varchar2(50) not null,
+ tax_registration_number varchar2(50) ,
+ department_code varchar2(50),
+ department_name varchar2(50),
+ nation varchar2(50),
+ province varchar2(50),
+ city varchar2(50),
+ area_code varchar2(50) not null,
+ password_type int not null,
+ real_account varchar2(50) ,
+ pwd varchar2(50) not null,
+ check_status int not null,
+ fail_reason varchar2(255)
+);
+/
+
+create index id_tenant_key_tax_return on hrsa_tax_agent_tax_return(tenant_key);
+/
+
+create unique index id_tax_agent_id_tax_return on hrsa_tax_agent_tax_return(tax_agent_id);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308080603.sql b/resource/sqlupgrade/DM/sql202308080603.sql
new file mode 100644
index 000000000..3fa4e6655
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308080603.sql
@@ -0,0 +1,51 @@
+create table hrsa_employee_declare_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ tax_cycle date,
+ request_id varchar2(100)
+);
+/
+
+create table hrsa_employee_declare
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ tax_cycle date,
+ employee_id number,
+ employee_type number,
+ employee_name varchar2(100),
+ job_num varchar2(100),
+ card_type number,
+ card_num varchar2(100),
+ gender varchar2(100),
+ birthday date,
+ employment_status number,
+ mobile varchar2(100),
+ employment_type number,
+ employment_first_year varchar2(100),
+ employment_date date,
+ dismiss_date date,
+ disability number,
+ disability_card_no varchar2(100),
+ lonely_old number,
+ martyr_dependents number,
+ martyr_dependents_card_no varchar2(100),
+ deduct_expenses number,
+ successfully_declared number,
+ new_employee_info number,
+ declare_status number,
+ declare_error_msg varchar2(1000)
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308090303.sql b/resource/sqlupgrade/DM/sql202308090303.sql
new file mode 100644
index 000000000..0a9e21cc4
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308090303.sql
@@ -0,0 +1,36 @@
+create table hrsa_tax_declare_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ salary_month date,
+ tax_cycle date,
+ remark varchar2(1000),
+ request_id varchar2(100),
+ tax_declare_type number,
+ tax_declare_status number
+);
+/
+
+alter table hrsa_tax_declare_record add display_update_icon number;
+/
+
+alter table hrsa_tax_declare_record add tax_pay_amount varchar2(255);
+/
+
+alter table hrsa_tax_declare_record add person_num int;
+/
+
+alter table hrsa_tax_declare_record add tax_declare_error_msg varchar2(1000);
+/
+
+alter table hrsa_tax_declare_record add tax_paid_amount varchar2(255);
+/
+
+alter table hrsa_tax_declare_record add tax_pure_paid_amount varchar2(255);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308100803.sql b/resource/sqlupgrade/DM/sql202308100803.sql
new file mode 100644
index 000000000..fd9ce7f25
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308100803.sql
@@ -0,0 +1,15 @@
+create table hrsa_tax_declare_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ employee_name varchar2(100),
+ card_num varchar2(100),
+ error_msg varchar2(1000)
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308110103.sql b/resource/sqlupgrade/DM/sql202308110103.sql
new file mode 100644
index 000000000..dea9e8743
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308110103.sql
@@ -0,0 +1,39 @@
+create table hrsa_tax_report_column
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_report_type varchar2(100),
+ income_category varchar2(100),
+ report_column_name varchar2(100),
+ report_column_data_index varchar2(100)
+);
+/
+
+create table hrsa_sob_tax_report_rule
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_sob_id number,
+ income_category varchar2(100),
+ report_column_data_index varchar2(100),
+ salary_item_id number
+);
+/
+
+alter table hrsa_tax_report_column add data_type varchar2(100);
+/
+
+alter table hrsa_tax_report_column add request_param_key varchar2(100);
+/
+
+alter table hrsa_tax_report_column add report_column_label varchar2(100);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308110203.sql b/resource/sqlupgrade/DM/sql202308110203.sql
new file mode 100644
index 000000000..d8ddbd9db
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308110203.sql
@@ -0,0 +1,18 @@
+create table hrsa_tax_declare_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ employee_name varchar2(100),
+ card_num varchar2(100),
+ error_msg varchar2(1000)
+);
+/
+
+alter table hrsa_tax_declare_fail add income_category varchar2(100);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308110303.sql b/resource/sqlupgrade/DM/sql202308110303.sql
new file mode 100644
index 000000000..2a4ef5ef9
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308110303.sql
@@ -0,0 +1,18 @@
+alter table hrsa_tax_declaration add tax_declare_record_id number;
+/
+
+alter table hrsa_tax_declaration add control_view int;
+/
+
+alter table hrsa_salary_acct_emp add income_category varchar2(100);
+/
+
+alter table hrsa_salary_acct_record add control_view int;
+/
+
+update hrsa_salary_acct_record set control_view = 0 where control_view is null;
+/
+
+update hrsa_tax_declaration set control_view = 0 where control_view is null;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308140203.sql b/resource/sqlupgrade/DM/sql202308140203.sql
new file mode 100644
index 000000000..fbeca581b
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308140203.sql
@@ -0,0 +1,16 @@
+create table hrsa_tax_declaration_value
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ tax_declaration_id number,
+ employee_type number,
+ employee_id number,
+ result_value_json clob
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308150303.sql b/resource/sqlupgrade/DM/sql202308150303.sql
new file mode 100644
index 000000000..c8b267f97
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308150303.sql
@@ -0,0 +1,29 @@
+alter table hrsa_salary_sob_item add income_category varchar2(100);
+/
+
+alter table hrsa_salary_sob_item modify income_category default '1';
+/
+
+update hrsa_salary_sob_item set income_category = '1' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '1');
+/
+
+update hrsa_salary_sob_item set income_category = '2' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '2');
+/
+
+update hrsa_salary_sob_item set income_category = '4' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '4');
+/
+
+alter table hrsa_salary_sob_item add salary_item_code varchar2(100);
+/
+
+update hrsa_salary_sob_item a
+set ( salary_item_code) = (
+ select code as salary_item_code
+ from hrsa_salary_item b
+ where a.salary_item_id = b.id
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308150503.sql b/resource/sqlupgrade/DM/sql202308150503.sql
new file mode 100644
index 000000000..e268c0264
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308150503.sql
@@ -0,0 +1,729 @@
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157061, null, null, null, 0, 'all_teams', '1', '2', '当期收入额', 'annualIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157062, null, null, null, 0, 'all_teams', '1', '2', '免税收入', 'annualTaxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157063, null, null, null, 0, 'all_teams', '1', '2', '其他', 'annualOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157064, null, null, null, 0, 'all_teams', '1', '2', '准予扣除的捐赠额', 'annualDonateTax', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157065, null, null, null, 0, 'all_teams', '1', '2', '减免税额', 'annualTaxSavings', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157066, null, null, null, 0, 'all_teams', '1', '2', '备注', 'annualRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157068, null, null, null, 0, 'all_teams', '1', '4', '当期收入额', 'laborIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157069, null, null, null, 0, 'all_teams', '1', '4', '免税收入', 'laborTaxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157070, null, null, null, 0, 'all_teams', '1', '4', '商业健康保险', 'commercialHealthInsurance4',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157071, null, null, null, 0, 'all_teams', '1', '4', '税延养老保险', 'taxDeferredEndowmentInsurance4',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157072, null, null, null, 0, 'all_teams', '1', '4', '允许扣除税费', 'allowedDeductTax4', 'number',
+ 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157073, null, null, null, 0, 'all_teams', '1', '4', '其他', 'other4', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157074, null, null, null, 0, 'all_teams', '1', '4', '减免税额', 'labor_tax_saving', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157075, null, null, null, 0, 'all_teams', '1', '4', '备注', 'description4', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157077, null, null, null, 0, 'all_teams', '1', '1', '本期收入', 'income', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157078, null, null, null, 0, 'all_teams', '1', '1', '本期免税收入', 'taxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157079, null, null, null, 0, 'all_teams', '1', '1', '基本养老保险费', 'endowmentInsurance', 'number',
+ 'jbylaobxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157080, null, null, null, 0, 'all_teams', '1', '1', '基本医疗保险费', 'medicalInsurance', 'number',
+ 'jbylbxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157081, null, null, null, 0, 'all_teams', '1', '1', '失业保险费', 'unemploymentInsurance', 'number',
+ 'sybxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157082, null, null, null, 0, 'all_teams', '1', '1', '住房公积金', 'housingProvidentFund', 'number',
+ 'zfgjj');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157083, null, null, null, 0, 'all_teams', '1', '1', '累计子女教育', 'addUpChildEducation', 'number',
+ 'ljznjyzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157084, null, null, null, 0, 'all_teams', '1', '1', '累计住房贷款利息', 'addUpHousingLoanInterest',
+ 'number', 'ljzfdklxzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157085, null, null, null, 0, 'all_teams', '1', '1', '累计住房租金', 'addUpHousingRent', 'number',
+ 'ljzfzjzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157086, null, null, null, 0, 'all_teams', '1', '1', '累计赡养老人', 'addUpSupportElderly', 'number',
+ 'ljsylrzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157087, null, null, null, 0, 'all_teams', '1', '1', '累计继续教育', 'addUpContinuingEducation', 'number',
+ 'ljjxjyzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157088, null, null, null, 0, 'all_teams', '1', '1', '累计3岁以下婴幼儿照护支出', 'addUpInfantCare', 'number',
+ 'ljyyezhzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157089, null, null, null, 0, 'all_teams', '1', '1', '企业(职业)年金', 'annuity', 'number', 'nj');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157090, null, null, null, 0, 'all_teams', '1', '1', '商业健康保险', 'commercialHealthInsurance', 'number',
+ 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157091, null, null, null, 0, 'all_teams', '1', '1', '税延养老保险', 'taxDeferredEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157092, null, null, null, 0, 'all_teams', '1', '1', '其他', 'other', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157093, null, null, null, 0, 'all_teams', '1', '1', '准予扣除的捐赠额', 'allowedDonation', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157094, null, null, null, 0, 'all_teams', '1', '1', '减免税额', 'taxDeduction', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157095, null, null, null, 0, 'all_teams', '1', '1', '备注', 'description', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157096, null, null, null, 0, 'all_teams', '1', '107', '一次性补偿收入', 'retireCompensationIncome',
+ 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157097, null, null, null, 0, 'all_teams', '1', '107', '本期工资收入', 'retireWageIncome', 'number',
+ 'bqgzs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157098, null, null, null, 0, 'all_teams', '1', '107', '免税收入', 'retireTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157099, null, null, null, 0, 'all_teams', '1', '107', '其他', 'retireOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157100, null, null, null, 0, 'all_teams', '1', '107', '准予扣除的捐赠额', 'retireAllowedDonation', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157101, null, null, null, 0, 'all_teams', '1', '107', '减免税额', 'retireTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157102, null, null, null, 0, 'all_teams', '1', '107', '备注', 'retireRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157103, null, null, null, 0, 'all_teams', '1', '107', '分摊月份数', 'retireSplitMonth', 'number',
+ 'ftyfs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157104, null, null, null, 0, 'all_teams', '1', '108', '当期收入额', 'dismissIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157105, null, null, null, 0, 'all_teams', '1', '108', '免税收入', 'dismissTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157106, null, null, null, 0, 'all_teams', '1', '108', '其他', 'dismissOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157107, null, null, null, 0, 'all_teams', '1', '108', '备注', 'dismissRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157108, null, null, null, 0, 'all_teams', '1', '108', '准予扣除的捐赠额', 'dismissAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157109, null, null, null, 0, 'all_teams', '1', '108', '减免税额', 'dismissTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157110, null, null, null, 0, 'all_teams', '1', '110', '当期收入额', 'annuityIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157111, null, null, null, 0, 'all_teams', '1', '110', '已完税缴费额', 'annuityTaxPaidAmount', 'number',
+ 'ywsjfe');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157112, null, null, null, 0, 'all_teams', '1', '110', '全部缴费额', 'annuityTotalPayment', 'number',
+ 'qbjfe');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157113, null, null, null, 0, 'all_teams', '1', '110', '是否一次性领取', 'annuityOneTimeReceive', 'string',
+ 'sfycxlq');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157114, null, null, null, 0, 'all_teams', '1', '110', '年金领取方式', 'annuityReceiveMethod', 'string',
+ 'njlqfs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157115, null, null, null, 0, 'all_teams', '1', '110', '年金领取原因', 'annuityReceiveReason', 'string',
+ 'njlqyy');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157116, null, null, null, 0, 'all_teams', '1', '110', '免税收入', 'annuityTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157117, null, null, null, 0, 'all_teams', '1', '110', '减免税额', 'annuityTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157118, null, null, null, 0, 'all_teams', '1', '110', '商业健康保险', 'annuityHealthInsurance', 'number',
+ 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157119, null, null, null, 0, 'all_teams', '1', '110', '税延养老保险', 'annuityEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157120, null, null, null, 0, 'all_teams', '1', '110', '其他', 'annuityOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157121, null, null, null, 0, 'all_teams', '1', '110', '准予扣除的捐赠额', 'annuityAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157122, null, null, null, 0, 'all_teams', '1', '110', '备注', 'annuityRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157123, null, null, null, 0, 'all_teams', '1', '402', '当期收入额', 'insuranceIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157124, null, null, null, 0, 'all_teams', '1', '402', '免税收入', 'insuranceTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157125, null, null, null, 0, 'all_teams', '1', '402', '商业健康保险', 'insuranceHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157126, null, null, null, 0, 'all_teams', '1', '402', '税延养老保险', 'insuranceEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157127, null, null, null, 0, 'all_teams', '1', '402', '其他', 'insuranceOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157128, null, null, null, 0, 'all_teams', '1', '402', '备注', 'insuranceRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157129, null, null, null, 0, 'all_teams', '1', '402', '减免税额', 'insuranceTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157130, null, null, null, 0, 'all_teams', '1', '402', '允许扣除税费', 'insuranceAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157131, null, null, null, 0, 'all_teams', '1', '403', '当期收入额', 'securitiesIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157132, null, null, null, 0, 'all_teams', '1', '403', '免税收入', 'securitiesTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157133, null, null, null, 0, 'all_teams', '1', '403', '商业健康保险', 'securitiesHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157134, null, null, null, 0, 'all_teams', '1', '403', '税延养老保险', 'securitiesEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157135, null, null, null, 0, 'all_teams', '1', '403', '其他', 'securitiesOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157136, null, null, null, 0, 'all_teams', '1', '403', '备注', 'securitiesRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157137, null, null, null, 0, 'all_teams', '1', '403', '减免税额', 'securitiesTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157138, null, null, null, 0, 'all_teams', '1', '403', '允许扣除税费', 'securitiesAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157139, null, null, null, 0, 'all_teams', '1', '489', '当期收入额', 'otherContinuousLaborIncome',
+ 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157140, null, null, null, 0, 'all_teams', '1', '489', '免税收入', 'otherContinuousLaborTaxFreeIncome',
+ 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157141, null, null, null, 0, 'all_teams', '1', '489', '商业健康保险',
+ 'otherContinuousLaborHealthInsurance', 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157142, null, null, null, 0, 'all_teams', '1', '489', '税延养老保险',
+ 'otherContinuousLaborEndowmentInsurance', 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157143, null, null, null, 0, 'all_teams', '1', '489', '其他', 'otherContinuousLaborOther', 'number',
+ 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157144, null, null, null, 0, 'all_teams', '1', '489', '备注', 'otherContinuousLaborRemark', 'string',
+ 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157145, null, null, null, 0, 'all_teams', '1', '489', '减免税额', 'otherContinuousLaborTaxDeduction',
+ 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157146, null, null, null, 0, 'all_teams', '1', '489', '允许扣除税费',
+ 'otherContinuousLaborAllowedDeductTax', 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157147, null, null, null, 0, 'all_teams', '1', '499', '当期收入额', 'otherLaborIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157149, null, null, null, 0, 'all_teams', '1', '499', '免税收入', 'otherLaborTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157150, null, null, null, 0, 'all_teams', '1', '499', '商业健康保险', 'otherLaborHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157151, null, null, null, 0, 'all_teams', '1', '499', '税延养老保险', 'otherLaborEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157152, null, null, null, 0, 'all_teams', '1', '499', '允许扣除税费', 'otherLaborAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157153, null, null, null, 0, 'all_teams', '1', '499', '其他', 'otherLaborOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157154, null, null, null, 0, 'all_teams', '1', '499', '备注', 'otherLaborRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157155, null, null, null, 0, 'all_teams', '1', '499', '减免税额', 'otherLaborTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157156, null, null, null, 0, 'all_teams', '1', '500', '当期收入额', 'authorIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157157, null, null, null, 0, 'all_teams', '1', '500', '免税收入', 'authorTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157158, null, null, null, 0, 'all_teams', '1', '500', '其他', 'authorOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157159, null, null, null, 0, 'all_teams', '1', '500', '减免税额', 'authorTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157160, null, null, null, 0, 'all_teams', '1', '500', '备注', 'authorRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157161, null, null, null, 0, 'all_teams', '1', '600', '当期收入额', 'royaltiesIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157162, null, null, null, 0, 'all_teams', '1', '600', '免税收入', 'royaltiesTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157163, null, null, null, 0, 'all_teams', '1', '600', '其他', 'royaltiesOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157164, null, null, null, 0, 'all_teams', '1', '600', '备注', 'royaltiesRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157165, null, null, null, 0, 'all_teams', '1', '600', '减免税额', 'royaltiesTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157166, null, null, null, 0, 'all_teams', '1', '109', '本月股权激励收入', 'stockRightIncome', 'number',
+ 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157167, null, null, null, 0, 'all_teams', '1', '109', '本年累计股权激励收入(不含本月)', 'stockRightAddUpIncome',
+ 'number', 'ljsre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157168, null, null, null, 0, 'all_teams', '1', '109', '本年累计其他', 'stockRightOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157169, null, null, null, 0, 'all_teams', '1', '109', '本年累计准予扣除的捐赠额', 'stockRightAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157170, null, null, null, 0, 'all_teams', '1', '109', '本年累计减免税额', 'stockRightTaxDeduction',
+ 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157171, null, null, null, 0, 'all_teams', '1', '109', '本年累计已扣缴税额', 'stockRightAddUpAdvanceTax',
+ 'number', 'ykjse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157172, null, null, null, 0, 'all_teams', '1', '109', '本年累计免税收入', 'stockRightTaxFreeIncome',
+ 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157173, null, null, null, 0, 'all_teams', '1', '109', '备注', 'stockRightRemark', 'string', 'bz');
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308150603.sql b/resource/sqlupgrade/DM/sql202308150603.sql
new file mode 100644
index 000000000..42973a3fa
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308150603.sql
@@ -0,0 +1,62 @@
+create table hrsa_sob_add_up_rule
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_sob_id number,
+ income_category varchar2(100),
+ salary_item_id number,
+ add_up_column_data_index varchar2(100)
+);
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpIncome', 'addUpSubtraction', 'addUpSocialSecurityTotal', 'addUpAccumulationFundTotal',
+ 'addUpEnterpriseAndOther', 'addUpOtherDeduction', 'addUpTaxExemptIncome',
+ 'addUpAllowedDonation', 'addUpTaxSavings');
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpTaxPayable' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpAdvanceTax';
+/
+
+delete from hrsa_sob_add_up_rule
+where income_category = 1
+ and add_up_column_data_index in ('addUpTaxPayable', 'addUpAdvanceTax');
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpAdvanceTax' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpTaxPayable';
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpTaxableIncome','addUpTaxFreeIncome','addUpTaxDeduction');
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308170103.sql b/resource/sqlupgrade/DM/sql202308170103.sql
new file mode 100644
index 000000000..d52249496
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308170103.sql
@@ -0,0 +1,3 @@
+alter table hrsa_tax_payment_request add feedback int;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308230303.sql b/resource/sqlupgrade/DM/sql202308230303.sql
new file mode 100644
index 000000000..4867c56aa
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308230303.sql
@@ -0,0 +1,6 @@
+alter table hrsa_tax_agent_tax_return add city_name varchar2(400);
+/
+
+update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202308240201.sql b/resource/sqlupgrade/DM/sql202308240201.sql
new file mode 100644
index 000000000..c8aa4e1b1
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308240201.sql
@@ -0,0 +1,47 @@
+delete from HtmlLabelIndex where id = 544827 and ( trim(indexdesc) is null ) ;
+/
+
+insert into HtmlLabelIndex(id,indexdesc) select 544827,'智能算薪' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544827 and ( trim(indexdesc) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'Intelligent salary calculation' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelIndex where id = 544826 and ( trim(indexdesc) is null ) ;
+/
+
+insert into HtmlLabelIndex(id,indexdesc) select 544826,'人员信息报送' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544826 and ( trim(indexdesc) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人员信息报送' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'Personnel information submission' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人員信息報送' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/DM/sql202308240302.sql b/resource/sqlupgrade/DM/sql202308240302.sql
new file mode 100644
index 000000000..b1a7f7b0e
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308240302.sql
@@ -0,0 +1,29 @@
+Delete from LeftMenuInfo where id=100191;
+/
+
+Delete from LeftMenuConfig where infoid=100191;
+/
+
+call LMConfig_U_ByInfoInsert (2,100181,1);
+/
+
+call LMInfo_Insert (100191,544827,'','',2,100181,1,18);
+/
+
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/intelligentCalculateSalarySettings' where id = 100191;
+/
+
+Delete from LeftMenuInfo where id=100192;
+/
+
+Delete from LeftMenuConfig where infoid=100192;
+/
+
+call LMConfig_U_ByInfoInsert (2,100118,7);
+/
+
+call LMInfo_Insert (100192,544826,'','',2,100118,7,18);
+/
+
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/employeedeclare' where id = 100192;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/DM/sql202308280203.sql b/resource/sqlupgrade/DM/sql202308280203.sql
new file mode 100644
index 000000000..77273e99e
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202308280203.sql
@@ -0,0 +1,47 @@
+create table hrsa_tax_api_flow_receiver
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ warn_config_id number not null,
+ employee_id number not null,
+ email varchar2(100),
+ mobile varchar2(50)
+);
+/
+
+create table hrsa_tax_api_flow_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number not null,
+ tax_month date not null,
+ use_time date not null,
+ deduct int,
+ employee_id number not null,
+ business_type int not null,
+ result_status int not null
+);
+/
+
+create table hrsa_tax_api_flow_warn_config
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ enable_warn int default 0 not null,
+ threshold int default 0 not null,
+ business_id number default '0' not null
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202309040303.sql b/resource/sqlupgrade/DM/sql202309040303.sql
new file mode 100644
index 000000000..5805822bc
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202309040303.sql
@@ -0,0 +1,40 @@
+create table hrsa_add_up_deduction_request
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ request_id number not null,
+ request_status number default 1 not null,
+ tax_year_month date not null,
+ outer_request_id varchar2(50) not null,
+ tax_agent_id number not null
+);
+/
+
+alter table hrsa_add_up_deduction_request add lock_version int;
+/
+
+alter table hrsa_add_up_deduction_request modify lock_version default 0;
+/
+
+create table hrsa_add_up_deduction_req_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ request_id number not null,
+ employee_id number not null,
+ employee_type int not null,
+ tax_agent_id number not null,
+ reason varchar2(255) not null,
+ tax_year_month date not null,
+ outer_request_id varchar2(50) not null
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202309050203.sql b/resource/sqlupgrade/DM/sql202309050203.sql
new file mode 100644
index 000000000..2b3f805e1
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202309050203.sql
@@ -0,0 +1,30 @@
+alter table hrsa_add_up_situation add add_up_taxable_income varchar2(255);
+/
+
+alter table hrsa_add_up_situation add actual_add_up_advance_tax varchar2(255);
+/
+
+alter table hrsa_add_up_situation add tax_adjustment varchar2(255);
+/
+
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312885, 1, 674916065864646661, 1, 0, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), 0, 'all_teams', 703433961629614119, 5);
+/
+
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312886, 1, 674916065864646658, 1, 0, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), 0, 'all_teams', 703433961629614119, 6);
+/
+
+INSERT INTO hrsa_formula(id, name, description, module, use_for, reference_type, return_type, validate_type, extend_param, formula, formulaRunScript, creator, delete_type, create_time, update_time) VALUES (1693896072589, '当前累计减免税额合计', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{"isCustomFunction":"0","sqlReturnKey":"","openDecrypt":"0","datasource":{"datasourceId":""}}', '{薪资项目.本月(次)减免税额}+{往期累计情况.累计减免税额}', 'salaryItem_taxDeduction+addUpSituation_addUpTaxSavings', 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'));
+/
+
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072606, '本月(次)减免税额', 1693896072589, 'salaryItem_taxDeduction', '{薪资项目.本月(次)减免税额}', 'number', 'salaryItem', 0, 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'));
+/
+
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072611, '累计减免税额', 1693896072589, 'addUpSituation_addUpTaxSavings', '{往期累计情况.累计减免税额}', 'number', 'addUpSituation', 1, 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'));
+/
+
+update hrsa_sys_salary_item set value_type = 2 ,formula_id =1693896072589 where id = 674916065864646658;
+/
+
+update hrsa_salary_item set value_type =2 ,formula_id =1693896072589 where sys_salary_item_id = 674916065864646658;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202312190103.sql b/resource/sqlupgrade/DM/sql202312190103.sql
new file mode 100644
index 000000000..3956b4605
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202312190103.sql
@@ -0,0 +1,61 @@
+ALTER TABLE hrsa_tax_report_column ADD contrast_type int NULL;
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158174, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计收入额', 'addUpIncome', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158175, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计免税收入', 'addUpTaxFreeIncome', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158176, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减除费用', 'addUpSubtraction', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158177, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计专项扣除', 'addUpSpecialDeduction', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158184, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计其他扣除', 'addUpOtherDeduction', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158185, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计准予扣除的捐赠', 'addUpAllowedDonation', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158186, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税所得额', 'addUpTaxableIncome', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158187, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '税率', 'taxRate', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158188, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '速算扣除数', 'quickDeductionFactor', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158189, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税额', 'addUpTaxPayable', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158190, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减免税额', 'addUpTaxDeduction', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158192, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计已缴税额', 'addUpAdvanceTax', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158193, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '应补(退)税额', 'refundedOrSupplementedTax', '', NULL, NULL,1);
+/
+
+update hrsa_tax_report_column set report_column_name = '累计3岁以下婴幼儿照护' where report_column_name = '累计3岁以下婴幼儿照护支出';
+/
+
+update hrsa_tax_report_column set contrast_type = 0;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202312270603.sql b/resource/sqlupgrade/DM/sql202312270603.sql
new file mode 100644
index 000000000..d239eb43a
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202312270603.sql
@@ -0,0 +1,10 @@
+ALTER TABLE hrsa_tax_declaration_value add (
+ source number
+);
+/
+
+ALTER TABLE hrsa_tax_declare_record add (
+ declare_request_id varchar2(100)
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202312270703.sql b/resource/sqlupgrade/DM/sql202312270703.sql
new file mode 100644
index 000000000..fa59157ed
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202312270703.sql
@@ -0,0 +1,3 @@
+update hrsa_tax_declaration_value set source = 0;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202403193303.sql b/resource/sqlupgrade/DM/sql202403193303.sql
new file mode 100644
index 000000000..4238b2123
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202403193303.sql
@@ -0,0 +1,12 @@
+ALTER TABLE hrsa_employee_declare ADD (
+nationality varchar2(255) NULL ,
+birthplace varchar2(255) NULL ,
+tax_reasons varchar2(255) NULL ,
+entry_date date NULL ,
+departure_date date NULL
+);
+/
+
+update hrsa_employee_declare set nationality = '中国' where nationality is null;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202404120303.sql b/resource/sqlupgrade/DM/sql202404120303.sql
new file mode 100644
index 000000000..3ce4e54d0
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202404120303.sql
@@ -0,0 +1,18 @@
+CREATE TABLE hrsa_tax_declare_status (
+id NUMBER(38,0) primary key NOT NULL,
+tax_declare_record_id NUMBER(38,0) NULL ,
+report_type number NULL ,
+request_id varchar2(100) ,
+tax_declare_type number NULL ,
+tax_declare_status number NULL ,
+display_update_icon number NULL ,
+tax_declare_error_msg varchar2(1000) ,
+person_num number NULL ,
+tax_pay_amount varchar2(255) ,
+tax_paid_amount varchar2(255) ,
+tax_pure_paid_amount varchar2(255) ,
+declare_request_id varchar2(100) ,
+delete_type number NULL
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202406170103.sql b/resource/sqlupgrade/DM/sql202406170103.sql
new file mode 100644
index 000000000..159a2e240
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202406170103.sql
@@ -0,0 +1,14 @@
+CREATE TABLE hrsa_sob_tax_rule (
+id NUMBER(38,0) primary key NOT NULL,
+salary_sob_id NUMBER(38,0) NULL ,
+income_category varchar2(100) ,
+tax_index varchar2(100) ,
+salary_item_id NUMBER(38,0) NULL ,
+creator NUMBER(38,0) DEFAULT 0,
+create_time DATE DEFAULT sysdate,
+update_time DATE DEFAULT sysdate,
+delete_type number DEFAULT 0,
+tenant_key varchar2(10) DEFAULT ''
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202406260403.sql b/resource/sqlupgrade/DM/sql202406260403.sql
new file mode 100644
index 000000000..f27cbf3c4
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202406260403.sql
@@ -0,0 +1,14 @@
+create table hrsa_api_task_record
+(
+ id number primary key ,
+ source varchar2(500) ,
+ api varchar2(500),
+ param clob ,
+ response clob,
+ create_time date,
+ update_time date,
+ delete_type int default 0,
+ tenant_key varchar2(10)
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202407170103.sql b/resource/sqlupgrade/DM/sql202407170103.sql
new file mode 100644
index 000000000..6326041b7
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202407170103.sql
@@ -0,0 +1,14 @@
+create table hrsa_acct_calc_tax_req
+(
+ id number primary key ,
+ create_time date default sysdate,
+ update_time date default sysdate,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_acct_record_id number,
+ tax_agent_id number,
+ request_id varchar2(100)
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202412160303.sql b/resource/sqlupgrade/DM/sql202412160303.sql
new file mode 100644
index 000000000..76dc4c94e
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202412160303.sql
@@ -0,0 +1,122 @@
+create table hrsa_other_derate_deduction
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ other_deduction varchar2(50),
+ remark varchar2(255)
+);
+/
+
+create table hrsa_health_insurance
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ identification_number varchar2(255),
+ effective_date date,
+ year_premium varchar2(50),
+ month_premium varchar2(50),
+ current_deduction varchar2(50)
+);
+/
+
+create table hrsa_grant_donation
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ recipient_name varchar2(255),
+ tax_code varchar2(255),
+ donation_number varchar2(255),
+ donate_date date,
+ donate_amount varchar2(50),
+ deduction_proportion varchar2(10),
+ actual_deduction varchar2(50)
+);
+/
+
+create table hrsa_endowment_insurance
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ account_number varchar2(255),
+ check_code varchar2(255),
+ year_premium varchar2(50),
+ month_premium varchar2(50),
+ current_deduction varchar2(50),
+ deduction_month date
+);
+/
+
+create table hrsa_derate_deduction
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ derate_item varchar2(255),
+ derate_property varchar2(255),
+ derate_amount varchar2(255)
+);
+/
+
+create table hrsa_free_income
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ free_item varchar2(255),
+ free_property varchar2(255),
+ free_amount varchar2(255)
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202412160403.sql b/resource/sqlupgrade/DM/sql202412160403.sql
new file mode 100644
index 000000000..07a4c3c3b
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202412160403.sql
@@ -0,0 +1,18 @@
+alter table hrsa_derate_deduction add employee_type int;
+/
+
+alter table hrsa_endowment_insurance add employee_type int;
+/
+
+alter table hrsa_free_income add employee_type int;
+/
+
+alter table hrsa_grant_donation add employee_type int;
+/
+
+alter table hrsa_health_insurance add employee_type int;
+/
+
+alter table hrsa_other_derate_deduction add employee_type int;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202412230103.sql b/resource/sqlupgrade/DM/sql202412230103.sql
new file mode 100644
index 000000000..7d3959666
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202412230103.sql
@@ -0,0 +1,25 @@
+create table hrsa_personal_pension
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ voucher_type varchar2(255),
+ voucher_no varchar2(255),
+ pay_amount varchar2(255),
+ data_source int,
+ collect_source varchar2(50),
+ pay_month date,
+ eb_data_id number,
+ voucher_type_name varchar2(50),
+ employee_type int
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202412240103.sql b/resource/sqlupgrade/DM/sql202412240103.sql
new file mode 100644
index 000000000..3762c4a0d
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202412240103.sql
@@ -0,0 +1,10 @@
+ALTER TABLE hrsa_other_deduction ADD (
+ free_income varchar2(255) NULL
+);
+/
+
+ALTER TABLE hrsa_other_deduction ADD (
+ derate_deduction varchar2(255) NULL
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202503190103.sql b/resource/sqlupgrade/DM/sql202503190103.sql
new file mode 100644
index 000000000..9940e3121
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202503190103.sql
@@ -0,0 +1,38 @@
+create table hrsa_deduction_amount
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ year varchar2(100),
+ employee_id number,
+ employee_type number,
+ employee_name varchar2(100),
+ job_num varchar2(100),
+ card_type number,
+ card_num varchar2(100),
+ nationality varchar2(200),
+ deduct_flag number,
+ successfully_declared number,
+ declare_status number,
+ declare_error_msg varchar2(1000)
+);
+/
+
+create table hrsa_deduction_amount_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ year varchar2(100),
+ request_id varchar2(100)
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202506190103.sql b/resource/sqlupgrade/DM/sql202506190103.sql
new file mode 100644
index 000000000..952cd69b8
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202506190103.sql
@@ -0,0 +1,24 @@
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158200, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '当期收入额', 'dividendsIncome', 'number', 'sre', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158201, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '免税收入', 'dividendsFreeIncome', 'number', 'mssd', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158202, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '准予扣除的捐赠额', 'dividendsAllowedDonation', 'number', 'zykcjze', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158203, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '减免税额', 'dividendsTaxDeduction', 'string', 'jmse', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158204, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '本期收入', 'listedCompanyIncome', 'number', 'sre', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158206, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '免税收入', 'listedCompanyFreeIncome', 'number', 'mssd', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158207, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '准予扣除的捐赠额', 'listedCompanyAllowedDonation', 'number', 'zykcjze', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158208, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '减免税额', 'listedCompanyTaxDeduction', 'string', 'jmse', NULL, 0);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202507010303.sql b/resource/sqlupgrade/DM/sql202507010303.sql
new file mode 100644
index 000000000..a25d13d65
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202507010303.sql
@@ -0,0 +1,21 @@
+ALTER TABLE hrsa_free_income ADD income_category int;
+/
+
+ALTER TABLE hrsa_derate_deduction ADD income_category int;
+/
+
+ALTER TABLE hrsa_endowment_insurance ADD income_category int;
+/
+
+ALTER TABLE hrsa_grant_donation ADD income_category int;
+/
+
+ALTER TABLE hrsa_health_insurance ADD income_category int;
+/
+
+ALTER TABLE hrsa_other_derate_deduction ADD income_category int;
+/
+
+ALTER TABLE hrsa_personal_pension ADD income_category int;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202507010403.sql b/resource/sqlupgrade/DM/sql202507010403.sql
new file mode 100644
index 000000000..69d97a34e
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202507010403.sql
@@ -0,0 +1,21 @@
+update hrsa_free_income set income_category = 1;
+/
+
+update hrsa_derate_deduction set income_category = 1;
+/
+
+update hrsa_endowment_insurance set income_category = 1;
+/
+
+update hrsa_grant_donation set income_category = 1;
+/
+
+update hrsa_health_insurance set income_category = 1;
+/
+
+update hrsa_other_derate_deduction set income_category = 1;
+/
+
+update hrsa_personal_pension set income_category = 1;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202507110103.sql b/resource/sqlupgrade/DM/sql202507110103.sql
new file mode 100644
index 000000000..a942c94e6
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202507110103.sql
@@ -0,0 +1,3 @@
+alter table hrsa_tax_payment_request add report_type number(11) null;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308080603.sql b/resource/sqlupgrade/GS/sql202308080603.sql
new file mode 100644
index 000000000..3fa4e6655
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308080603.sql
@@ -0,0 +1,51 @@
+create table hrsa_employee_declare_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ tax_cycle date,
+ request_id varchar2(100)
+);
+/
+
+create table hrsa_employee_declare
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ tax_cycle date,
+ employee_id number,
+ employee_type number,
+ employee_name varchar2(100),
+ job_num varchar2(100),
+ card_type number,
+ card_num varchar2(100),
+ gender varchar2(100),
+ birthday date,
+ employment_status number,
+ mobile varchar2(100),
+ employment_type number,
+ employment_first_year varchar2(100),
+ employment_date date,
+ dismiss_date date,
+ disability number,
+ disability_card_no varchar2(100),
+ lonely_old number,
+ martyr_dependents number,
+ martyr_dependents_card_no varchar2(100),
+ deduct_expenses number,
+ successfully_declared number,
+ new_employee_info number,
+ declare_status number,
+ declare_error_msg varchar2(1000)
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308090303.sql b/resource/sqlupgrade/GS/sql202308090303.sql
new file mode 100644
index 000000000..0a9e21cc4
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308090303.sql
@@ -0,0 +1,36 @@
+create table hrsa_tax_declare_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ salary_month date,
+ tax_cycle date,
+ remark varchar2(1000),
+ request_id varchar2(100),
+ tax_declare_type number,
+ tax_declare_status number
+);
+/
+
+alter table hrsa_tax_declare_record add display_update_icon number;
+/
+
+alter table hrsa_tax_declare_record add tax_pay_amount varchar2(255);
+/
+
+alter table hrsa_tax_declare_record add person_num int;
+/
+
+alter table hrsa_tax_declare_record add tax_declare_error_msg varchar2(1000);
+/
+
+alter table hrsa_tax_declare_record add tax_paid_amount varchar2(255);
+/
+
+alter table hrsa_tax_declare_record add tax_pure_paid_amount varchar2(255);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308100803.sql b/resource/sqlupgrade/GS/sql202308100803.sql
new file mode 100644
index 000000000..fd9ce7f25
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308100803.sql
@@ -0,0 +1,15 @@
+create table hrsa_tax_declare_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ employee_name varchar2(100),
+ card_num varchar2(100),
+ error_msg varchar2(1000)
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308110103.sql b/resource/sqlupgrade/GS/sql202308110103.sql
new file mode 100644
index 000000000..dea9e8743
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308110103.sql
@@ -0,0 +1,39 @@
+create table hrsa_tax_report_column
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_report_type varchar2(100),
+ income_category varchar2(100),
+ report_column_name varchar2(100),
+ report_column_data_index varchar2(100)
+);
+/
+
+create table hrsa_sob_tax_report_rule
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_sob_id number,
+ income_category varchar2(100),
+ report_column_data_index varchar2(100),
+ salary_item_id number
+);
+/
+
+alter table hrsa_tax_report_column add data_type varchar2(100);
+/
+
+alter table hrsa_tax_report_column add request_param_key varchar2(100);
+/
+
+alter table hrsa_tax_report_column add report_column_label varchar2(100);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308110203.sql b/resource/sqlupgrade/GS/sql202308110203.sql
new file mode 100644
index 000000000..d8ddbd9db
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308110203.sql
@@ -0,0 +1,18 @@
+create table hrsa_tax_declare_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ employee_name varchar2(100),
+ card_num varchar2(100),
+ error_msg varchar2(1000)
+);
+/
+
+alter table hrsa_tax_declare_fail add income_category varchar2(100);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308110303.sql b/resource/sqlupgrade/GS/sql202308110303.sql
new file mode 100644
index 000000000..2a4ef5ef9
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308110303.sql
@@ -0,0 +1,18 @@
+alter table hrsa_tax_declaration add tax_declare_record_id number;
+/
+
+alter table hrsa_tax_declaration add control_view int;
+/
+
+alter table hrsa_salary_acct_emp add income_category varchar2(100);
+/
+
+alter table hrsa_salary_acct_record add control_view int;
+/
+
+update hrsa_salary_acct_record set control_view = 0 where control_view is null;
+/
+
+update hrsa_tax_declaration set control_view = 0 where control_view is null;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308140203.sql b/resource/sqlupgrade/GS/sql202308140203.sql
new file mode 100644
index 000000000..fbeca581b
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308140203.sql
@@ -0,0 +1,16 @@
+create table hrsa_tax_declaration_value
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ tax_declaration_id number,
+ employee_type number,
+ employee_id number,
+ result_value_json clob
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308150303.sql b/resource/sqlupgrade/GS/sql202308150303.sql
new file mode 100644
index 000000000..c8b267f97
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308150303.sql
@@ -0,0 +1,29 @@
+alter table hrsa_salary_sob_item add income_category varchar2(100);
+/
+
+alter table hrsa_salary_sob_item modify income_category default '1';
+/
+
+update hrsa_salary_sob_item set income_category = '1' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '1');
+/
+
+update hrsa_salary_sob_item set income_category = '2' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '2');
+/
+
+update hrsa_salary_sob_item set income_category = '4' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '4');
+/
+
+alter table hrsa_salary_sob_item add salary_item_code varchar2(100);
+/
+
+update hrsa_salary_sob_item a
+set ( salary_item_code) = (
+ select code as salary_item_code
+ from hrsa_salary_item b
+ where a.salary_item_id = b.id
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308150503.sql b/resource/sqlupgrade/GS/sql202308150503.sql
new file mode 100644
index 000000000..e268c0264
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308150503.sql
@@ -0,0 +1,729 @@
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157061, null, null, null, 0, 'all_teams', '1', '2', '当期收入额', 'annualIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157062, null, null, null, 0, 'all_teams', '1', '2', '免税收入', 'annualTaxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157063, null, null, null, 0, 'all_teams', '1', '2', '其他', 'annualOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157064, null, null, null, 0, 'all_teams', '1', '2', '准予扣除的捐赠额', 'annualDonateTax', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157065, null, null, null, 0, 'all_teams', '1', '2', '减免税额', 'annualTaxSavings', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157066, null, null, null, 0, 'all_teams', '1', '2', '备注', 'annualRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157068, null, null, null, 0, 'all_teams', '1', '4', '当期收入额', 'laborIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157069, null, null, null, 0, 'all_teams', '1', '4', '免税收入', 'laborTaxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157070, null, null, null, 0, 'all_teams', '1', '4', '商业健康保险', 'commercialHealthInsurance4',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157071, null, null, null, 0, 'all_teams', '1', '4', '税延养老保险', 'taxDeferredEndowmentInsurance4',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157072, null, null, null, 0, 'all_teams', '1', '4', '允许扣除税费', 'allowedDeductTax4', 'number',
+ 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157073, null, null, null, 0, 'all_teams', '1', '4', '其他', 'other4', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157074, null, null, null, 0, 'all_teams', '1', '4', '减免税额', 'labor_tax_saving', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157075, null, null, null, 0, 'all_teams', '1', '4', '备注', 'description4', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157077, null, null, null, 0, 'all_teams', '1', '1', '本期收入', 'income', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157078, null, null, null, 0, 'all_teams', '1', '1', '本期免税收入', 'taxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157079, null, null, null, 0, 'all_teams', '1', '1', '基本养老保险费', 'endowmentInsurance', 'number',
+ 'jbylaobxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157080, null, null, null, 0, 'all_teams', '1', '1', '基本医疗保险费', 'medicalInsurance', 'number',
+ 'jbylbxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157081, null, null, null, 0, 'all_teams', '1', '1', '失业保险费', 'unemploymentInsurance', 'number',
+ 'sybxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157082, null, null, null, 0, 'all_teams', '1', '1', '住房公积金', 'housingProvidentFund', 'number',
+ 'zfgjj');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157083, null, null, null, 0, 'all_teams', '1', '1', '累计子女教育', 'addUpChildEducation', 'number',
+ 'ljznjyzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157084, null, null, null, 0, 'all_teams', '1', '1', '累计住房贷款利息', 'addUpHousingLoanInterest',
+ 'number', 'ljzfdklxzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157085, null, null, null, 0, 'all_teams', '1', '1', '累计住房租金', 'addUpHousingRent', 'number',
+ 'ljzfzjzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157086, null, null, null, 0, 'all_teams', '1', '1', '累计赡养老人', 'addUpSupportElderly', 'number',
+ 'ljsylrzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157087, null, null, null, 0, 'all_teams', '1', '1', '累计继续教育', 'addUpContinuingEducation', 'number',
+ 'ljjxjyzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157088, null, null, null, 0, 'all_teams', '1', '1', '累计3岁以下婴幼儿照护支出', 'addUpInfantCare', 'number',
+ 'ljyyezhzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157089, null, null, null, 0, 'all_teams', '1', '1', '企业(职业)年金', 'annuity', 'number', 'nj');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157090, null, null, null, 0, 'all_teams', '1', '1', '商业健康保险', 'commercialHealthInsurance', 'number',
+ 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157091, null, null, null, 0, 'all_teams', '1', '1', '税延养老保险', 'taxDeferredEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157092, null, null, null, 0, 'all_teams', '1', '1', '其他', 'other', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157093, null, null, null, 0, 'all_teams', '1', '1', '准予扣除的捐赠额', 'allowedDonation', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157094, null, null, null, 0, 'all_teams', '1', '1', '减免税额', 'taxDeduction', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157095, null, null, null, 0, 'all_teams', '1', '1', '备注', 'description', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157096, null, null, null, 0, 'all_teams', '1', '107', '一次性补偿收入', 'retireCompensationIncome',
+ 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157097, null, null, null, 0, 'all_teams', '1', '107', '本期工资收入', 'retireWageIncome', 'number',
+ 'bqgzs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157098, null, null, null, 0, 'all_teams', '1', '107', '免税收入', 'retireTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157099, null, null, null, 0, 'all_teams', '1', '107', '其他', 'retireOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157100, null, null, null, 0, 'all_teams', '1', '107', '准予扣除的捐赠额', 'retireAllowedDonation', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157101, null, null, null, 0, 'all_teams', '1', '107', '减免税额', 'retireTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157102, null, null, null, 0, 'all_teams', '1', '107', '备注', 'retireRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157103, null, null, null, 0, 'all_teams', '1', '107', '分摊月份数', 'retireSplitMonth', 'number',
+ 'ftyfs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157104, null, null, null, 0, 'all_teams', '1', '108', '当期收入额', 'dismissIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157105, null, null, null, 0, 'all_teams', '1', '108', '免税收入', 'dismissTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157106, null, null, null, 0, 'all_teams', '1', '108', '其他', 'dismissOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157107, null, null, null, 0, 'all_teams', '1', '108', '备注', 'dismissRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157108, null, null, null, 0, 'all_teams', '1', '108', '准予扣除的捐赠额', 'dismissAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157109, null, null, null, 0, 'all_teams', '1', '108', '减免税额', 'dismissTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157110, null, null, null, 0, 'all_teams', '1', '110', '当期收入额', 'annuityIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157111, null, null, null, 0, 'all_teams', '1', '110', '已完税缴费额', 'annuityTaxPaidAmount', 'number',
+ 'ywsjfe');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157112, null, null, null, 0, 'all_teams', '1', '110', '全部缴费额', 'annuityTotalPayment', 'number',
+ 'qbjfe');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157113, null, null, null, 0, 'all_teams', '1', '110', '是否一次性领取', 'annuityOneTimeReceive', 'string',
+ 'sfycxlq');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157114, null, null, null, 0, 'all_teams', '1', '110', '年金领取方式', 'annuityReceiveMethod', 'string',
+ 'njlqfs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157115, null, null, null, 0, 'all_teams', '1', '110', '年金领取原因', 'annuityReceiveReason', 'string',
+ 'njlqyy');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157116, null, null, null, 0, 'all_teams', '1', '110', '免税收入', 'annuityTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157117, null, null, null, 0, 'all_teams', '1', '110', '减免税额', 'annuityTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157118, null, null, null, 0, 'all_teams', '1', '110', '商业健康保险', 'annuityHealthInsurance', 'number',
+ 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157119, null, null, null, 0, 'all_teams', '1', '110', '税延养老保险', 'annuityEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157120, null, null, null, 0, 'all_teams', '1', '110', '其他', 'annuityOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157121, null, null, null, 0, 'all_teams', '1', '110', '准予扣除的捐赠额', 'annuityAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157122, null, null, null, 0, 'all_teams', '1', '110', '备注', 'annuityRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157123, null, null, null, 0, 'all_teams', '1', '402', '当期收入额', 'insuranceIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157124, null, null, null, 0, 'all_teams', '1', '402', '免税收入', 'insuranceTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157125, null, null, null, 0, 'all_teams', '1', '402', '商业健康保险', 'insuranceHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157126, null, null, null, 0, 'all_teams', '1', '402', '税延养老保险', 'insuranceEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157127, null, null, null, 0, 'all_teams', '1', '402', '其他', 'insuranceOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157128, null, null, null, 0, 'all_teams', '1', '402', '备注', 'insuranceRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157129, null, null, null, 0, 'all_teams', '1', '402', '减免税额', 'insuranceTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157130, null, null, null, 0, 'all_teams', '1', '402', '允许扣除税费', 'insuranceAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157131, null, null, null, 0, 'all_teams', '1', '403', '当期收入额', 'securitiesIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157132, null, null, null, 0, 'all_teams', '1', '403', '免税收入', 'securitiesTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157133, null, null, null, 0, 'all_teams', '1', '403', '商业健康保险', 'securitiesHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157134, null, null, null, 0, 'all_teams', '1', '403', '税延养老保险', 'securitiesEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157135, null, null, null, 0, 'all_teams', '1', '403', '其他', 'securitiesOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157136, null, null, null, 0, 'all_teams', '1', '403', '备注', 'securitiesRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157137, null, null, null, 0, 'all_teams', '1', '403', '减免税额', 'securitiesTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157138, null, null, null, 0, 'all_teams', '1', '403', '允许扣除税费', 'securitiesAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157139, null, null, null, 0, 'all_teams', '1', '489', '当期收入额', 'otherContinuousLaborIncome',
+ 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157140, null, null, null, 0, 'all_teams', '1', '489', '免税收入', 'otherContinuousLaborTaxFreeIncome',
+ 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157141, null, null, null, 0, 'all_teams', '1', '489', '商业健康保险',
+ 'otherContinuousLaborHealthInsurance', 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157142, null, null, null, 0, 'all_teams', '1', '489', '税延养老保险',
+ 'otherContinuousLaborEndowmentInsurance', 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157143, null, null, null, 0, 'all_teams', '1', '489', '其他', 'otherContinuousLaborOther', 'number',
+ 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157144, null, null, null, 0, 'all_teams', '1', '489', '备注', 'otherContinuousLaborRemark', 'string',
+ 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157145, null, null, null, 0, 'all_teams', '1', '489', '减免税额', 'otherContinuousLaborTaxDeduction',
+ 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157146, null, null, null, 0, 'all_teams', '1', '489', '允许扣除税费',
+ 'otherContinuousLaborAllowedDeductTax', 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157147, null, null, null, 0, 'all_teams', '1', '499', '当期收入额', 'otherLaborIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157149, null, null, null, 0, 'all_teams', '1', '499', '免税收入', 'otherLaborTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157150, null, null, null, 0, 'all_teams', '1', '499', '商业健康保险', 'otherLaborHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157151, null, null, null, 0, 'all_teams', '1', '499', '税延养老保险', 'otherLaborEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157152, null, null, null, 0, 'all_teams', '1', '499', '允许扣除税费', 'otherLaborAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157153, null, null, null, 0, 'all_teams', '1', '499', '其他', 'otherLaborOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157154, null, null, null, 0, 'all_teams', '1', '499', '备注', 'otherLaborRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157155, null, null, null, 0, 'all_teams', '1', '499', '减免税额', 'otherLaborTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157156, null, null, null, 0, 'all_teams', '1', '500', '当期收入额', 'authorIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157157, null, null, null, 0, 'all_teams', '1', '500', '免税收入', 'authorTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157158, null, null, null, 0, 'all_teams', '1', '500', '其他', 'authorOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157159, null, null, null, 0, 'all_teams', '1', '500', '减免税额', 'authorTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157160, null, null, null, 0, 'all_teams', '1', '500', '备注', 'authorRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157161, null, null, null, 0, 'all_teams', '1', '600', '当期收入额', 'royaltiesIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157162, null, null, null, 0, 'all_teams', '1', '600', '免税收入', 'royaltiesTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157163, null, null, null, 0, 'all_teams', '1', '600', '其他', 'royaltiesOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157164, null, null, null, 0, 'all_teams', '1', '600', '备注', 'royaltiesRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157165, null, null, null, 0, 'all_teams', '1', '600', '减免税额', 'royaltiesTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157166, null, null, null, 0, 'all_teams', '1', '109', '本月股权激励收入', 'stockRightIncome', 'number',
+ 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157167, null, null, null, 0, 'all_teams', '1', '109', '本年累计股权激励收入(不含本月)', 'stockRightAddUpIncome',
+ 'number', 'ljsre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157168, null, null, null, 0, 'all_teams', '1', '109', '本年累计其他', 'stockRightOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157169, null, null, null, 0, 'all_teams', '1', '109', '本年累计准予扣除的捐赠额', 'stockRightAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157170, null, null, null, 0, 'all_teams', '1', '109', '本年累计减免税额', 'stockRightTaxDeduction',
+ 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157171, null, null, null, 0, 'all_teams', '1', '109', '本年累计已扣缴税额', 'stockRightAddUpAdvanceTax',
+ 'number', 'ykjse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157172, null, null, null, 0, 'all_teams', '1', '109', '本年累计免税收入', 'stockRightTaxFreeIncome',
+ 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157173, null, null, null, 0, 'all_teams', '1', '109', '备注', 'stockRightRemark', 'string', 'bz');
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308150603.sql b/resource/sqlupgrade/GS/sql202308150603.sql
new file mode 100644
index 000000000..42973a3fa
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308150603.sql
@@ -0,0 +1,62 @@
+create table hrsa_sob_add_up_rule
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_sob_id number,
+ income_category varchar2(100),
+ salary_item_id number,
+ add_up_column_data_index varchar2(100)
+);
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpIncome', 'addUpSubtraction', 'addUpSocialSecurityTotal', 'addUpAccumulationFundTotal',
+ 'addUpEnterpriseAndOther', 'addUpOtherDeduction', 'addUpTaxExemptIncome',
+ 'addUpAllowedDonation', 'addUpTaxSavings');
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpTaxPayable' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpAdvanceTax';
+/
+
+delete from hrsa_sob_add_up_rule
+where income_category = 1
+ and add_up_column_data_index in ('addUpTaxPayable', 'addUpAdvanceTax');
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpAdvanceTax' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpTaxPayable';
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpTaxableIncome','addUpTaxFreeIncome','addUpTaxDeduction');
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308170103.sql b/resource/sqlupgrade/GS/sql202308170103.sql
new file mode 100644
index 000000000..d52249496
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308170103.sql
@@ -0,0 +1,3 @@
+alter table hrsa_tax_payment_request add feedback int;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308230303.sql b/resource/sqlupgrade/GS/sql202308230303.sql
new file mode 100644
index 000000000..4867c56aa
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308230303.sql
@@ -0,0 +1,6 @@
+alter table hrsa_tax_agent_tax_return add city_name varchar2(400);
+/
+
+update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202308240201.sql b/resource/sqlupgrade/GS/sql202308240201.sql
new file mode 100644
index 000000000..c8aa4e1b1
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308240201.sql
@@ -0,0 +1,47 @@
+delete from HtmlLabelIndex where id = 544827 and ( trim(indexdesc) is null ) ;
+/
+
+insert into HtmlLabelIndex(id,indexdesc) select 544827,'智能算薪' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544827 and ( trim(indexdesc) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'Intelligent salary calculation' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelIndex where id = 544826 and ( trim(indexdesc) is null ) ;
+/
+
+insert into HtmlLabelIndex(id,indexdesc) select 544826,'人员信息报送' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544826 and ( trim(indexdesc) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人员信息报送' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'Personnel information submission' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人員信息報送' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/GS/sql202308240302.sql b/resource/sqlupgrade/GS/sql202308240302.sql
new file mode 100644
index 000000000..b1a7f7b0e
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308240302.sql
@@ -0,0 +1,29 @@
+Delete from LeftMenuInfo where id=100191;
+/
+
+Delete from LeftMenuConfig where infoid=100191;
+/
+
+call LMConfig_U_ByInfoInsert (2,100181,1);
+/
+
+call LMInfo_Insert (100191,544827,'','',2,100181,1,18);
+/
+
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/intelligentCalculateSalarySettings' where id = 100191;
+/
+
+Delete from LeftMenuInfo where id=100192;
+/
+
+Delete from LeftMenuConfig where infoid=100192;
+/
+
+call LMConfig_U_ByInfoInsert (2,100118,7);
+/
+
+call LMInfo_Insert (100192,544826,'','',2,100118,7,18);
+/
+
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/employeedeclare' where id = 100192;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/GS/sql202308280203.sql b/resource/sqlupgrade/GS/sql202308280203.sql
new file mode 100644
index 000000000..77273e99e
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202308280203.sql
@@ -0,0 +1,47 @@
+create table hrsa_tax_api_flow_receiver
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ warn_config_id number not null,
+ employee_id number not null,
+ email varchar2(100),
+ mobile varchar2(50)
+);
+/
+
+create table hrsa_tax_api_flow_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number not null,
+ tax_month date not null,
+ use_time date not null,
+ deduct int,
+ employee_id number not null,
+ business_type int not null,
+ result_status int not null
+);
+/
+
+create table hrsa_tax_api_flow_warn_config
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ enable_warn int default 0 not null,
+ threshold int default 0 not null,
+ business_id number default '0' not null
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202309040303.sql b/resource/sqlupgrade/GS/sql202309040303.sql
new file mode 100644
index 000000000..5805822bc
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202309040303.sql
@@ -0,0 +1,40 @@
+create table hrsa_add_up_deduction_request
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ request_id number not null,
+ request_status number default 1 not null,
+ tax_year_month date not null,
+ outer_request_id varchar2(50) not null,
+ tax_agent_id number not null
+);
+/
+
+alter table hrsa_add_up_deduction_request add lock_version int;
+/
+
+alter table hrsa_add_up_deduction_request modify lock_version default 0;
+/
+
+create table hrsa_add_up_deduction_req_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ request_id number not null,
+ employee_id number not null,
+ employee_type int not null,
+ tax_agent_id number not null,
+ reason varchar2(255) not null,
+ tax_year_month date not null,
+ outer_request_id varchar2(50) not null
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202309050203.sql b/resource/sqlupgrade/GS/sql202309050203.sql
new file mode 100644
index 000000000..2b3f805e1
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202309050203.sql
@@ -0,0 +1,30 @@
+alter table hrsa_add_up_situation add add_up_taxable_income varchar2(255);
+/
+
+alter table hrsa_add_up_situation add actual_add_up_advance_tax varchar2(255);
+/
+
+alter table hrsa_add_up_situation add tax_adjustment varchar2(255);
+/
+
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312885, 1, 674916065864646661, 1, 0, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), 0, 'all_teams', 703433961629614119, 5);
+/
+
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312886, 1, 674916065864646658, 1, 0, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), 0, 'all_teams', 703433961629614119, 6);
+/
+
+INSERT INTO hrsa_formula(id, name, description, module, use_for, reference_type, return_type, validate_type, extend_param, formula, formulaRunScript, creator, delete_type, create_time, update_time) VALUES (1693896072589, '当前累计减免税额合计', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{"isCustomFunction":"0","sqlReturnKey":"","openDecrypt":"0","datasource":{"datasourceId":""}}', '{薪资项目.本月(次)减免税额}+{往期累计情况.累计减免税额}', 'salaryItem_taxDeduction+addUpSituation_addUpTaxSavings', 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'));
+/
+
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072606, '本月(次)减免税额', 1693896072589, 'salaryItem_taxDeduction', '{薪资项目.本月(次)减免税额}', 'number', 'salaryItem', 0, 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'));
+/
+
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072611, '累计减免税额', 1693896072589, 'addUpSituation_addUpTaxSavings', '{往期累计情况.累计减免税额}', 'number', 'addUpSituation', 1, 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'));
+/
+
+update hrsa_sys_salary_item set value_type = 2 ,formula_id =1693896072589 where id = 674916065864646658;
+/
+
+update hrsa_salary_item set value_type =2 ,formula_id =1693896072589 where sys_salary_item_id = 674916065864646658;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202312190103.sql b/resource/sqlupgrade/GS/sql202312190103.sql
new file mode 100644
index 000000000..3956b4605
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202312190103.sql
@@ -0,0 +1,61 @@
+ALTER TABLE hrsa_tax_report_column ADD contrast_type int NULL;
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158174, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计收入额', 'addUpIncome', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158175, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计免税收入', 'addUpTaxFreeIncome', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158176, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减除费用', 'addUpSubtraction', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158177, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计专项扣除', 'addUpSpecialDeduction', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158184, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计其他扣除', 'addUpOtherDeduction', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158185, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计准予扣除的捐赠', 'addUpAllowedDonation', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158186, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税所得额', 'addUpTaxableIncome', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158187, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '税率', 'taxRate', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158188, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '速算扣除数', 'quickDeductionFactor', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158189, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税额', 'addUpTaxPayable', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158190, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减免税额', 'addUpTaxDeduction', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158192, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计已缴税额', 'addUpAdvanceTax', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158193, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '应补(退)税额', 'refundedOrSupplementedTax', '', NULL, NULL,1);
+/
+
+update hrsa_tax_report_column set report_column_name = '累计3岁以下婴幼儿照护' where report_column_name = '累计3岁以下婴幼儿照护支出';
+/
+
+update hrsa_tax_report_column set contrast_type = 0;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202312270603.sql b/resource/sqlupgrade/GS/sql202312270603.sql
new file mode 100644
index 000000000..d239eb43a
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202312270603.sql
@@ -0,0 +1,10 @@
+ALTER TABLE hrsa_tax_declaration_value add (
+ source number
+);
+/
+
+ALTER TABLE hrsa_tax_declare_record add (
+ declare_request_id varchar2(100)
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202312270703.sql b/resource/sqlupgrade/GS/sql202312270703.sql
new file mode 100644
index 000000000..fa59157ed
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202312270703.sql
@@ -0,0 +1,3 @@
+update hrsa_tax_declaration_value set source = 0;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202403193303.sql b/resource/sqlupgrade/GS/sql202403193303.sql
new file mode 100644
index 000000000..4238b2123
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202403193303.sql
@@ -0,0 +1,12 @@
+ALTER TABLE hrsa_employee_declare ADD (
+nationality varchar2(255) NULL ,
+birthplace varchar2(255) NULL ,
+tax_reasons varchar2(255) NULL ,
+entry_date date NULL ,
+departure_date date NULL
+);
+/
+
+update hrsa_employee_declare set nationality = '中国' where nationality is null;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202404120303.sql b/resource/sqlupgrade/GS/sql202404120303.sql
new file mode 100644
index 000000000..3ce4e54d0
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202404120303.sql
@@ -0,0 +1,18 @@
+CREATE TABLE hrsa_tax_declare_status (
+id NUMBER(38,0) primary key NOT NULL,
+tax_declare_record_id NUMBER(38,0) NULL ,
+report_type number NULL ,
+request_id varchar2(100) ,
+tax_declare_type number NULL ,
+tax_declare_status number NULL ,
+display_update_icon number NULL ,
+tax_declare_error_msg varchar2(1000) ,
+person_num number NULL ,
+tax_pay_amount varchar2(255) ,
+tax_paid_amount varchar2(255) ,
+tax_pure_paid_amount varchar2(255) ,
+declare_request_id varchar2(100) ,
+delete_type number NULL
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202406170103.sql b/resource/sqlupgrade/GS/sql202406170103.sql
new file mode 100644
index 000000000..159a2e240
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202406170103.sql
@@ -0,0 +1,14 @@
+CREATE TABLE hrsa_sob_tax_rule (
+id NUMBER(38,0) primary key NOT NULL,
+salary_sob_id NUMBER(38,0) NULL ,
+income_category varchar2(100) ,
+tax_index varchar2(100) ,
+salary_item_id NUMBER(38,0) NULL ,
+creator NUMBER(38,0) DEFAULT 0,
+create_time DATE DEFAULT sysdate,
+update_time DATE DEFAULT sysdate,
+delete_type number DEFAULT 0,
+tenant_key varchar2(10) DEFAULT ''
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202406260403.sql b/resource/sqlupgrade/GS/sql202406260403.sql
new file mode 100644
index 000000000..f27cbf3c4
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202406260403.sql
@@ -0,0 +1,14 @@
+create table hrsa_api_task_record
+(
+ id number primary key ,
+ source varchar2(500) ,
+ api varchar2(500),
+ param clob ,
+ response clob,
+ create_time date,
+ update_time date,
+ delete_type int default 0,
+ tenant_key varchar2(10)
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202407170103.sql b/resource/sqlupgrade/GS/sql202407170103.sql
new file mode 100644
index 000000000..6326041b7
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202407170103.sql
@@ -0,0 +1,14 @@
+create table hrsa_acct_calc_tax_req
+(
+ id number primary key ,
+ create_time date default sysdate,
+ update_time date default sysdate,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_acct_record_id number,
+ tax_agent_id number,
+ request_id varchar2(100)
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202412160303.sql b/resource/sqlupgrade/GS/sql202412160303.sql
new file mode 100644
index 000000000..76dc4c94e
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202412160303.sql
@@ -0,0 +1,122 @@
+create table hrsa_other_derate_deduction
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ other_deduction varchar2(50),
+ remark varchar2(255)
+);
+/
+
+create table hrsa_health_insurance
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ identification_number varchar2(255),
+ effective_date date,
+ year_premium varchar2(50),
+ month_premium varchar2(50),
+ current_deduction varchar2(50)
+);
+/
+
+create table hrsa_grant_donation
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ recipient_name varchar2(255),
+ tax_code varchar2(255),
+ donation_number varchar2(255),
+ donate_date date,
+ donate_amount varchar2(50),
+ deduction_proportion varchar2(10),
+ actual_deduction varchar2(50)
+);
+/
+
+create table hrsa_endowment_insurance
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ account_number varchar2(255),
+ check_code varchar2(255),
+ year_premium varchar2(50),
+ month_premium varchar2(50),
+ current_deduction varchar2(50),
+ deduction_month date
+);
+/
+
+create table hrsa_derate_deduction
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ derate_item varchar2(255),
+ derate_property varchar2(255),
+ derate_amount varchar2(255)
+);
+/
+
+create table hrsa_free_income
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ free_item varchar2(255),
+ free_property varchar2(255),
+ free_amount varchar2(255)
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202412160403.sql b/resource/sqlupgrade/GS/sql202412160403.sql
new file mode 100644
index 000000000..07a4c3c3b
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202412160403.sql
@@ -0,0 +1,18 @@
+alter table hrsa_derate_deduction add employee_type int;
+/
+
+alter table hrsa_endowment_insurance add employee_type int;
+/
+
+alter table hrsa_free_income add employee_type int;
+/
+
+alter table hrsa_grant_donation add employee_type int;
+/
+
+alter table hrsa_health_insurance add employee_type int;
+/
+
+alter table hrsa_other_derate_deduction add employee_type int;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202412230103.sql b/resource/sqlupgrade/GS/sql202412230103.sql
new file mode 100644
index 000000000..7d3959666
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202412230103.sql
@@ -0,0 +1,25 @@
+create table hrsa_personal_pension
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ voucher_type varchar2(255),
+ voucher_no varchar2(255),
+ pay_amount varchar2(255),
+ data_source int,
+ collect_source varchar2(50),
+ pay_month date,
+ eb_data_id number,
+ voucher_type_name varchar2(50),
+ employee_type int
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202412240103.sql b/resource/sqlupgrade/GS/sql202412240103.sql
new file mode 100644
index 000000000..3762c4a0d
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202412240103.sql
@@ -0,0 +1,10 @@
+ALTER TABLE hrsa_other_deduction ADD (
+ free_income varchar2(255) NULL
+);
+/
+
+ALTER TABLE hrsa_other_deduction ADD (
+ derate_deduction varchar2(255) NULL
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202503190103.sql b/resource/sqlupgrade/GS/sql202503190103.sql
new file mode 100644
index 000000000..9940e3121
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202503190103.sql
@@ -0,0 +1,38 @@
+create table hrsa_deduction_amount
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ year varchar2(100),
+ employee_id number,
+ employee_type number,
+ employee_name varchar2(100),
+ job_num varchar2(100),
+ card_type number,
+ card_num varchar2(100),
+ nationality varchar2(200),
+ deduct_flag number,
+ successfully_declared number,
+ declare_status number,
+ declare_error_msg varchar2(1000)
+);
+/
+
+create table hrsa_deduction_amount_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ year varchar2(100),
+ request_id varchar2(100)
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202506190103.sql b/resource/sqlupgrade/GS/sql202506190103.sql
new file mode 100644
index 000000000..952cd69b8
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202506190103.sql
@@ -0,0 +1,24 @@
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158200, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '当期收入额', 'dividendsIncome', 'number', 'sre', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158201, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '免税收入', 'dividendsFreeIncome', 'number', 'mssd', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158202, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '准予扣除的捐赠额', 'dividendsAllowedDonation', 'number', 'zykcjze', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158203, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '减免税额', 'dividendsTaxDeduction', 'string', 'jmse', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158204, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '本期收入', 'listedCompanyIncome', 'number', 'sre', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158206, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '免税收入', 'listedCompanyFreeIncome', 'number', 'mssd', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158207, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '准予扣除的捐赠额', 'listedCompanyAllowedDonation', 'number', 'zykcjze', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158208, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '减免税额', 'listedCompanyTaxDeduction', 'string', 'jmse', NULL, 0);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202507010303.sql b/resource/sqlupgrade/GS/sql202507010303.sql
new file mode 100644
index 000000000..a25d13d65
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202507010303.sql
@@ -0,0 +1,21 @@
+ALTER TABLE hrsa_free_income ADD income_category int;
+/
+
+ALTER TABLE hrsa_derate_deduction ADD income_category int;
+/
+
+ALTER TABLE hrsa_endowment_insurance ADD income_category int;
+/
+
+ALTER TABLE hrsa_grant_donation ADD income_category int;
+/
+
+ALTER TABLE hrsa_health_insurance ADD income_category int;
+/
+
+ALTER TABLE hrsa_other_derate_deduction ADD income_category int;
+/
+
+ALTER TABLE hrsa_personal_pension ADD income_category int;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202507010403.sql b/resource/sqlupgrade/GS/sql202507010403.sql
new file mode 100644
index 000000000..69d97a34e
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202507010403.sql
@@ -0,0 +1,21 @@
+update hrsa_free_income set income_category = 1;
+/
+
+update hrsa_derate_deduction set income_category = 1;
+/
+
+update hrsa_endowment_insurance set income_category = 1;
+/
+
+update hrsa_grant_donation set income_category = 1;
+/
+
+update hrsa_health_insurance set income_category = 1;
+/
+
+update hrsa_other_derate_deduction set income_category = 1;
+/
+
+update hrsa_personal_pension set income_category = 1;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202507110103.sql b/resource/sqlupgrade/GS/sql202507110103.sql
new file mode 100644
index 000000000..a942c94e6
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202507110103.sql
@@ -0,0 +1,3 @@
+alter table hrsa_tax_payment_request add report_type number(11) null;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202307180103.sql b/resource/sqlupgrade/JC/sql202307180103.sql
new file mode 100644
index 000000000..b701b86e6
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202307180103.sql
@@ -0,0 +1,34 @@
+create table hrsa_tax_declare_api_profile
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ api_profile int
+);
+/
+
+create index id_tenant_key_22b215db on hrsa_tax_declare_api_profile(tenant_key);
+/
+
+create table hrsa_tax_payment_request
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number not null,
+ tax_declare_record_id number,
+ tax_year_month date not null,
+ request_id varchar2(50) not null,
+ request_type int not null
+);
+/
+
+create index id_tenant_key_bcb610c7 on hrsa_tax_payment_request(tenant_key);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202307180203.sql b/resource/sqlupgrade/JC/sql202307180203.sql
new file mode 100644
index 000000000..10aced290
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202307180203.sql
@@ -0,0 +1,38 @@
+create table hrsa_tax_declare_api_config
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ host varchar2(255),
+ app_key varchar2(255),
+ app_secret varchar2(255)
+);
+/
+
+create unique index idx_tenant_key_api_a6f21b46 on hrsa_tax_declare_api_config(tenant_key);
+/
+
+alter table hrsa_tax_declare_api_config modify host not null;
+/
+
+alter table hrsa_tax_declare_api_config modify app_key not null;
+/
+
+alter table hrsa_tax_declare_api_config modify app_secret not null;
+/
+
+alter table hrsa_tax_declare_api_config add enable_use int;
+/
+
+alter table hrsa_tax_declare_api_config add totality number;
+/
+
+alter table hrsa_tax_declare_api_config add remain number;
+/
+
+alter table hrsa_tax_declare_api_config add last_update_time date;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202307180403.sql b/resource/sqlupgrade/JC/sql202307180403.sql
new file mode 100644
index 000000000..fb5e8e455
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202307180403.sql
@@ -0,0 +1,31 @@
+create table hrsa_tax_agent_tax_return
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number not null,
+ tax_code varchar2(50) not null,
+ tax_registration_number varchar2(50) ,
+ department_code varchar2(50),
+ department_name varchar2(50),
+ nation varchar2(50),
+ province varchar2(50),
+ city varchar2(50),
+ area_code varchar2(50) not null,
+ password_type int not null,
+ real_account varchar2(50) ,
+ pwd varchar2(50) not null,
+ check_status int not null,
+ fail_reason varchar2(255)
+);
+/
+
+create index id_tenant_key_tax_return on hrsa_tax_agent_tax_return(tenant_key);
+/
+
+create unique index id_tax_agent_id_tax_return on hrsa_tax_agent_tax_return(tax_agent_id);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308080603.sql b/resource/sqlupgrade/JC/sql202308080603.sql
new file mode 100644
index 000000000..3fa4e6655
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308080603.sql
@@ -0,0 +1,51 @@
+create table hrsa_employee_declare_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ tax_cycle date,
+ request_id varchar2(100)
+);
+/
+
+create table hrsa_employee_declare
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ tax_cycle date,
+ employee_id number,
+ employee_type number,
+ employee_name varchar2(100),
+ job_num varchar2(100),
+ card_type number,
+ card_num varchar2(100),
+ gender varchar2(100),
+ birthday date,
+ employment_status number,
+ mobile varchar2(100),
+ employment_type number,
+ employment_first_year varchar2(100),
+ employment_date date,
+ dismiss_date date,
+ disability number,
+ disability_card_no varchar2(100),
+ lonely_old number,
+ martyr_dependents number,
+ martyr_dependents_card_no varchar2(100),
+ deduct_expenses number,
+ successfully_declared number,
+ new_employee_info number,
+ declare_status number,
+ declare_error_msg varchar2(1000)
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308090303.sql b/resource/sqlupgrade/JC/sql202308090303.sql
new file mode 100644
index 000000000..0a9e21cc4
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308090303.sql
@@ -0,0 +1,36 @@
+create table hrsa_tax_declare_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ salary_month date,
+ tax_cycle date,
+ remark varchar2(1000),
+ request_id varchar2(100),
+ tax_declare_type number,
+ tax_declare_status number
+);
+/
+
+alter table hrsa_tax_declare_record add display_update_icon number;
+/
+
+alter table hrsa_tax_declare_record add tax_pay_amount varchar2(255);
+/
+
+alter table hrsa_tax_declare_record add person_num int;
+/
+
+alter table hrsa_tax_declare_record add tax_declare_error_msg varchar2(1000);
+/
+
+alter table hrsa_tax_declare_record add tax_paid_amount varchar2(255);
+/
+
+alter table hrsa_tax_declare_record add tax_pure_paid_amount varchar2(255);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308100803.sql b/resource/sqlupgrade/JC/sql202308100803.sql
new file mode 100644
index 000000000..fd9ce7f25
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308100803.sql
@@ -0,0 +1,15 @@
+create table hrsa_tax_declare_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ employee_name varchar2(100),
+ card_num varchar2(100),
+ error_msg varchar2(1000)
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308110103.sql b/resource/sqlupgrade/JC/sql202308110103.sql
new file mode 100644
index 000000000..dea9e8743
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308110103.sql
@@ -0,0 +1,39 @@
+create table hrsa_tax_report_column
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_report_type varchar2(100),
+ income_category varchar2(100),
+ report_column_name varchar2(100),
+ report_column_data_index varchar2(100)
+);
+/
+
+create table hrsa_sob_tax_report_rule
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_sob_id number,
+ income_category varchar2(100),
+ report_column_data_index varchar2(100),
+ salary_item_id number
+);
+/
+
+alter table hrsa_tax_report_column add data_type varchar2(100);
+/
+
+alter table hrsa_tax_report_column add request_param_key varchar2(100);
+/
+
+alter table hrsa_tax_report_column add report_column_label varchar2(100);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308110203.sql b/resource/sqlupgrade/JC/sql202308110203.sql
new file mode 100644
index 000000000..d8ddbd9db
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308110203.sql
@@ -0,0 +1,18 @@
+create table hrsa_tax_declare_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ employee_name varchar2(100),
+ card_num varchar2(100),
+ error_msg varchar2(1000)
+);
+/
+
+alter table hrsa_tax_declare_fail add income_category varchar2(100);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308110303.sql b/resource/sqlupgrade/JC/sql202308110303.sql
new file mode 100644
index 000000000..2a4ef5ef9
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308110303.sql
@@ -0,0 +1,18 @@
+alter table hrsa_tax_declaration add tax_declare_record_id number;
+/
+
+alter table hrsa_tax_declaration add control_view int;
+/
+
+alter table hrsa_salary_acct_emp add income_category varchar2(100);
+/
+
+alter table hrsa_salary_acct_record add control_view int;
+/
+
+update hrsa_salary_acct_record set control_view = 0 where control_view is null;
+/
+
+update hrsa_tax_declaration set control_view = 0 where control_view is null;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308140203.sql b/resource/sqlupgrade/JC/sql202308140203.sql
new file mode 100644
index 000000000..fbeca581b
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308140203.sql
@@ -0,0 +1,16 @@
+create table hrsa_tax_declaration_value
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ tax_declaration_id number,
+ employee_type number,
+ employee_id number,
+ result_value_json clob
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308150303.sql b/resource/sqlupgrade/JC/sql202308150303.sql
new file mode 100644
index 000000000..c8b267f97
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308150303.sql
@@ -0,0 +1,29 @@
+alter table hrsa_salary_sob_item add income_category varchar2(100);
+/
+
+alter table hrsa_salary_sob_item modify income_category default '1';
+/
+
+update hrsa_salary_sob_item set income_category = '1' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '1');
+/
+
+update hrsa_salary_sob_item set income_category = '2' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '2');
+/
+
+update hrsa_salary_sob_item set income_category = '4' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '4');
+/
+
+alter table hrsa_salary_sob_item add salary_item_code varchar2(100);
+/
+
+update hrsa_salary_sob_item a
+set ( salary_item_code) = (
+ select code as salary_item_code
+ from hrsa_salary_item b
+ where a.salary_item_id = b.id
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308150503.sql b/resource/sqlupgrade/JC/sql202308150503.sql
new file mode 100644
index 000000000..e268c0264
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308150503.sql
@@ -0,0 +1,729 @@
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157061, null, null, null, 0, 'all_teams', '1', '2', '当期收入额', 'annualIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157062, null, null, null, 0, 'all_teams', '1', '2', '免税收入', 'annualTaxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157063, null, null, null, 0, 'all_teams', '1', '2', '其他', 'annualOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157064, null, null, null, 0, 'all_teams', '1', '2', '准予扣除的捐赠额', 'annualDonateTax', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157065, null, null, null, 0, 'all_teams', '1', '2', '减免税额', 'annualTaxSavings', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157066, null, null, null, 0, 'all_teams', '1', '2', '备注', 'annualRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157068, null, null, null, 0, 'all_teams', '1', '4', '当期收入额', 'laborIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157069, null, null, null, 0, 'all_teams', '1', '4', '免税收入', 'laborTaxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157070, null, null, null, 0, 'all_teams', '1', '4', '商业健康保险', 'commercialHealthInsurance4',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157071, null, null, null, 0, 'all_teams', '1', '4', '税延养老保险', 'taxDeferredEndowmentInsurance4',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157072, null, null, null, 0, 'all_teams', '1', '4', '允许扣除税费', 'allowedDeductTax4', 'number',
+ 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157073, null, null, null, 0, 'all_teams', '1', '4', '其他', 'other4', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157074, null, null, null, 0, 'all_teams', '1', '4', '减免税额', 'labor_tax_saving', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157075, null, null, null, 0, 'all_teams', '1', '4', '备注', 'description4', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157077, null, null, null, 0, 'all_teams', '1', '1', '本期收入', 'income', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157078, null, null, null, 0, 'all_teams', '1', '1', '本期免税收入', 'taxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157079, null, null, null, 0, 'all_teams', '1', '1', '基本养老保险费', 'endowmentInsurance', 'number',
+ 'jbylaobxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157080, null, null, null, 0, 'all_teams', '1', '1', '基本医疗保险费', 'medicalInsurance', 'number',
+ 'jbylbxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157081, null, null, null, 0, 'all_teams', '1', '1', '失业保险费', 'unemploymentInsurance', 'number',
+ 'sybxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157082, null, null, null, 0, 'all_teams', '1', '1', '住房公积金', 'housingProvidentFund', 'number',
+ 'zfgjj');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157083, null, null, null, 0, 'all_teams', '1', '1', '累计子女教育', 'addUpChildEducation', 'number',
+ 'ljznjyzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157084, null, null, null, 0, 'all_teams', '1', '1', '累计住房贷款利息', 'addUpHousingLoanInterest',
+ 'number', 'ljzfdklxzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157085, null, null, null, 0, 'all_teams', '1', '1', '累计住房租金', 'addUpHousingRent', 'number',
+ 'ljzfzjzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157086, null, null, null, 0, 'all_teams', '1', '1', '累计赡养老人', 'addUpSupportElderly', 'number',
+ 'ljsylrzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157087, null, null, null, 0, 'all_teams', '1', '1', '累计继续教育', 'addUpContinuingEducation', 'number',
+ 'ljjxjyzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157088, null, null, null, 0, 'all_teams', '1', '1', '累计3岁以下婴幼儿照护支出', 'addUpInfantCare', 'number',
+ 'ljyyezhzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157089, null, null, null, 0, 'all_teams', '1', '1', '企业(职业)年金', 'annuity', 'number', 'nj');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157090, null, null, null, 0, 'all_teams', '1', '1', '商业健康保险', 'commercialHealthInsurance', 'number',
+ 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157091, null, null, null, 0, 'all_teams', '1', '1', '税延养老保险', 'taxDeferredEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157092, null, null, null, 0, 'all_teams', '1', '1', '其他', 'other', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157093, null, null, null, 0, 'all_teams', '1', '1', '准予扣除的捐赠额', 'allowedDonation', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157094, null, null, null, 0, 'all_teams', '1', '1', '减免税额', 'taxDeduction', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157095, null, null, null, 0, 'all_teams', '1', '1', '备注', 'description', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157096, null, null, null, 0, 'all_teams', '1', '107', '一次性补偿收入', 'retireCompensationIncome',
+ 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157097, null, null, null, 0, 'all_teams', '1', '107', '本期工资收入', 'retireWageIncome', 'number',
+ 'bqgzs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157098, null, null, null, 0, 'all_teams', '1', '107', '免税收入', 'retireTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157099, null, null, null, 0, 'all_teams', '1', '107', '其他', 'retireOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157100, null, null, null, 0, 'all_teams', '1', '107', '准予扣除的捐赠额', 'retireAllowedDonation', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157101, null, null, null, 0, 'all_teams', '1', '107', '减免税额', 'retireTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157102, null, null, null, 0, 'all_teams', '1', '107', '备注', 'retireRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157103, null, null, null, 0, 'all_teams', '1', '107', '分摊月份数', 'retireSplitMonth', 'number',
+ 'ftyfs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157104, null, null, null, 0, 'all_teams', '1', '108', '当期收入额', 'dismissIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157105, null, null, null, 0, 'all_teams', '1', '108', '免税收入', 'dismissTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157106, null, null, null, 0, 'all_teams', '1', '108', '其他', 'dismissOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157107, null, null, null, 0, 'all_teams', '1', '108', '备注', 'dismissRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157108, null, null, null, 0, 'all_teams', '1', '108', '准予扣除的捐赠额', 'dismissAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157109, null, null, null, 0, 'all_teams', '1', '108', '减免税额', 'dismissTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157110, null, null, null, 0, 'all_teams', '1', '110', '当期收入额', 'annuityIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157111, null, null, null, 0, 'all_teams', '1', '110', '已完税缴费额', 'annuityTaxPaidAmount', 'number',
+ 'ywsjfe');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157112, null, null, null, 0, 'all_teams', '1', '110', '全部缴费额', 'annuityTotalPayment', 'number',
+ 'qbjfe');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157113, null, null, null, 0, 'all_teams', '1', '110', '是否一次性领取', 'annuityOneTimeReceive', 'string',
+ 'sfycxlq');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157114, null, null, null, 0, 'all_teams', '1', '110', '年金领取方式', 'annuityReceiveMethod', 'string',
+ 'njlqfs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157115, null, null, null, 0, 'all_teams', '1', '110', '年金领取原因', 'annuityReceiveReason', 'string',
+ 'njlqyy');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157116, null, null, null, 0, 'all_teams', '1', '110', '免税收入', 'annuityTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157117, null, null, null, 0, 'all_teams', '1', '110', '减免税额', 'annuityTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157118, null, null, null, 0, 'all_teams', '1', '110', '商业健康保险', 'annuityHealthInsurance', 'number',
+ 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157119, null, null, null, 0, 'all_teams', '1', '110', '税延养老保险', 'annuityEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157120, null, null, null, 0, 'all_teams', '1', '110', '其他', 'annuityOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157121, null, null, null, 0, 'all_teams', '1', '110', '准予扣除的捐赠额', 'annuityAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157122, null, null, null, 0, 'all_teams', '1', '110', '备注', 'annuityRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157123, null, null, null, 0, 'all_teams', '1', '402', '当期收入额', 'insuranceIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157124, null, null, null, 0, 'all_teams', '1', '402', '免税收入', 'insuranceTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157125, null, null, null, 0, 'all_teams', '1', '402', '商业健康保险', 'insuranceHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157126, null, null, null, 0, 'all_teams', '1', '402', '税延养老保险', 'insuranceEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157127, null, null, null, 0, 'all_teams', '1', '402', '其他', 'insuranceOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157128, null, null, null, 0, 'all_teams', '1', '402', '备注', 'insuranceRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157129, null, null, null, 0, 'all_teams', '1', '402', '减免税额', 'insuranceTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157130, null, null, null, 0, 'all_teams', '1', '402', '允许扣除税费', 'insuranceAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157131, null, null, null, 0, 'all_teams', '1', '403', '当期收入额', 'securitiesIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157132, null, null, null, 0, 'all_teams', '1', '403', '免税收入', 'securitiesTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157133, null, null, null, 0, 'all_teams', '1', '403', '商业健康保险', 'securitiesHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157134, null, null, null, 0, 'all_teams', '1', '403', '税延养老保险', 'securitiesEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157135, null, null, null, 0, 'all_teams', '1', '403', '其他', 'securitiesOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157136, null, null, null, 0, 'all_teams', '1', '403', '备注', 'securitiesRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157137, null, null, null, 0, 'all_teams', '1', '403', '减免税额', 'securitiesTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157138, null, null, null, 0, 'all_teams', '1', '403', '允许扣除税费', 'securitiesAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157139, null, null, null, 0, 'all_teams', '1', '489', '当期收入额', 'otherContinuousLaborIncome',
+ 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157140, null, null, null, 0, 'all_teams', '1', '489', '免税收入', 'otherContinuousLaborTaxFreeIncome',
+ 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157141, null, null, null, 0, 'all_teams', '1', '489', '商业健康保险',
+ 'otherContinuousLaborHealthInsurance', 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157142, null, null, null, 0, 'all_teams', '1', '489', '税延养老保险',
+ 'otherContinuousLaborEndowmentInsurance', 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157143, null, null, null, 0, 'all_teams', '1', '489', '其他', 'otherContinuousLaborOther', 'number',
+ 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157144, null, null, null, 0, 'all_teams', '1', '489', '备注', 'otherContinuousLaborRemark', 'string',
+ 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157145, null, null, null, 0, 'all_teams', '1', '489', '减免税额', 'otherContinuousLaborTaxDeduction',
+ 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157146, null, null, null, 0, 'all_teams', '1', '489', '允许扣除税费',
+ 'otherContinuousLaborAllowedDeductTax', 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157147, null, null, null, 0, 'all_teams', '1', '499', '当期收入额', 'otherLaborIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157149, null, null, null, 0, 'all_teams', '1', '499', '免税收入', 'otherLaborTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157150, null, null, null, 0, 'all_teams', '1', '499', '商业健康保险', 'otherLaborHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157151, null, null, null, 0, 'all_teams', '1', '499', '税延养老保险', 'otherLaborEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157152, null, null, null, 0, 'all_teams', '1', '499', '允许扣除税费', 'otherLaborAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157153, null, null, null, 0, 'all_teams', '1', '499', '其他', 'otherLaborOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157154, null, null, null, 0, 'all_teams', '1', '499', '备注', 'otherLaborRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157155, null, null, null, 0, 'all_teams', '1', '499', '减免税额', 'otherLaborTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157156, null, null, null, 0, 'all_teams', '1', '500', '当期收入额', 'authorIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157157, null, null, null, 0, 'all_teams', '1', '500', '免税收入', 'authorTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157158, null, null, null, 0, 'all_teams', '1', '500', '其他', 'authorOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157159, null, null, null, 0, 'all_teams', '1', '500', '减免税额', 'authorTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157160, null, null, null, 0, 'all_teams', '1', '500', '备注', 'authorRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157161, null, null, null, 0, 'all_teams', '1', '600', '当期收入额', 'royaltiesIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157162, null, null, null, 0, 'all_teams', '1', '600', '免税收入', 'royaltiesTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157163, null, null, null, 0, 'all_teams', '1', '600', '其他', 'royaltiesOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157164, null, null, null, 0, 'all_teams', '1', '600', '备注', 'royaltiesRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157165, null, null, null, 0, 'all_teams', '1', '600', '减免税额', 'royaltiesTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157166, null, null, null, 0, 'all_teams', '1', '109', '本月股权激励收入', 'stockRightIncome', 'number',
+ 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157167, null, null, null, 0, 'all_teams', '1', '109', '本年累计股权激励收入(不含本月)', 'stockRightAddUpIncome',
+ 'number', 'ljsre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157168, null, null, null, 0, 'all_teams', '1', '109', '本年累计其他', 'stockRightOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157169, null, null, null, 0, 'all_teams', '1', '109', '本年累计准予扣除的捐赠额', 'stockRightAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157170, null, null, null, 0, 'all_teams', '1', '109', '本年累计减免税额', 'stockRightTaxDeduction',
+ 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157171, null, null, null, 0, 'all_teams', '1', '109', '本年累计已扣缴税额', 'stockRightAddUpAdvanceTax',
+ 'number', 'ykjse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157172, null, null, null, 0, 'all_teams', '1', '109', '本年累计免税收入', 'stockRightTaxFreeIncome',
+ 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157173, null, null, null, 0, 'all_teams', '1', '109', '备注', 'stockRightRemark', 'string', 'bz');
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308150603.sql b/resource/sqlupgrade/JC/sql202308150603.sql
new file mode 100644
index 000000000..42973a3fa
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308150603.sql
@@ -0,0 +1,62 @@
+create table hrsa_sob_add_up_rule
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_sob_id number,
+ income_category varchar2(100),
+ salary_item_id number,
+ add_up_column_data_index varchar2(100)
+);
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpIncome', 'addUpSubtraction', 'addUpSocialSecurityTotal', 'addUpAccumulationFundTotal',
+ 'addUpEnterpriseAndOther', 'addUpOtherDeduction', 'addUpTaxExemptIncome',
+ 'addUpAllowedDonation', 'addUpTaxSavings');
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpTaxPayable' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpAdvanceTax';
+/
+
+delete from hrsa_sob_add_up_rule
+where income_category = 1
+ and add_up_column_data_index in ('addUpTaxPayable', 'addUpAdvanceTax');
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpAdvanceTax' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpTaxPayable';
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpTaxableIncome','addUpTaxFreeIncome','addUpTaxDeduction');
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308170103.sql b/resource/sqlupgrade/JC/sql202308170103.sql
new file mode 100644
index 000000000..d52249496
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308170103.sql
@@ -0,0 +1,3 @@
+alter table hrsa_tax_payment_request add feedback int;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308230303.sql b/resource/sqlupgrade/JC/sql202308230303.sql
new file mode 100644
index 000000000..4867c56aa
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308230303.sql
@@ -0,0 +1,6 @@
+alter table hrsa_tax_agent_tax_return add city_name varchar2(400);
+/
+
+update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202308240201.sql b/resource/sqlupgrade/JC/sql202308240201.sql
new file mode 100644
index 000000000..c8aa4e1b1
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308240201.sql
@@ -0,0 +1,47 @@
+delete from HtmlLabelIndex where id = 544827 and ( trim(indexdesc) is null ) ;
+/
+
+insert into HtmlLabelIndex(id,indexdesc) select 544827,'智能算薪' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544827 and ( trim(indexdesc) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'Intelligent salary calculation' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelIndex where id = 544826 and ( trim(indexdesc) is null ) ;
+/
+
+insert into HtmlLabelIndex(id,indexdesc) select 544826,'人员信息报送' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544826 and ( trim(indexdesc) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人员信息报送' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'Personnel information submission' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人員信息報送' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/JC/sql202308240302.sql b/resource/sqlupgrade/JC/sql202308240302.sql
new file mode 100644
index 000000000..b1a7f7b0e
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308240302.sql
@@ -0,0 +1,29 @@
+Delete from LeftMenuInfo where id=100191;
+/
+
+Delete from LeftMenuConfig where infoid=100191;
+/
+
+call LMConfig_U_ByInfoInsert (2,100181,1);
+/
+
+call LMInfo_Insert (100191,544827,'','',2,100181,1,18);
+/
+
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/intelligentCalculateSalarySettings' where id = 100191;
+/
+
+Delete from LeftMenuInfo where id=100192;
+/
+
+Delete from LeftMenuConfig where infoid=100192;
+/
+
+call LMConfig_U_ByInfoInsert (2,100118,7);
+/
+
+call LMInfo_Insert (100192,544826,'','',2,100118,7,18);
+/
+
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/employeedeclare' where id = 100192;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/JC/sql202308280203.sql b/resource/sqlupgrade/JC/sql202308280203.sql
new file mode 100644
index 000000000..77273e99e
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202308280203.sql
@@ -0,0 +1,47 @@
+create table hrsa_tax_api_flow_receiver
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ warn_config_id number not null,
+ employee_id number not null,
+ email varchar2(100),
+ mobile varchar2(50)
+);
+/
+
+create table hrsa_tax_api_flow_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number not null,
+ tax_month date not null,
+ use_time date not null,
+ deduct int,
+ employee_id number not null,
+ business_type int not null,
+ result_status int not null
+);
+/
+
+create table hrsa_tax_api_flow_warn_config
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ enable_warn int default 0 not null,
+ threshold int default 0 not null,
+ business_id number default '0' not null
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202309040303.sql b/resource/sqlupgrade/JC/sql202309040303.sql
new file mode 100644
index 000000000..5805822bc
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202309040303.sql
@@ -0,0 +1,40 @@
+create table hrsa_add_up_deduction_request
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ request_id number not null,
+ request_status number default 1 not null,
+ tax_year_month date not null,
+ outer_request_id varchar2(50) not null,
+ tax_agent_id number not null
+);
+/
+
+alter table hrsa_add_up_deduction_request add lock_version int;
+/
+
+alter table hrsa_add_up_deduction_request modify lock_version default 0;
+/
+
+create table hrsa_add_up_deduction_req_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ request_id number not null,
+ employee_id number not null,
+ employee_type int not null,
+ tax_agent_id number not null,
+ reason varchar2(255) not null,
+ tax_year_month date not null,
+ outer_request_id varchar2(50) not null
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202309050203.sql b/resource/sqlupgrade/JC/sql202309050203.sql
new file mode 100644
index 000000000..2b3f805e1
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202309050203.sql
@@ -0,0 +1,30 @@
+alter table hrsa_add_up_situation add add_up_taxable_income varchar2(255);
+/
+
+alter table hrsa_add_up_situation add actual_add_up_advance_tax varchar2(255);
+/
+
+alter table hrsa_add_up_situation add tax_adjustment varchar2(255);
+/
+
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312885, 1, 674916065864646661, 1, 0, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), 0, 'all_teams', 703433961629614119, 5);
+/
+
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312886, 1, 674916065864646658, 1, 0, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), 0, 'all_teams', 703433961629614119, 6);
+/
+
+INSERT INTO hrsa_formula(id, name, description, module, use_for, reference_type, return_type, validate_type, extend_param, formula, formulaRunScript, creator, delete_type, create_time, update_time) VALUES (1693896072589, '当前累计减免税额合计', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{"isCustomFunction":"0","sqlReturnKey":"","openDecrypt":"0","datasource":{"datasourceId":""}}', '{薪资项目.本月(次)减免税额}+{往期累计情况.累计减免税额}', 'salaryItem_taxDeduction+addUpSituation_addUpTaxSavings', 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'));
+/
+
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072606, '本月(次)减免税额', 1693896072589, 'salaryItem_taxDeduction', '{薪资项目.本月(次)减免税额}', 'number', 'salaryItem', 0, 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'));
+/
+
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072611, '累计减免税额', 1693896072589, 'addUpSituation_addUpTaxSavings', '{往期累计情况.累计减免税额}', 'number', 'addUpSituation', 1, 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'));
+/
+
+update hrsa_sys_salary_item set value_type = 2 ,formula_id =1693896072589 where id = 674916065864646658;
+/
+
+update hrsa_salary_item set value_type =2 ,formula_id =1693896072589 where sys_salary_item_id = 674916065864646658;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202312190103.sql b/resource/sqlupgrade/JC/sql202312190103.sql
new file mode 100644
index 000000000..3956b4605
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202312190103.sql
@@ -0,0 +1,61 @@
+ALTER TABLE hrsa_tax_report_column ADD contrast_type int NULL;
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158174, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计收入额', 'addUpIncome', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158175, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计免税收入', 'addUpTaxFreeIncome', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158176, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减除费用', 'addUpSubtraction', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158177, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计专项扣除', 'addUpSpecialDeduction', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158184, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计其他扣除', 'addUpOtherDeduction', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158185, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计准予扣除的捐赠', 'addUpAllowedDonation', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158186, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税所得额', 'addUpTaxableIncome', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158187, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '税率', 'taxRate', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158188, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '速算扣除数', 'quickDeductionFactor', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158189, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税额', 'addUpTaxPayable', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158190, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减免税额', 'addUpTaxDeduction', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158192, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计已缴税额', 'addUpAdvanceTax', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158193, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '应补(退)税额', 'refundedOrSupplementedTax', '', NULL, NULL,1);
+/
+
+update hrsa_tax_report_column set report_column_name = '累计3岁以下婴幼儿照护' where report_column_name = '累计3岁以下婴幼儿照护支出';
+/
+
+update hrsa_tax_report_column set contrast_type = 0;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202312270603.sql b/resource/sqlupgrade/JC/sql202312270603.sql
new file mode 100644
index 000000000..d239eb43a
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202312270603.sql
@@ -0,0 +1,10 @@
+ALTER TABLE hrsa_tax_declaration_value add (
+ source number
+);
+/
+
+ALTER TABLE hrsa_tax_declare_record add (
+ declare_request_id varchar2(100)
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202312270703.sql b/resource/sqlupgrade/JC/sql202312270703.sql
new file mode 100644
index 000000000..fa59157ed
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202312270703.sql
@@ -0,0 +1,3 @@
+update hrsa_tax_declaration_value set source = 0;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202403193303.sql b/resource/sqlupgrade/JC/sql202403193303.sql
new file mode 100644
index 000000000..4238b2123
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202403193303.sql
@@ -0,0 +1,12 @@
+ALTER TABLE hrsa_employee_declare ADD (
+nationality varchar2(255) NULL ,
+birthplace varchar2(255) NULL ,
+tax_reasons varchar2(255) NULL ,
+entry_date date NULL ,
+departure_date date NULL
+);
+/
+
+update hrsa_employee_declare set nationality = '中国' where nationality is null;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202404120303.sql b/resource/sqlupgrade/JC/sql202404120303.sql
new file mode 100644
index 000000000..3ce4e54d0
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202404120303.sql
@@ -0,0 +1,18 @@
+CREATE TABLE hrsa_tax_declare_status (
+id NUMBER(38,0) primary key NOT NULL,
+tax_declare_record_id NUMBER(38,0) NULL ,
+report_type number NULL ,
+request_id varchar2(100) ,
+tax_declare_type number NULL ,
+tax_declare_status number NULL ,
+display_update_icon number NULL ,
+tax_declare_error_msg varchar2(1000) ,
+person_num number NULL ,
+tax_pay_amount varchar2(255) ,
+tax_paid_amount varchar2(255) ,
+tax_pure_paid_amount varchar2(255) ,
+declare_request_id varchar2(100) ,
+delete_type number NULL
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202406170103.sql b/resource/sqlupgrade/JC/sql202406170103.sql
new file mode 100644
index 000000000..159a2e240
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202406170103.sql
@@ -0,0 +1,14 @@
+CREATE TABLE hrsa_sob_tax_rule (
+id NUMBER(38,0) primary key NOT NULL,
+salary_sob_id NUMBER(38,0) NULL ,
+income_category varchar2(100) ,
+tax_index varchar2(100) ,
+salary_item_id NUMBER(38,0) NULL ,
+creator NUMBER(38,0) DEFAULT 0,
+create_time DATE DEFAULT sysdate,
+update_time DATE DEFAULT sysdate,
+delete_type number DEFAULT 0,
+tenant_key varchar2(10) DEFAULT ''
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202406260403.sql b/resource/sqlupgrade/JC/sql202406260403.sql
new file mode 100644
index 000000000..f27cbf3c4
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202406260403.sql
@@ -0,0 +1,14 @@
+create table hrsa_api_task_record
+(
+ id number primary key ,
+ source varchar2(500) ,
+ api varchar2(500),
+ param clob ,
+ response clob,
+ create_time date,
+ update_time date,
+ delete_type int default 0,
+ tenant_key varchar2(10)
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202407170103.sql b/resource/sqlupgrade/JC/sql202407170103.sql
new file mode 100644
index 000000000..6326041b7
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202407170103.sql
@@ -0,0 +1,14 @@
+create table hrsa_acct_calc_tax_req
+(
+ id number primary key ,
+ create_time date default sysdate,
+ update_time date default sysdate,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_acct_record_id number,
+ tax_agent_id number,
+ request_id varchar2(100)
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202412160303.sql b/resource/sqlupgrade/JC/sql202412160303.sql
new file mode 100644
index 000000000..76dc4c94e
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202412160303.sql
@@ -0,0 +1,122 @@
+create table hrsa_other_derate_deduction
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ other_deduction varchar2(50),
+ remark varchar2(255)
+);
+/
+
+create table hrsa_health_insurance
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ identification_number varchar2(255),
+ effective_date date,
+ year_premium varchar2(50),
+ month_premium varchar2(50),
+ current_deduction varchar2(50)
+);
+/
+
+create table hrsa_grant_donation
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ recipient_name varchar2(255),
+ tax_code varchar2(255),
+ donation_number varchar2(255),
+ donate_date date,
+ donate_amount varchar2(50),
+ deduction_proportion varchar2(10),
+ actual_deduction varchar2(50)
+);
+/
+
+create table hrsa_endowment_insurance
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ account_number varchar2(255),
+ check_code varchar2(255),
+ year_premium varchar2(50),
+ month_premium varchar2(50),
+ current_deduction varchar2(50),
+ deduction_month date
+);
+/
+
+create table hrsa_derate_deduction
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ derate_item varchar2(255),
+ derate_property varchar2(255),
+ derate_amount varchar2(255)
+);
+/
+
+create table hrsa_free_income
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ free_item varchar2(255),
+ free_property varchar2(255),
+ free_amount varchar2(255)
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202412160403.sql b/resource/sqlupgrade/JC/sql202412160403.sql
new file mode 100644
index 000000000..07a4c3c3b
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202412160403.sql
@@ -0,0 +1,18 @@
+alter table hrsa_derate_deduction add employee_type int;
+/
+
+alter table hrsa_endowment_insurance add employee_type int;
+/
+
+alter table hrsa_free_income add employee_type int;
+/
+
+alter table hrsa_grant_donation add employee_type int;
+/
+
+alter table hrsa_health_insurance add employee_type int;
+/
+
+alter table hrsa_other_derate_deduction add employee_type int;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202412230103.sql b/resource/sqlupgrade/JC/sql202412230103.sql
new file mode 100644
index 000000000..7d3959666
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202412230103.sql
@@ -0,0 +1,25 @@
+create table hrsa_personal_pension
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ voucher_type varchar2(255),
+ voucher_no varchar2(255),
+ pay_amount varchar2(255),
+ data_source int,
+ collect_source varchar2(50),
+ pay_month date,
+ eb_data_id number,
+ voucher_type_name varchar2(50),
+ employee_type int
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202412240103.sql b/resource/sqlupgrade/JC/sql202412240103.sql
new file mode 100644
index 000000000..3762c4a0d
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202412240103.sql
@@ -0,0 +1,10 @@
+ALTER TABLE hrsa_other_deduction ADD (
+ free_income varchar2(255) NULL
+);
+/
+
+ALTER TABLE hrsa_other_deduction ADD (
+ derate_deduction varchar2(255) NULL
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202503190103.sql b/resource/sqlupgrade/JC/sql202503190103.sql
new file mode 100644
index 000000000..9940e3121
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202503190103.sql
@@ -0,0 +1,38 @@
+create table hrsa_deduction_amount
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ year varchar2(100),
+ employee_id number,
+ employee_type number,
+ employee_name varchar2(100),
+ job_num varchar2(100),
+ card_type number,
+ card_num varchar2(100),
+ nationality varchar2(200),
+ deduct_flag number,
+ successfully_declared number,
+ declare_status number,
+ declare_error_msg varchar2(1000)
+);
+/
+
+create table hrsa_deduction_amount_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ year varchar2(100),
+ request_id varchar2(100)
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202506190103.sql b/resource/sqlupgrade/JC/sql202506190103.sql
new file mode 100644
index 000000000..952cd69b8
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202506190103.sql
@@ -0,0 +1,24 @@
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158200, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '当期收入额', 'dividendsIncome', 'number', 'sre', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158201, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '免税收入', 'dividendsFreeIncome', 'number', 'mssd', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158202, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '准予扣除的捐赠额', 'dividendsAllowedDonation', 'number', 'zykcjze', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158203, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '减免税额', 'dividendsTaxDeduction', 'string', 'jmse', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158204, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '本期收入', 'listedCompanyIncome', 'number', 'sre', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158206, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '免税收入', 'listedCompanyFreeIncome', 'number', 'mssd', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158207, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '准予扣除的捐赠额', 'listedCompanyAllowedDonation', 'number', 'zykcjze', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158208, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '减免税额', 'listedCompanyTaxDeduction', 'string', 'jmse', NULL, 0);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202507010303.sql b/resource/sqlupgrade/JC/sql202507010303.sql
new file mode 100644
index 000000000..a25d13d65
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202507010303.sql
@@ -0,0 +1,21 @@
+ALTER TABLE hrsa_free_income ADD income_category int;
+/
+
+ALTER TABLE hrsa_derate_deduction ADD income_category int;
+/
+
+ALTER TABLE hrsa_endowment_insurance ADD income_category int;
+/
+
+ALTER TABLE hrsa_grant_donation ADD income_category int;
+/
+
+ALTER TABLE hrsa_health_insurance ADD income_category int;
+/
+
+ALTER TABLE hrsa_other_derate_deduction ADD income_category int;
+/
+
+ALTER TABLE hrsa_personal_pension ADD income_category int;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202507010403.sql b/resource/sqlupgrade/JC/sql202507010403.sql
new file mode 100644
index 000000000..69d97a34e
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202507010403.sql
@@ -0,0 +1,21 @@
+update hrsa_free_income set income_category = 1;
+/
+
+update hrsa_derate_deduction set income_category = 1;
+/
+
+update hrsa_endowment_insurance set income_category = 1;
+/
+
+update hrsa_grant_donation set income_category = 1;
+/
+
+update hrsa_health_insurance set income_category = 1;
+/
+
+update hrsa_other_derate_deduction set income_category = 1;
+/
+
+update hrsa_personal_pension set income_category = 1;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202507110103.sql b/resource/sqlupgrade/JC/sql202507110103.sql
new file mode 100644
index 000000000..a942c94e6
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202507110103.sql
@@ -0,0 +1,3 @@
+alter table hrsa_tax_payment_request add report_type number(11) null;
+/
+
diff --git a/resource/sqlupgrade/Mysql/sql202307170503.sql b/resource/sqlupgrade/Mysql/sql202307170503.sql
new file mode 100644
index 000000000..34a291882
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202307170503.sql
@@ -0,0 +1,8 @@
+alter table hrsa_tax_agent add tax_cycle_type int
+;
+
+alter table hrsa_tax_agent modify column tax_cycle_type int default 3
+;
+
+update hrsa_tax_agent set tax_cycle_type = 3 where tax_cycle_type is null
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202307180103.sql b/resource/sqlupgrade/Mysql/sql202307180103.sql
new file mode 100644
index 000000000..7464e0877
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202307180103.sql
@@ -0,0 +1,33 @@
+create table hrsa_tax_declare_api_profile
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ api_profile int comment '接口环境'
+)
+;
+
+create index id_tenant_key_22b215db on hrsa_tax_declare_api_profile(tenant_key)
+;
+
+create table hrsa_tax_payment_request
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ tax_agent_id bigint not null comment '个税扣缴义务人ID' ,
+ tax_declare_record_id bigint comment '个税申报记录' ,
+ tax_year_month date not null comment '税款所属期' ,
+ request_id varchar(50) not null comment '请求id' ,
+ request_type int not null comment '请求类型'
+)
+;
+
+create index id_tenant_key_bcb610c7 on hrsa_tax_payment_request(tenant_key)
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202307180203.sql b/resource/sqlupgrade/Mysql/sql202307180203.sql
new file mode 100644
index 000000000..ee05310cf
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202307180203.sql
@@ -0,0 +1,37 @@
+create table hrsa_tax_declare_api_config
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ host varchar(255) comment '接口host' ,
+ app_key varchar(255) comment 'appKey' ,
+ app_secret varchar(255) comment 'appSecret'
+)
+;
+
+create unique index idx_tenant_key_api_a6f21b46 on hrsa_tax_declare_api_config(tenant_key)
+;
+
+alter table hrsa_tax_declare_api_config modify host varchar(255) not null
+;
+
+alter table hrsa_tax_declare_api_config modify app_key varchar(255) not null
+;
+
+alter table hrsa_tax_declare_api_config modify app_secret varchar(255) not null
+;
+
+alter table hrsa_tax_declare_api_config add enable_use int
+;
+
+alter table hrsa_tax_declare_api_config add totality bigint
+;
+
+alter table hrsa_tax_declare_api_config add remain bigint
+;
+
+alter table hrsa_tax_declare_api_config add last_update_time datetime
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202307180403.sql b/resource/sqlupgrade/Mysql/sql202307180403.sql
new file mode 100644
index 000000000..63e7d6274
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202307180403.sql
@@ -0,0 +1,30 @@
+create table hrsa_tax_agent_tax_return
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '锟斤拷锟斤拷时锟斤拷' ,
+ update_time datetime comment '锟睫革拷时锟斤拷' ,
+ creator bigint comment '锟斤拷锟斤拷锟斤拷id' ,
+ delete_type int default 0 comment '锟角凤拷删锟斤拷' ,
+ tenant_key varchar(10) comment '锟解户KEY' ,
+ tax_agent_id bigint not null comment '锟斤拷税锟桔斤拷锟斤拷锟斤拷锟斤拷ID' ,
+ tax_code varchar(50) not null comment '税锟斤拷' ,
+ tax_registration_number varchar(50) comment '锟角硷拷锟斤拷锟' ,
+ department_code varchar(50) comment '锟斤拷锟脚憋拷锟' ,
+ department_name varchar(50) comment '锟斤拷锟斤拷锟斤拷锟斤拷' ,
+ nation varchar(50) comment '锟斤拷锟斤拷' ,
+ province varchar(50) comment '省锟斤拷' ,
+ city varchar(50) comment '锟叫硷拷' ,
+ area_code varchar(50) not null comment '锟斤拷锟斤拷锟斤拷锟斤拷' ,
+ password_type int(2) not null comment '锟斤拷锟斤拷校锟斤拷锟斤拷锟斤拷' ,
+ real_account varchar(50) comment '实锟斤拷锟剿猴拷' ,
+ pwd varchar(50) not null comment '锟斤拷锟斤拷' ,
+ check_status int(2) not null comment '锟斤拷税锟斤拷证状态' ,
+ fail_reason varchar(255) comment '锟斤拷锟揭伙拷锟斤拷锟街なэ拷锟皆拷锟'
+)
+;
+
+create index id_tenant_key_tax_return on hrsa_tax_agent_tax_return(tenant_key)
+;
+
+create unique index id_tax_agent_id_tax_return on hrsa_tax_agent_tax_return(tax_agent_id)
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308080603.sql b/resource/sqlupgrade/Mysql/sql202308080603.sql
new file mode 100644
index 000000000..85c4d2db6
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308080603.sql
@@ -0,0 +1,50 @@
+create table hrsa_employee_declare_record
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ tax_agent_id bigint comment '个税扣缴义务人' ,
+ tax_cycle datetime comment '税款所属期' ,
+ request_id varchar(100) comment '供应商第三方系统翻译的requestid'
+)
+;
+
+create table hrsa_employee_declare
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ tax_agent_id bigint comment '个税扣缴义务人ID' ,
+ tax_cycle datetime comment '税款所属期' ,
+ employee_id bigint comment '人员id' ,
+ employee_type tinyint comment '人员类型' ,
+ employee_name varchar(100) comment '姓名' ,
+ job_num varchar(100) comment '工号' ,
+ card_type tinyint comment '证件类型' ,
+ card_num varchar(100) comment '证件号码' ,
+ gender varchar(100) comment '性别' ,
+ birthday date comment '生日' ,
+ employment_status tinyint comment '人员状态' ,
+ mobile varchar(100) comment '手机号码' ,
+ employment_type tinyint comment '任职受雇从业类型' ,
+ employment_first_year varchar(100) comment '入职年度就业情形' ,
+ employment_date date comment '任职受雇从业日期' ,
+ dismiss_date date comment '离职日期' ,
+ disability tinyint comment '是否残疾' ,
+ disability_card_no varchar(100) comment '残疾证号码' ,
+ lonely_old tinyint comment '是否孤老' ,
+ martyr_dependents tinyint comment '是否烈属' ,
+ martyr_dependents_card_no varchar(100) comment '烈属证号码' ,
+ deduct_expenses tinyint comment '是否扣除减除费用' ,
+ successfully_declared tinyint comment '是否成功报送过' ,
+ new_employee_info tinyint comment '本月是否编辑过' ,
+ declare_status tinyint comment '报送状态' ,
+ declare_error_msg varchar(1000) comment '报送失败时的错误信息'
+)
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308090303.sql b/resource/sqlupgrade/Mysql/sql202308090303.sql
new file mode 100644
index 000000000..4e6351529
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308090303.sql
@@ -0,0 +1,32 @@
+create table hrsa_tax_declare_record
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ tax_agent_id bigint comment '个税扣缴义务人id' ,
+ salary_month datetime comment '薪资所属月' ,
+ tax_cycle datetime comment '税款所属期' ,
+ remark varchar(1000) comment '备注' ,
+ request_id varchar(100) comment '供应商第三方系统返回的requestid' ,
+ tax_declare_type tinyint comment '申报类型' ,
+ tax_declare_status tinyint comment '申报状态'
+)
+;
+
+alter table hrsa_tax_declare_record add display_update_icon tinyint
+;
+
+alter table hrsa_tax_declare_record add tax_pay_amount varchar(255)
+;
+
+alter table hrsa_tax_declare_record add person_num int
+;
+alter table hrsa_tax_declare_record add tax_declare_error_msg varchar(1000)
+;
+alter table hrsa_tax_declare_record add tax_paid_amount varchar(255)
+;
+alter table hrsa_tax_declare_record add tax_pure_paid_amount varchar(255)
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308100803.sql b/resource/sqlupgrade/Mysql/sql202308100803.sql
new file mode 100644
index 000000000..438670759
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308100803.sql
@@ -0,0 +1,14 @@
+create table hrsa_tax_declare_fail
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ tax_declare_record_id bigint comment '个税申报记录id' ,
+ employee_name varchar(100) comment '姓名' ,
+ card_num varchar(100) comment '证件号码' ,
+ error_msg varchar(1000) comment '失败原因'
+)
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308110103.sql b/resource/sqlupgrade/Mysql/sql202308110103.sql
new file mode 100644
index 000000000..296d921a2
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308110103.sql
@@ -0,0 +1,38 @@
+create table hrsa_tax_report_column
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ tax_report_type varchar(100) comment '报表类型' ,
+ income_category varchar(100) comment '所得项目' ,
+ report_column_name varchar(100) comment '列名' ,
+ report_column_data_index varchar(100) comment '列索引'
+)
+;
+
+create table hrsa_sob_tax_report_rule
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ salary_sob_id bigint comment '薪资账套的id' ,
+ income_category varchar(100) comment '所得项目' ,
+ report_column_data_index varchar(100) comment '个税申报表列索引' ,
+ salary_item_id bigint comment '薪资项目id'
+)
+;
+
+alter table hrsa_tax_report_column add data_type varchar(100)
+;
+
+alter table hrsa_tax_report_column add request_param_key varchar(100)
+;
+
+alter table hrsa_tax_report_column add report_column_label varchar(100)
+;
diff --git a/resource/sqlupgrade/Mysql/sql202308110203.sql b/resource/sqlupgrade/Mysql/sql202308110203.sql
new file mode 100644
index 000000000..35182319d
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308110203.sql
@@ -0,0 +1,16 @@
+create table hrsa_tax_declare_fail
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ tax_declare_record_id bigint comment '个税申报记录id' ,
+ employee_name varchar(100) comment '姓名' ,
+ card_num varchar(100) comment '证件号码' ,
+ error_msg varchar(1000) comment '失败原因'
+)
+;
+alter table hrsa_tax_declare_fail add income_category varchar(100)
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308110303.sql b/resource/sqlupgrade/Mysql/sql202308110303.sql
new file mode 100644
index 000000000..eaa08d8ae
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308110303.sql
@@ -0,0 +1,16 @@
+alter table hrsa_tax_declaration add control_view int
+;
+
+alter table hrsa_tax_declaration add tax_declare_record_id bigint
+;
+
+alter table hrsa_salary_acct_emp add income_category varchar(100)
+;
+
+alter table hrsa_salary_acct_record add control_view int
+;
+
+update hrsa_salary_acct_record set control_view = 0 where control_view is null
+;
+update hrsa_tax_declaration set control_view = 0 where control_view is null
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308140203.sql b/resource/sqlupgrade/Mysql/sql202308140203.sql
new file mode 100644
index 000000000..b78034d4f
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308140203.sql
@@ -0,0 +1,15 @@
+create table hrsa_tax_declaration_value
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ tax_declare_record_id bigint comment '个税申报记录id' ,
+ tax_declaration_id bigint comment '个税申报表id' ,
+ employee_type tinyint comment '人员类型' ,
+ employee_id bigint comment '人员id' ,
+ result_value_json text comment '个税申报表明细值'
+)
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308150303.sql b/resource/sqlupgrade/Mysql/sql202308150303.sql
new file mode 100644
index 000000000..6b6d9b03f
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308150303.sql
@@ -0,0 +1,25 @@
+alter table hrsa_salary_sob_item add income_category varchar(100)
+;
+
+alter table hrsa_salary_sob_item modify column income_category varchar(100) default '1'
+;
+
+update hrsa_salary_sob_item set income_category = '1' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '1')
+;
+
+update hrsa_salary_sob_item set income_category = '2' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '2')
+;
+
+update hrsa_salary_sob_item set income_category = '4' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '4')
+;
+
+alter table hrsa_salary_sob_item add salary_item_code varchar(100)
+;
+
+update hrsa_salary_sob_item a, hrsa_salary_item b
+set a.salary_item_code = b.code
+where a.salary_item_id = b.id
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308150503.sql b/resource/sqlupgrade/Mysql/sql202308150503.sql
new file mode 100644
index 000000000..6b97fb8f1
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308150503.sql
@@ -0,0 +1,619 @@
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157061, null, null, null, 0, 'all_teams', '1', '2', '当期收入额', 'annualIncome', 'number', 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157062, null, null, null, 0, 'all_teams', '1', '2', '免税收入', 'annualTaxFreeIncome', 'number', 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157063, null, null, null, 0, 'all_teams', '1', '2', '其他', 'annualOther', 'number', 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157064, null, null, null, 0, 'all_teams', '1', '2', '准予扣除的捐赠额', 'annualDonateTax', 'number',
+ 'zykcjze')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157065, null, null, null, 0, 'all_teams', '1', '2', '减免税额', 'annualTaxSavings', 'number', 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157066, null, null, null, 0, 'all_teams', '1', '2', '备注', 'annualRemark', 'string', 'bz')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157068, null, null, null, 0, 'all_teams', '1', '4', '当期收入额', 'laborIncome', 'number', 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157069, null, null, null, 0, 'all_teams', '1', '4', '免税收入', 'laborTaxFreeIncome', 'number', 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157070, null, null, null, 0, 'all_teams', '1', '4', '商业健康保险', 'commercialHealthInsurance4',
+ 'number', 'syjkbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157071, null, null, null, 0, 'all_teams', '1', '4', '税延养老保险', 'taxDeferredEndowmentInsurance4',
+ 'number', 'syylbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157072, null, null, null, 0, 'all_teams', '1', '4', '允许扣除税费', 'allowedDeductTax4', 'number',
+ 'yxkcsf')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157073, null, null, null, 0, 'all_teams', '1', '4', '其他', 'other4', 'number', 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157074, null, null, null, 0, 'all_teams', '1', '4', '减免税额', 'labor_tax_saving', 'number', 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157075, null, null, null, 0, 'all_teams', '1', '4', '备注', 'description4', 'string', 'bz')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157077, null, null, null, 0, 'all_teams', '1', '1', '本期收入', 'income', 'number', 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157078, null, null, null, 0, 'all_teams', '1', '1', '本期免税收入', 'taxFreeIncome', 'number', 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157079, null, null, null, 0, 'all_teams', '1', '1', '基本养老保险费', 'endowmentInsurance', 'number',
+ 'jbylaobxf')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157080, null, null, null, 0, 'all_teams', '1', '1', '基本医疗保险费', 'medicalInsurance', 'number',
+ 'jbylbxf')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157081, null, null, null, 0, 'all_teams', '1', '1', '失业保险费', 'unemploymentInsurance', 'number',
+ 'sybxf')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157082, null, null, null, 0, 'all_teams', '1', '1', '住房公积金', 'housingProvidentFund', 'number',
+ 'zfgjj')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157083, null, null, null, 0, 'all_teams', '1', '1', '累计子女教育', 'addUpChildEducation', 'number',
+ 'ljznjyzc')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157084, null, null, null, 0, 'all_teams', '1', '1', '累计住房贷款利息', 'addUpHousingLoanInterest',
+ 'number', 'ljzfdklxzc')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157085, null, null, null, 0, 'all_teams', '1', '1', '累计住房租金', 'addUpHousingRent', 'number',
+ 'ljzfzjzc')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157086, null, null, null, 0, 'all_teams', '1', '1', '累计赡养老人', 'addUpSupportElderly', 'number',
+ 'ljsylrzc')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157087, null, null, null, 0, 'all_teams', '1', '1', '累计继续教育', 'addUpContinuingEducation', 'number',
+ 'ljjxjyzc')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157088, null, null, null, 0, 'all_teams', '1', '1', '累计3岁以下婴幼儿照护支出', 'addUpInfantCare', 'number',
+ 'ljyyezhzc')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157089, null, null, null, 0, 'all_teams', '1', '1', '企业(职业)年金', 'annuity', 'number', 'nj')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157090, null, null, null, 0, 'all_teams', '1', '1', '商业健康保险', 'commercialHealthInsurance', 'number',
+ 'syjkbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157091, null, null, null, 0, 'all_teams', '1', '1', '税延养老保险', 'taxDeferredEndowmentInsurance',
+ 'number', 'syylbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157092, null, null, null, 0, 'all_teams', '1', '1', '其他', 'other', 'number', 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157093, null, null, null, 0, 'all_teams', '1', '1', '准予扣除的捐赠额', 'allowedDonation', 'number',
+ 'zykcjze')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157094, null, null, null, 0, 'all_teams', '1', '1', '减免税额', 'taxDeduction', 'number', 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157095, null, null, null, 0, 'all_teams', '1', '1', '备注', 'description', 'string', 'bz')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157096, null, null, null, 0, 'all_teams', '1', '107', '一次性补偿收入', 'retireCompensationIncome',
+ 'number', 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157097, null, null, null, 0, 'all_teams', '1', '107', '本期工资收入', 'retireWageIncome', 'number',
+ 'bqgzs')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157098, null, null, null, 0, 'all_teams', '1', '107', '免税收入', 'retireTaxFreeIncome', 'number',
+ 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157099, null, null, null, 0, 'all_teams', '1', '107', '其他', 'retireOther', 'number', 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157100, null, null, null, 0, 'all_teams', '1', '107', '准予扣除的捐赠额', 'retireAllowedDonation', 'number',
+ 'zykcjze')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157101, null, null, null, 0, 'all_teams', '1', '107', '减免税额', 'retireTaxDeduction', 'number',
+ 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157102, null, null, null, 0, 'all_teams', '1', '107', '备注', 'retireRemark', 'string', 'bz')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157103, null, null, null, 0, 'all_teams', '1', '107', '分摊月份数', 'retireSplitMonth', 'number',
+ 'ftyfs')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157104, null, null, null, 0, 'all_teams', '1', '108', '当期收入额', 'dismissIncome', 'number', 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157105, null, null, null, 0, 'all_teams', '1', '108', '免税收入', 'dismissTaxFreeIncome', 'number',
+ 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157106, null, null, null, 0, 'all_teams', '1', '108', '其他', 'dismissOther', 'number', 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157107, null, null, null, 0, 'all_teams', '1', '108', '备注', 'dismissRemark', 'string', 'bz')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157108, null, null, null, 0, 'all_teams', '1', '108', '准予扣除的捐赠额', 'dismissAllowedDonation',
+ 'number', 'zykcjze')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157109, null, null, null, 0, 'all_teams', '1', '108', '减免税额', 'dismissTaxDeduction', 'number',
+ 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157110, null, null, null, 0, 'all_teams', '1', '110', '当期收入额', 'annuityIncome', 'number', 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157111, null, null, null, 0, 'all_teams', '1', '110', '已完税缴费额', 'annuityTaxPaidAmount', 'number',
+ 'ywsjfe')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157112, null, null, null, 0, 'all_teams', '1', '110', '全部缴费额', 'annuityTotalPayment', 'number',
+ 'qbjfe')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157113, null, null, null, 0, 'all_teams', '1', '110', '是否一次性领取', 'annuityOneTimeReceive', 'string',
+ 'sfycxlq')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157114, null, null, null, 0, 'all_teams', '1', '110', '年金领取方式', 'annuityReceiveMethod', 'string',
+ 'njlqfs')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157115, null, null, null, 0, 'all_teams', '1', '110', '年金领取原因', 'annuityReceiveReason', 'string',
+ 'njlqyy')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157116, null, null, null, 0, 'all_teams', '1', '110', '免税收入', 'annuityTaxFreeIncome', 'number',
+ 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157117, null, null, null, 0, 'all_teams', '1', '110', '减免税额', 'annuityTaxDeduction', 'number',
+ 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157118, null, null, null, 0, 'all_teams', '1', '110', '商业健康保险', 'annuityHealthInsurance', 'number',
+ 'syjkbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157119, null, null, null, 0, 'all_teams', '1', '110', '税延养老保险', 'annuityEndowmentInsurance',
+ 'number', 'syylbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157120, null, null, null, 0, 'all_teams', '1', '110', '其他', 'annuityOther', 'number', 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157121, null, null, null, 0, 'all_teams', '1', '110', '准予扣除的捐赠额', 'annuityAllowedDonation',
+ 'number', 'zykcjze')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157122, null, null, null, 0, 'all_teams', '1', '110', '备注', 'annuityRemark', 'string', 'bz')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157123, null, null, null, 0, 'all_teams', '1', '402', '当期收入额', 'insuranceIncome', 'number', 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157124, null, null, null, 0, 'all_teams', '1', '402', '免税收入', 'insuranceTaxFreeIncome', 'number',
+ 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157125, null, null, null, 0, 'all_teams', '1', '402', '商业健康保险', 'insuranceHealthInsurance',
+ 'number', 'syjkbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157126, null, null, null, 0, 'all_teams', '1', '402', '税延养老保险', 'insuranceEndowmentInsurance',
+ 'number', 'syylbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157127, null, null, null, 0, 'all_teams', '1', '402', '其他', 'insuranceOther', 'number', 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157128, null, null, null, 0, 'all_teams', '1', '402', '备注', 'insuranceRemark', 'string', 'bz')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157129, null, null, null, 0, 'all_teams', '1', '402', '减免税额', 'insuranceTaxDeduction', 'number',
+ 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157130, null, null, null, 0, 'all_teams', '1', '402', '允许扣除税费', 'insuranceAllowedDeductTax',
+ 'number', 'yxkcsf')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157131, null, null, null, 0, 'all_teams', '1', '403', '当期收入额', 'securitiesIncome', 'number', 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157132, null, null, null, 0, 'all_teams', '1', '403', '免税收入', 'securitiesTaxFreeIncome', 'number',
+ 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157133, null, null, null, 0, 'all_teams', '1', '403', '商业健康保险', 'securitiesHealthInsurance',
+ 'number', 'syjkbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157134, null, null, null, 0, 'all_teams', '1', '403', '税延养老保险', 'securitiesEndowmentInsurance',
+ 'number', 'syylbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157135, null, null, null, 0, 'all_teams', '1', '403', '其他', 'securitiesOther', 'number', 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157136, null, null, null, 0, 'all_teams', '1', '403', '备注', 'securitiesRemark', 'string', 'bz')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157137, null, null, null, 0, 'all_teams', '1', '403', '减免税额', 'securitiesTaxDeduction', 'number',
+ 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157138, null, null, null, 0, 'all_teams', '1', '403', '允许扣除税费', 'securitiesAllowedDeductTax',
+ 'number', 'yxkcsf')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157139, null, null, null, 0, 'all_teams', '1', '489', '当期收入额', 'otherContinuousLaborIncome',
+ 'number', 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157140, null, null, null, 0, 'all_teams', '1', '489', '免税收入', 'otherContinuousLaborTaxFreeIncome',
+ 'number', 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157141, null, null, null, 0, 'all_teams', '1', '489', '商业健康保险',
+ 'otherContinuousLaborHealthInsurance', 'number', 'syjkbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157142, null, null, null, 0, 'all_teams', '1', '489', '税延养老保险',
+ 'otherContinuousLaborEndowmentInsurance', 'number', 'syylbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157143, null, null, null, 0, 'all_teams', '1', '489', '其他', 'otherContinuousLaborOther', 'number',
+ 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157144, null, null, null, 0, 'all_teams', '1', '489', '备注', 'otherContinuousLaborRemark', 'string',
+ 'bz')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157145, null, null, null, 0, 'all_teams', '1', '489', '减免税额', 'otherContinuousLaborTaxDeduction',
+ 'number', 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157146, null, null, null, 0, 'all_teams', '1', '489', '允许扣除税费',
+ 'otherContinuousLaborAllowedDeductTax', 'number', 'yxkcsf')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157147, null, null, null, 0, 'all_teams', '1', '499', '当期收入额', 'otherLaborIncome', 'number', 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157149, null, null, null, 0, 'all_teams', '1', '499', '免税收入', 'otherLaborTaxFreeIncome', 'number',
+ 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157150, null, null, null, 0, 'all_teams', '1', '499', '商业健康保险', 'otherLaborHealthInsurance',
+ 'number', 'syjkbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157151, null, null, null, 0, 'all_teams', '1', '499', '税延养老保险', 'otherLaborEndowmentInsurance',
+ 'number', 'syylbx')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157152, null, null, null, 0, 'all_teams', '1', '499', '允许扣除税费', 'otherLaborAllowedDeductTax',
+ 'number', 'yxkcsf')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157153, null, null, null, 0, 'all_teams', '1', '499', '其他', 'otherLaborOther', 'number', 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157154, null, null, null, 0, 'all_teams', '1', '499', '备注', 'otherLaborRemark', 'string', 'bz')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157155, null, null, null, 0, 'all_teams', '1', '499', '减免税额', 'otherLaborTaxDeduction', 'number',
+ 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157156, null, null, null, 0, 'all_teams', '1', '500', '当期收入额', 'authorIncome', 'number', 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157157, null, null, null, 0, 'all_teams', '1', '500', '免税收入', 'authorTaxFreeIncome', 'number',
+ 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157158, null, null, null, 0, 'all_teams', '1', '500', '其他', 'authorOther', 'number', 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157159, null, null, null, 0, 'all_teams', '1', '500', '减免税额', 'authorTaxDeduction', 'number',
+ 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157160, null, null, null, 0, 'all_teams', '1', '500', '备注', 'authorRemark', 'string', 'bz')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157161, null, null, null, 0, 'all_teams', '1', '600', '当期收入额', 'royaltiesIncome', 'number', 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157162, null, null, null, 0, 'all_teams', '1', '600', '免税收入', 'royaltiesTaxFreeIncome', 'number',
+ 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157163, null, null, null, 0, 'all_teams', '1', '600', '其他', 'royaltiesOther', 'number', 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157164, null, null, null, 0, 'all_teams', '1', '600', '备注', 'royaltiesRemark', 'string', 'bz')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157165, null, null, null, 0, 'all_teams', '1', '600', '减免税额', 'royaltiesTaxDeduction', 'number',
+ 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157166, null, null, null, 0, 'all_teams', '1', '109', '本月股权激励收入', 'stockRightIncome', 'number',
+ 'sre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157167, null, null, null, 0, 'all_teams', '1', '109', '本年累计股权激励收入(不含本月)', 'stockRightAddUpIncome',
+ 'number', 'ljsre')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157168, null, null, null, 0, 'all_teams', '1', '109', '本年累计其他', 'stockRightOther', 'number', 'qt')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157169, null, null, null, 0, 'all_teams', '1', '109', '本年累计准予扣除的捐赠额', 'stockRightAllowedDonation',
+ 'number', 'zykcjze')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157170, null, null, null, 0, 'all_teams', '1', '109', '本年累计减免税额', 'stockRightTaxDeduction',
+ 'number', 'jmse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157171, null, null, null, 0, 'all_teams', '1', '109', '本年累计已扣缴税额', 'stockRightAddUpAdvanceTax',
+ 'number', 'ykjse')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157172, null, null, null, 0, 'all_teams', '1', '109', '本年累计免税收入', 'stockRightTaxFreeIncome',
+ 'number', 'mssd')
+;
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157173, null, null, null, 0, 'all_teams', '1', '109', '备注', 'stockRightRemark', 'string', 'bz')
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308150603.sql b/resource/sqlupgrade/Mysql/sql202308150603.sql
new file mode 100644
index 000000000..d79395752
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308150603.sql
@@ -0,0 +1,58 @@
+create table hrsa_sob_add_up_rule
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ salary_sob_id bigint comment '薪资账套的id' ,
+ income_category varchar(100) comment '收入所得项目' ,
+ salary_item_id bigint comment '薪资项目的id' ,
+ add_up_column_data_index varchar(100) comment '往期累计情况的字段索引'
+)
+;
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpIncome', 'addUpSubtraction', 'addUpSocialSecurityTotal', 'addUpAccumulationFundTotal',
+ 'addUpEnterpriseAndOther', 'addUpOtherDeduction', 'addUpTaxExemptIncome',
+ 'addUpAllowedDonation', 'addUpTaxSavings')
+;
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpTaxPayable' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpAdvanceTax'
+;
+
+delete from hrsa_sob_add_up_rule
+where income_category = 1
+ and add_up_column_data_index in ('addUpTaxPayable', 'addUpAdvanceTax')
+;
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpAdvanceTax' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpTaxPayable'
+;
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpTaxableIncome','addUpTaxFreeIncome','addUpTaxDeduction')
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308170103.sql b/resource/sqlupgrade/Mysql/sql202308170103.sql
new file mode 100644
index 000000000..c97cc02f4
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308170103.sql
@@ -0,0 +1,2 @@
+alter table hrsa_tax_payment_request add feedback int
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308230303.sql b/resource/sqlupgrade/Mysql/sql202308230303.sql
new file mode 100644
index 000000000..76f96bf71
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308230303.sql
@@ -0,0 +1,4 @@
+alter table hrsa_tax_agent_tax_return add city_name varchar(400)
+;
+
+update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308240201.sql b/resource/sqlupgrade/Mysql/sql202308240201.sql
new file mode 100644
index 000000000..990d9534d
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308240201.sql
@@ -0,0 +1,34 @@
+delete from HtmlLabelIndex where id = 544827 and ( indexdesc is null or indexdesc = '' )
+;
+insert into HtmlLabelIndex(id,indexdesc) select 544827,'智能算薪' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544827 and ( indexdesc is not null and indexdesc <> '' )) limit 1
+;
+delete from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( labelname is null or labelname = '' )
+;
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( labelname is not null and labelname <> '' )) limit 1
+;
+delete from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=char_length(labelname) )
+;
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'Intelligent salary calculation' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( labelname is not null and labelname <> '' and length(labelname)=char_length(labelname) )) limit 1
+;
+delete from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( labelname is null or labelname = '' )
+;
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( labelname is not null and labelname <> '' )) limit 1
+;
+
+
+delete from HtmlLabelIndex where id = 544826 and ( indexdesc is null or indexdesc = '' )
+;
+insert into HtmlLabelIndex(id,indexdesc) select 544826,'人员信息报送' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544826 and ( indexdesc is not null and indexdesc <> '' )) limit 1
+;
+delete from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( labelname is null or labelname = '' )
+;
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人员信息报送' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( labelname is not null and labelname <> '' )) limit 1
+;
+delete from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=char_length(labelname) )
+;
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'Personnel information submission' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( labelname is not null and labelname <> '' and length(labelname)=char_length(labelname) )) limit 1
+;
+delete from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( labelname is null or labelname = '' )
+;
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人員信息報送' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( labelname is not null and labelname <> '' )) limit 1
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308240302.sql b/resource/sqlupgrade/Mysql/sql202308240302.sql
new file mode 100644
index 000000000..1164be8d3
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308240302.sql
@@ -0,0 +1,21 @@
+Delete from LeftMenuInfo where id=100191
+;
+Delete from LeftMenuConfig where infoid=100191
+;
+call LMConfig_U_ByInfoInsert (2,100181,1)
+;
+call LMInfo_Insert (100191,544827,'','',2,100181,1,18)
+;
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/intelligentCalculateSalarySettings' where id = 100191
+;
+
+Delete from LeftMenuInfo where id=100192
+;
+Delete from LeftMenuConfig where infoid=100192
+;
+call LMConfig_U_ByInfoInsert (2,100118,7)
+;
+call LMInfo_Insert (100192,544826,'','',2,100118,7,18)
+;
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/employeedeclare' where id = 100192
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202308280203.sql b/resource/sqlupgrade/Mysql/sql202308280203.sql
new file mode 100644
index 000000000..ef5d03136
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202308280203.sql
@@ -0,0 +1,46 @@
+create table hrsa_tax_api_flow_receiver
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ warn_config_id bigint not null comment '提醒配置的id' ,
+ employee_id bigint not null comment '接收人id' ,
+ email varchar(100) comment '邮箱' ,
+ mobile varchar(50) comment '手机号'
+)
+;
+
+create table hrsa_tax_api_flow_record
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ tax_agent_id bigint not null comment '个税扣缴义务人的主键id' ,
+ tax_month datetime not null comment '税款所属期' ,
+ use_time datetime not null comment '使用时间' ,
+ deduct int comment '是否扣流量(暂时没用)' ,
+ employee_id bigint not null comment '人员ID' ,
+ business_type int not null comment '接口业务类型' ,
+ result_status int not null comment '结果'
+)
+;
+
+create table hrsa_tax_api_flow_warn_config
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ enable_warn int default 0 not null comment '是否提醒' ,
+ threshold int default 0 not null comment '提醒阈值' ,
+ business_id bigint default '0' not null comment '消息业务ID'
+)
+;
diff --git a/resource/sqlupgrade/Mysql/sql202309040303.sql b/resource/sqlupgrade/Mysql/sql202309040303.sql
new file mode 100644
index 000000000..09de22bfa
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202309040303.sql
@@ -0,0 +1,39 @@
+create table hrsa_add_up_deduction_request
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ request_id bigint not null comment '查询请求ID' ,
+ request_status tinyint(1) default 1 not null comment '请求处理状态:10待处理 20处理中 99已完成' ,
+ tax_year_month datetime not null comment '税款所属期' ,
+ outer_request_id varchar(50) not null comment '外部接口查询请求ID' ,
+ tax_agent_id bigint not null comment '个税扣缴义务人Id'
+)
+;
+
+alter table hrsa_add_up_deduction_request add lock_version int
+;
+
+alter table hrsa_add_up_deduction_request modify column lock_version int default 0
+;
+
+create table hrsa_add_up_deduction_req_fail
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ request_id bigint not null comment '查询请求ID' ,
+ employee_id bigint not null comment '员工ID' ,
+ employee_type int not null comment '员工类型' ,
+ tax_agent_id bigint not null comment '个税扣缴义务人ID' ,
+ reason varchar(255) not null comment '失败原因' ,
+ tax_year_month datetime not null comment '税款所属期' ,
+ outer_request_id varchar(50) not null comment '外部接口查询请求id'
+)
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202309050203.sql b/resource/sqlupgrade/Mysql/sql202309050203.sql
new file mode 100644
index 000000000..c5fce8081
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202309050203.sql
@@ -0,0 +1,19 @@
+alter table hrsa_add_up_situation add add_up_taxable_income varchar(255)
+;
+alter table hrsa_add_up_situation add actual_add_up_advance_tax varchar(255)
+;
+alter table hrsa_add_up_situation add tax_adjustment varchar(255)
+;
+
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312885, 1, 674916065864646661, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614119, 5);
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312886, 1, 674916065864646658, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614119, 6);
+
+INSERT INTO hrsa_formula(id, name, description, module, use_for, reference_type, return_type, validate_type, extend_param, formula, formulaRunScript, creator, delete_type, create_time, update_time) VALUES (1693896072589, '当前累计减免税额合计', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{"isCustomFunction":"0","sqlReturnKey":"","openDecrypt":"0","datasource":{"datasourceId":""}}', '{薪资项目.本月(次)减免税额}+{往期累计情况.累计减免税额}', 'salaryItem_taxDeduction+addUpSituation_addUpTaxSavings', 27, 0, '2023-09-05 14:41:12', '2023-09-05 14:41:12');
+
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072606, '本月(次)减免税额', 1693896072589, 'salaryItem_taxDeduction', '{薪资项目.本月(次)减免税额}', 'number', 'salaryItem', 0, 27, 0, '2023-09-05 14:41:12', '2023-09-05 14:41:12');
+
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072611, '累计减免税额', 1693896072589, 'addUpSituation_addUpTaxSavings', '{往期累计情况.累计减免税额}', 'number', 'addUpSituation', 1, 27, 0, '2023-09-05 14:41:12', '2023-09-05 14:41:12');
+
+update hrsa_sys_salary_item set value_type = 2 ,formula_id =1693896072589 where id = 674916065864646658;
+
+update hrsa_salary_item set value_type =2 ,formula_id =1693896072589 where sys_salary_item_id = 674916065864646658;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202312190103.sql b/resource/sqlupgrade/Mysql/sql202312190103.sql
new file mode 100644
index 000000000..006ea1239
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202312190103.sql
@@ -0,0 +1,46 @@
+ALTER TABLE hrsa_tax_report_column ADD COLUMN contrast_type int(0) NULL;
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158174, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计收入额', 'addUpIncome', 'number', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158175, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计免税收入', 'addUpTaxFreeIncome', 'number', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158176, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减除费用', 'addUpSubtraction', 'number', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158177, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计专项扣除', 'addUpSpecialDeduction', 'number', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158184, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计其他扣除', 'addUpOtherDeduction', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158185, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计准予扣除的捐赠', 'addUpAllowedDonation', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158186, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税所得额', 'addUpTaxableIncome', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158187, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '税率', 'taxRate', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158188, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '速算扣除数', 'quickDeductionFactor', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158189, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税额', 'addUpTaxPayable', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158190, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减免税额', 'addUpTaxDeduction', '', NULL, NULL,1);
+
+
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158192, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计已缴税额', 'addUpAdvanceTax', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158193, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '应补(退)税额', 'refundedOrSupplementedTax', '', NULL, NULL,1);
+
+update hrsa_tax_report_column set report_column_name = '累计3岁以下婴幼儿照护' where report_column_name = '累计3岁以下婴幼儿照护支出';
+
+update hrsa_tax_report_column set contrast_type = 0;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202312270603.sql b/resource/sqlupgrade/Mysql/sql202312270603.sql
new file mode 100644
index 000000000..52d95fada
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202312270603.sql
@@ -0,0 +1,3 @@
+ALTER TABLE hrsa_tax_declaration_value ADD COLUMN source int(0) NULL ;
+
+ALTER TABLE hrsa_tax_declare_record ADD COLUMN declare_request_id varchar(100) NULL ;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202312270703.sql b/resource/sqlupgrade/Mysql/sql202312270703.sql
new file mode 100644
index 000000000..099b6ab58
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202312270703.sql
@@ -0,0 +1 @@
+update hrsa_tax_declaration_value set source = 0;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202403193303.sql b/resource/sqlupgrade/Mysql/sql202403193303.sql
new file mode 100644
index 000000000..8a2735c24
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202403193303.sql
@@ -0,0 +1,8 @@
+ALTER TABLE hrsa_employee_declare
+ADD COLUMN nationality varchar(255) NULL,
+ADD COLUMN birthplace varchar(255) NULL,
+ADD COLUMN tax_reasons varchar(255) NULL,
+ADD COLUMN entry_date date NULL,
+ADD COLUMN departure_date date NULL ;
+
+update hrsa_employee_declare set nationality = '中国' where nationality is null;
diff --git a/resource/sqlupgrade/Mysql/sql202404120303.sql b/resource/sqlupgrade/Mysql/sql202404120303.sql
new file mode 100644
index 000000000..67da1a7d2
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202404120303.sql
@@ -0,0 +1,17 @@
+CREATE TABLE hrsa_tax_declare_status (
+id bigint(0) NOT NULL ,
+tax_declare_record_id bigint(0) NULL ,
+report_type int(0) NULL ,
+request_id varchar(100) ,
+tax_declare_type tinyint(0) NULL ,
+tax_declare_status tinyint(0) NULL ,
+display_update_icon tinyint(0) NULL ,
+tax_declare_error_msg varchar(1000) ,
+person_num int(0) NULL ,
+tax_pay_amount varchar(255) ,
+tax_paid_amount varchar(255) ,
+tax_pure_paid_amount varchar(255) ,
+declare_request_id varchar(100) ,
+delete_type int(0) NULL,
+PRIMARY KEY (id)
+);
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202406170103.sql b/resource/sqlupgrade/Mysql/sql202406170103.sql
new file mode 100644
index 000000000..be09a90f9
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202406170103.sql
@@ -0,0 +1,13 @@
+CREATE TABLE hrsa_sob_tax_rule (
+ id bigint(0) NOT NULL,
+ create_time datetime(0) ,
+ update_time datetime(0) ,
+ creator bigint(0) ,
+ delete_type int(0) ,
+ tenant_key varchar(10),
+ salary_sob_id bigint(0),
+ income_category varchar(100) ,
+ tax_index varchar(100) ,
+ salary_item_id bigint(0) ,
+ PRIMARY KEY (id)
+) ;
diff --git a/resource/sqlupgrade/Mysql/sql202406260403.sql b/resource/sqlupgrade/Mysql/sql202406260403.sql
new file mode 100644
index 000000000..4a8a4b313
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202406260403.sql
@@ -0,0 +1,12 @@
+CREATE TABLE hrsa_api_task_record (
+ id bigint(0) NOT NULL ,
+ source varchar(500) ,
+ api varchar(500),
+ param text ,
+ response text,
+ tenant_key varchar(255) ,
+ delete_type int(0) ,
+ create_time datetime(0),
+ update_time datetime(0),
+ PRIMARY KEY (id) USING BTREE
+);
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202407170103.sql b/resource/sqlupgrade/Mysql/sql202407170103.sql
new file mode 100644
index 000000000..10ccaaadd
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202407170103.sql
@@ -0,0 +1,13 @@
+create table hrsa_acct_calc_tax_req
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime default now() comment '创建时间' ,
+ update_time datetime default now() comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ salary_acct_record_id bigint comment '薪资核算记录id' ,
+ tax_agent_id bigint comment '个税扣缴义务人id' ,
+ request_id varchar(100) comment '请求requestId'
+)
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202412160303.sql b/resource/sqlupgrade/Mysql/sql202412160303.sql
new file mode 100644
index 000000000..c10d7fee8
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202412160303.sql
@@ -0,0 +1,132 @@
+create table hrsa_other_derate_deduction
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ main_id bigint comment '主表数据id' ,
+ tax_year_month date comment '税款所属期' ,
+ employee_id bigint comment '人员id' ,
+ tax_agent_id bigint comment '个税扣缴义务人id' ,
+ file_status int comment '归档状态 0未归档 1已归档' ,
+ other_deduction varchar(50) comment '其他减免税额' ,
+ remark varchar(255) comment '备注'
+)
+;
+
+
+create table hrsa_health_insurance
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ main_id bigint comment '主表数据id' ,
+ tax_year_month date comment '税款所属期' ,
+ employee_id bigint comment '人员id' ,
+ tax_agent_id bigint comment '个税扣缴义务人id' ,
+ file_status int comment '归档状态 0未归档 1已归档' ,
+ identification_number varchar(255) comment '税优识别码' ,
+ effective_date date comment '保单生效日期' ,
+ year_premium varchar(50) comment '年度保费' ,
+ month_premium varchar(50) comment '月度保费' ,
+ current_deduction varchar(50) comment '本期扣除金额'
+)
+;
+
+
+create table hrsa_grant_donation
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ main_id bigint comment '主表数据id' ,
+ tax_year_month date comment '税款所属期' ,
+ employee_id bigint comment '人员id' ,
+ tax_agent_id bigint comment '个税扣缴义务人id' ,
+ file_status int comment '归档状态 0未归档 1已归档' ,
+ recipient_name varchar(255) comment '受赠单位名称' ,
+ tax_code varchar(255) comment '受赠单位纳税人识别号' ,
+ donation_number varchar(255) comment '捐赠凭证号' ,
+ donate_date date comment '捐赠日期' ,
+ donate_amount varchar(50) comment '捐赠金额' ,
+ deduction_proportion varchar(10) comment '扣除比例' ,
+ actual_deduction varchar(50) comment '实际扣除金额'
+)
+;
+
+
+
+create table hrsa_endowment_insurance
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ main_id bigint comment '主表数据id' ,
+ tax_year_month date comment '税款所属期' ,
+ employee_id bigint comment '人员id' ,
+ tax_agent_id bigint comment '个税扣缴义务人id' ,
+ file_status int comment '归档状态 0未归档 1已归档' ,
+ account_number varchar(255) comment '税延养老账户编号' ,
+ check_code varchar(255) comment '报税校验码' ,
+ year_premium varchar(50) comment '年度保费' ,
+ month_premium varchar(50) comment '月度保费' ,
+ current_deduction varchar(50) comment '本期扣除金额' ,
+ deduction_month date comment '申请扣除月份'
+)
+;
+
+
+create table hrsa_derate_deduction
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ main_id bigint comment '主表数据id' ,
+ tax_year_month date comment '税款所属期' ,
+ employee_id bigint comment '人员id' ,
+ tax_agent_id bigint comment '个税扣缴义务人id' ,
+ file_status int comment '归档状态 0未归档 1已归档' ,
+ derate_item varchar(255) comment '减免事项' ,
+ derate_property varchar(255) comment '减免性质' ,
+ derate_amount varchar(255) comment '减免税额'
+)
+;
+
+
+
+create table hrsa_free_income
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ main_id bigint comment '主表数据id' ,
+ tax_year_month date comment '税款所属期' ,
+ employee_id bigint comment '人员id' ,
+ tax_agent_id bigint comment '个税扣缴义务人id' ,
+ file_status int comment '归档状态 0未归档 1已归档' ,
+ free_item varchar(255) comment '免税事项' ,
+ free_property varchar(255) comment '免税性质' ,
+ free_amount varchar(255) comment '免税金额'
+)
+;
+
+
+
+
diff --git a/resource/sqlupgrade/Mysql/sql202412160403.sql b/resource/sqlupgrade/Mysql/sql202412160403.sql
new file mode 100644
index 000000000..601430556
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202412160403.sql
@@ -0,0 +1,12 @@
+alter table hrsa_derate_deduction add employee_type int
+;
+alter table hrsa_endowment_insurance add employee_type int
+;
+alter table hrsa_free_income add employee_type int
+;
+alter table hrsa_grant_donation add employee_type int
+;
+alter table hrsa_health_insurance add employee_type int
+;
+alter table hrsa_other_derate_deduction add employee_type int
+;
diff --git a/resource/sqlupgrade/Mysql/sql202412230103.sql b/resource/sqlupgrade/Mysql/sql202412230103.sql
new file mode 100644
index 000000000..1905ea452
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202412230103.sql
@@ -0,0 +1,24 @@
+create table hrsa_personal_pension
+(
+ id bigint primary key comment 'ID' ,
+ create_time datetime comment '创建时间' ,
+ update_time datetime comment '修改时间' ,
+ creator bigint comment '创建人id' ,
+ delete_type int default 0 comment '是否删除' ,
+ tenant_key varchar(10) comment '租户KEY' ,
+ main_id bigint comment '主表数据id' ,
+ tax_year_month date comment '税款所属期' ,
+ employee_id bigint comment '人员id' ,
+ tax_agent_id bigint comment '个税扣缴义务人id' ,
+ file_status int comment '归档状态 0未归档 1已归档' ,
+ voucher_type varchar(255) comment '凭证类型' ,
+ voucher_no varchar(255) comment '凭证编码' ,
+ pay_amount varchar(255) comment '金额' ,
+ data_source int comment '数据来源' ,
+ collect_source varchar(50) comment '采集来源' ,
+ pay_month date comment '缴费月度' ,
+ eb_data_id bigint comment 'eb数据id' ,
+ voucher_type_name varchar(50) comment '凭证类型' ,
+ employee_type int comment '人员类型'
+)
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202412240103.sql b/resource/sqlupgrade/Mysql/sql202412240103.sql
new file mode 100644
index 000000000..fb1d84ef2
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202412240103.sql
@@ -0,0 +1,3 @@
+ALTER TABLE hrsa_other_deduction
+ADD COLUMN free_income varchar(255) ,
+ADD COLUMN derate_deduction varchar(255) ;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202503190103.sql b/resource/sqlupgrade/Mysql/sql202503190103.sql
new file mode 100644
index 000000000..6c78f00ed
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202503190103.sql
@@ -0,0 +1,37 @@
+CREATE TABLE hrsa_deduction_amount
+(
+ id bigint(0),
+ create_time datetime(0),
+ update_time datetime(0),
+ creator bigint(0),
+ delete_type int(0),
+ tenant_key varchar(10),
+ tax_agent_id bigint(0),
+ year varchar(100),
+ employee_id bigint(0),
+ employee_type tinyint(0),
+ employee_name varchar(100),
+ job_num varchar(100),
+ card_type tinyint(0),
+ card_num varchar(100),
+ nationality varchar(200),
+ deduct_flag tinyint(0),
+ successfully_declared tinyint(0),
+ declare_status tinyint(0),
+ declare_error_msg varchar(3000),
+ PRIMARY KEY (id) USING BTREE
+);
+
+CREATE TABLE hrsa_deduction_amount_record
+(
+ id bigint(0),
+ create_time datetime(0),
+ update_time datetime(0),
+ creator bigint(0),
+ delete_type int(0),
+ tenant_key varchar(10),
+ tax_agent_id bigint(0),
+ year varchar(255),
+ request_id varchar(100),
+ PRIMARY KEY (id) USING BTREE
+);
diff --git a/resource/sqlupgrade/Mysql/sql202506190103.sql b/resource/sqlupgrade/Mysql/sql202506190103.sql
new file mode 100644
index 000000000..2ee229b09
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202506190103.sql
@@ -0,0 +1,10 @@
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158200, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '当期收入额', 'dividendsIncome', 'number', 'sre', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158201, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '免税收入', 'dividendsFreeIncome', 'number', 'mssd', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158202, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '准予扣除的捐赠额', 'dividendsAllowedDonation', 'number', 'zykcjze', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158203, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '减免税额', 'dividendsTaxDeduction', 'string', 'jmse', NULL, 0);
+
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158204, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '本期收入', 'listedCompanyIncome', 'number', 'sre', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158206, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '免税收入', 'listedCompanyFreeIncome', 'number', 'mssd', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158207, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '准予扣除的捐赠额', 'listedCompanyAllowedDonation', 'number', 'zykcjze', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158208, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '减免税额', 'listedCompanyTaxDeduction', 'string', 'jmse', NULL, 0);
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202507010303.sql b/resource/sqlupgrade/Mysql/sql202507010303.sql
new file mode 100644
index 000000000..8b3a971e8
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202507010303.sql
@@ -0,0 +1,7 @@
+ALTER TABLE hrsa_free_income ADD COLUMN income_category int(0);
+ALTER TABLE hrsa_derate_deduction ADD COLUMN income_category int(0);
+ALTER TABLE hrsa_endowment_insurance ADD COLUMN income_category int(0);
+ALTER TABLE hrsa_grant_donation ADD COLUMN income_category int(0);
+ALTER TABLE hrsa_health_insurance ADD COLUMN income_category int(0);
+ALTER TABLE hrsa_other_derate_deduction ADD COLUMN income_category int(0);
+ALTER TABLE hrsa_personal_pension ADD COLUMN income_category int(0);
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202507010403.sql b/resource/sqlupgrade/Mysql/sql202507010403.sql
new file mode 100644
index 000000000..d6247eefc
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202507010403.sql
@@ -0,0 +1,7 @@
+update hrsa_free_income set income_category = 1;
+update hrsa_derate_deduction set income_category = 1;
+update hrsa_endowment_insurance set income_category = 1;
+update hrsa_grant_donation set income_category = 1;
+update hrsa_health_insurance set income_category = 1;
+update hrsa_other_derate_deduction set income_category = 1;
+update hrsa_personal_pension set income_category = 1;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202507110103.sql b/resource/sqlupgrade/Mysql/sql202507110103.sql
new file mode 100644
index 000000000..ab9b6cb2e
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202507110103.sql
@@ -0,0 +1 @@
+ALTER TABLE hrsa_tax_payment_request ADD COLUMN report_type int NULL;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202307180103.sql b/resource/sqlupgrade/Oracle/sql202307180103.sql
new file mode 100644
index 000000000..c0a1672eb
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202307180103.sql
@@ -0,0 +1,33 @@
+create table hrsa_tax_declare_api_profile
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ api_profile int
+)
+/
+
+create index id_tenant_key_22b215db on hrsa_tax_declare_api_profile(tenant_key)
+/
+
+create table hrsa_tax_payment_request
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number not null,
+ tax_declare_record_id number,
+ tax_year_month date not null,
+ request_id varchar2(50) not null,
+ request_type int not null
+)
+/
+
+create index id_tenant_key_bcb610c7 on hrsa_tax_payment_request(tenant_key)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202307180203.sql b/resource/sqlupgrade/Oracle/sql202307180203.sql
new file mode 100644
index 000000000..6ab4e5d58
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202307180203.sql
@@ -0,0 +1,37 @@
+create table hrsa_tax_declare_api_config
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ host varchar2(255),
+ app_key varchar2(255),
+ app_secret varchar2(255)
+)
+/
+
+create unique index idx_tenant_key_api_a6f21b46 on hrsa_tax_declare_api_config(tenant_key)
+/
+
+alter table hrsa_tax_declare_api_config modify host not null
+/
+
+alter table hrsa_tax_declare_api_config modify app_key not null
+/
+
+alter table hrsa_tax_declare_api_config modify app_secret not null
+/
+
+alter table hrsa_tax_declare_api_config add enable_use int
+/
+
+alter table hrsa_tax_declare_api_config add totality number
+/
+
+alter table hrsa_tax_declare_api_config add remain number
+/
+
+alter table hrsa_tax_declare_api_config add last_update_time date
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202307180403.sql b/resource/sqlupgrade/Oracle/sql202307180403.sql
new file mode 100644
index 000000000..c34456078
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202307180403.sql
@@ -0,0 +1,30 @@
+create table hrsa_tax_agent_tax_return
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number not null,
+ tax_code varchar2(50) not null,
+ tax_registration_number varchar2(50) ,
+ department_code varchar2(50),
+ department_name varchar2(50),
+ nation varchar2(50),
+ province varchar2(50),
+ city varchar2(50),
+ area_code varchar2(50) not null,
+ password_type int not null,
+ real_account varchar2(50) ,
+ pwd varchar2(50) not null,
+ check_status int not null,
+ fail_reason varchar2(255)
+)
+/
+
+create index id_tenant_key_tax_return on hrsa_tax_agent_tax_return(tenant_key)
+/
+
+create unique index id_tax_agent_id_tax_return on hrsa_tax_agent_tax_return(tax_agent_id)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308080603.sql b/resource/sqlupgrade/Oracle/sql202308080603.sql
new file mode 100644
index 000000000..d41df5b05
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308080603.sql
@@ -0,0 +1,50 @@
+create table hrsa_employee_declare_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ tax_cycle date,
+ request_id varchar2(100)
+)
+/
+
+create table hrsa_employee_declare
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ tax_cycle date,
+ employee_id number,
+ employee_type number,
+ employee_name varchar2(100),
+ job_num varchar2(100),
+ card_type number,
+ card_num varchar2(100),
+ gender varchar2(100),
+ birthday date,
+ employment_status number,
+ mobile varchar2(100),
+ employment_type number,
+ employment_first_year varchar2(100),
+ employment_date date,
+ dismiss_date date,
+ disability number,
+ disability_card_no varchar2(100),
+ lonely_old number,
+ martyr_dependents number,
+ martyr_dependents_card_no varchar2(100),
+ deduct_expenses number,
+ successfully_declared number,
+ new_employee_info number,
+ declare_status number,
+ declare_error_msg varchar2(1000)
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308090303.sql b/resource/sqlupgrade/Oracle/sql202308090303.sql
new file mode 100644
index 000000000..7ce46cb95
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308090303.sql
@@ -0,0 +1,31 @@
+create table hrsa_tax_declare_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ salary_month date,
+ tax_cycle date,
+ remark varchar2(1000),
+ request_id varchar2(100),
+ tax_declare_type number,
+ tax_declare_status number
+)
+/
+
+alter table hrsa_tax_declare_record add display_update_icon number
+/
+alter table hrsa_tax_declare_record add tax_pay_amount varchar2(255)
+/
+
+alter table hrsa_tax_declare_record add person_num int
+/
+alter table hrsa_tax_declare_record add tax_declare_error_msg varchar2(1000)
+/
+alter table hrsa_tax_declare_record add tax_paid_amount varchar2(255)
+/
+alter table hrsa_tax_declare_record add tax_pure_paid_amount varchar2(255)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308100803.sql b/resource/sqlupgrade/Oracle/sql202308100803.sql
new file mode 100644
index 000000000..e30e9aa15
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308100803.sql
@@ -0,0 +1,14 @@
+create table hrsa_tax_declare_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ employee_name varchar2(100),
+ card_num varchar2(100),
+ error_msg varchar2(1000)
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308110103.sql b/resource/sqlupgrade/Oracle/sql202308110103.sql
new file mode 100644
index 000000000..ee096466d
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308110103.sql
@@ -0,0 +1,38 @@
+create table hrsa_tax_report_column
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_report_type varchar2(100),
+ income_category varchar2(100),
+ report_column_name varchar2(100),
+ report_column_data_index varchar2(100)
+)
+/
+
+create table hrsa_sob_tax_report_rule
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_sob_id number,
+ income_category varchar2(100),
+ report_column_data_index varchar2(100),
+ salary_item_id number
+)
+/
+
+alter table hrsa_tax_report_column add data_type varchar2(100)
+/
+
+alter table hrsa_tax_report_column add request_param_key varchar2(100)
+/
+
+alter table hrsa_tax_report_column add report_column_label varchar2(100)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308110203.sql b/resource/sqlupgrade/Oracle/sql202308110203.sql
new file mode 100644
index 000000000..751860966
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308110203.sql
@@ -0,0 +1,17 @@
+create table hrsa_tax_declare_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ employee_name varchar2(100),
+ card_num varchar2(100),
+ error_msg varchar2(1000)
+)
+/
+
+alter table hrsa_tax_declare_fail add income_category varchar2(100)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308110303.sql b/resource/sqlupgrade/Oracle/sql202308110303.sql
new file mode 100644
index 000000000..31f781391
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308110303.sql
@@ -0,0 +1,13 @@
+alter table hrsa_tax_declaration add tax_declare_record_id number
+/
+alter table hrsa_tax_declaration add control_view int
+/
+alter table hrsa_salary_acct_emp add income_category varchar2(100)
+/
+alter table hrsa_salary_acct_record add control_view int
+/
+
+update hrsa_salary_acct_record set control_view = 0 where control_view is null
+/
+update hrsa_tax_declaration set control_view = 0 where control_view is null
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308140203.sql b/resource/sqlupgrade/Oracle/sql202308140203.sql
new file mode 100644
index 000000000..a04ffa126
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308140203.sql
@@ -0,0 +1,15 @@
+create table hrsa_tax_declaration_value
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ tax_declaration_id number,
+ employee_type number,
+ employee_id number,
+ result_value_json clob
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308150303.sql b/resource/sqlupgrade/Oracle/sql202308150303.sql
new file mode 100644
index 000000000..d73054258
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308150303.sql
@@ -0,0 +1,28 @@
+alter table hrsa_salary_sob_item add income_category varchar2(100)
+/
+
+alter table hrsa_salary_sob_item modify income_category default '1'
+/
+
+update hrsa_salary_sob_item set income_category = '1' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '1')
+/
+
+update hrsa_salary_sob_item set income_category = '2' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '2')
+/
+
+update hrsa_salary_sob_item set income_category = '4' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '4')
+/
+
+alter table hrsa_salary_sob_item add salary_item_code varchar2(100)
+/
+
+update hrsa_salary_sob_item a
+set ( salary_item_code) = (
+ select code as salary_item_code
+ from hrsa_salary_item b
+ where a.salary_item_id = b.id
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308150503.sql b/resource/sqlupgrade/Oracle/sql202308150503.sql
new file mode 100644
index 000000000..6de504e07
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308150503.sql
@@ -0,0 +1,619 @@
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157061, null, null, null, 0, 'all_teams', '1', '2', '当期收入额', 'annualIncome', 'number', 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157062, null, null, null, 0, 'all_teams', '1', '2', '免税收入', 'annualTaxFreeIncome', 'number', 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157063, null, null, null, 0, 'all_teams', '1', '2', '其他', 'annualOther', 'number', 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157064, null, null, null, 0, 'all_teams', '1', '2', '准予扣除的捐赠额', 'annualDonateTax', 'number',
+ 'zykcjze')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157065, null, null, null, 0, 'all_teams', '1', '2', '减免税额', 'annualTaxSavings', 'number', 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157066, null, null, null, 0, 'all_teams', '1', '2', '备注', 'annualRemark', 'string', 'bz')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157068, null, null, null, 0, 'all_teams', '1', '4', '当期收入额', 'laborIncome', 'number', 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157069, null, null, null, 0, 'all_teams', '1', '4', '免税收入', 'laborTaxFreeIncome', 'number', 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157070, null, null, null, 0, 'all_teams', '1', '4', '商业健康保险', 'commercialHealthInsurance4',
+ 'number', 'syjkbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157071, null, null, null, 0, 'all_teams', '1', '4', '税延养老保险', 'taxDeferredEndowmentInsurance4',
+ 'number', 'syylbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157072, null, null, null, 0, 'all_teams', '1', '4', '允许扣除税费', 'allowedDeductTax4', 'number',
+ 'yxkcsf')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157073, null, null, null, 0, 'all_teams', '1', '4', '其他', 'other4', 'number', 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157074, null, null, null, 0, 'all_teams', '1', '4', '减免税额', 'labor_tax_saving', 'number', 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157075, null, null, null, 0, 'all_teams', '1', '4', '备注', 'description4', 'string', 'bz')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157077, null, null, null, 0, 'all_teams', '1', '1', '本期收入', 'income', 'number', 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157078, null, null, null, 0, 'all_teams', '1', '1', '本期免税收入', 'taxFreeIncome', 'number', 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157079, null, null, null, 0, 'all_teams', '1', '1', '基本养老保险费', 'endowmentInsurance', 'number',
+ 'jbylaobxf')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157080, null, null, null, 0, 'all_teams', '1', '1', '基本医疗保险费', 'medicalInsurance', 'number',
+ 'jbylbxf')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157081, null, null, null, 0, 'all_teams', '1', '1', '失业保险费', 'unemploymentInsurance', 'number',
+ 'sybxf')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157082, null, null, null, 0, 'all_teams', '1', '1', '住房公积金', 'housingProvidentFund', 'number',
+ 'zfgjj')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157083, null, null, null, 0, 'all_teams', '1', '1', '累计子女教育', 'addUpChildEducation', 'number',
+ 'ljznjyzc')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157084, null, null, null, 0, 'all_teams', '1', '1', '累计住房贷款利息', 'addUpHousingLoanInterest',
+ 'number', 'ljzfdklxzc')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157085, null, null, null, 0, 'all_teams', '1', '1', '累计住房租金', 'addUpHousingRent', 'number',
+ 'ljzfzjzc')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157086, null, null, null, 0, 'all_teams', '1', '1', '累计赡养老人', 'addUpSupportElderly', 'number',
+ 'ljsylrzc')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157087, null, null, null, 0, 'all_teams', '1', '1', '累计继续教育', 'addUpContinuingEducation', 'number',
+ 'ljjxjyzc')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157088, null, null, null, 0, 'all_teams', '1', '1', '累计3岁以下婴幼儿照护支出', 'addUpInfantCare', 'number',
+ 'ljyyezhzc')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157089, null, null, null, 0, 'all_teams', '1', '1', '企业(职业)年金', 'annuity', 'number', 'nj')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157090, null, null, null, 0, 'all_teams', '1', '1', '商业健康保险', 'commercialHealthInsurance', 'number',
+ 'syjkbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157091, null, null, null, 0, 'all_teams', '1', '1', '税延养老保险', 'taxDeferredEndowmentInsurance',
+ 'number', 'syylbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157092, null, null, null, 0, 'all_teams', '1', '1', '其他', 'other', 'number', 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157093, null, null, null, 0, 'all_teams', '1', '1', '准予扣除的捐赠额', 'allowedDonation', 'number',
+ 'zykcjze')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157094, null, null, null, 0, 'all_teams', '1', '1', '减免税额', 'taxDeduction', 'number', 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157095, null, null, null, 0, 'all_teams', '1', '1', '备注', 'description', 'string', 'bz')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157096, null, null, null, 0, 'all_teams', '1', '107', '一次性补偿收入', 'retireCompensationIncome',
+ 'number', 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157097, null, null, null, 0, 'all_teams', '1', '107', '本期工资收入', 'retireWageIncome', 'number',
+ 'bqgzs')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157098, null, null, null, 0, 'all_teams', '1', '107', '免税收入', 'retireTaxFreeIncome', 'number',
+ 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157099, null, null, null, 0, 'all_teams', '1', '107', '其他', 'retireOther', 'number', 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157100, null, null, null, 0, 'all_teams', '1', '107', '准予扣除的捐赠额', 'retireAllowedDonation', 'number',
+ 'zykcjze')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157101, null, null, null, 0, 'all_teams', '1', '107', '减免税额', 'retireTaxDeduction', 'number',
+ 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157102, null, null, null, 0, 'all_teams', '1', '107', '备注', 'retireRemark', 'string', 'bz')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157103, null, null, null, 0, 'all_teams', '1', '107', '分摊月份数', 'retireSplitMonth', 'number',
+ 'ftyfs')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157104, null, null, null, 0, 'all_teams', '1', '108', '当期收入额', 'dismissIncome', 'number', 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157105, null, null, null, 0, 'all_teams', '1', '108', '免税收入', 'dismissTaxFreeIncome', 'number',
+ 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157106, null, null, null, 0, 'all_teams', '1', '108', '其他', 'dismissOther', 'number', 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157107, null, null, null, 0, 'all_teams', '1', '108', '备注', 'dismissRemark', 'string', 'bz')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157108, null, null, null, 0, 'all_teams', '1', '108', '准予扣除的捐赠额', 'dismissAllowedDonation',
+ 'number', 'zykcjze')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157109, null, null, null, 0, 'all_teams', '1', '108', '减免税额', 'dismissTaxDeduction', 'number',
+ 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157110, null, null, null, 0, 'all_teams', '1', '110', '当期收入额', 'annuityIncome', 'number', 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157111, null, null, null, 0, 'all_teams', '1', '110', '已完税缴费额', 'annuityTaxPaidAmount', 'number',
+ 'ywsjfe')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157112, null, null, null, 0, 'all_teams', '1', '110', '全部缴费额', 'annuityTotalPayment', 'number',
+ 'qbjfe')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157113, null, null, null, 0, 'all_teams', '1', '110', '是否一次性领取', 'annuityOneTimeReceive', 'string',
+ 'sfycxlq')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157114, null, null, null, 0, 'all_teams', '1', '110', '年金领取方式', 'annuityReceiveMethod', 'string',
+ 'njlqfs')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157115, null, null, null, 0, 'all_teams', '1', '110', '年金领取原因', 'annuityReceiveReason', 'string',
+ 'njlqyy')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157116, null, null, null, 0, 'all_teams', '1', '110', '免税收入', 'annuityTaxFreeIncome', 'number',
+ 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157117, null, null, null, 0, 'all_teams', '1', '110', '减免税额', 'annuityTaxDeduction', 'number',
+ 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157118, null, null, null, 0, 'all_teams', '1', '110', '商业健康保险', 'annuityHealthInsurance', 'number',
+ 'syjkbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157119, null, null, null, 0, 'all_teams', '1', '110', '税延养老保险', 'annuityEndowmentInsurance',
+ 'number', 'syylbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157120, null, null, null, 0, 'all_teams', '1', '110', '其他', 'annuityOther', 'number', 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157121, null, null, null, 0, 'all_teams', '1', '110', '准予扣除的捐赠额', 'annuityAllowedDonation',
+ 'number', 'zykcjze')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157122, null, null, null, 0, 'all_teams', '1', '110', '备注', 'annuityRemark', 'string', 'bz')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157123, null, null, null, 0, 'all_teams', '1', '402', '当期收入额', 'insuranceIncome', 'number', 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157124, null, null, null, 0, 'all_teams', '1', '402', '免税收入', 'insuranceTaxFreeIncome', 'number',
+ 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157125, null, null, null, 0, 'all_teams', '1', '402', '商业健康保险', 'insuranceHealthInsurance',
+ 'number', 'syjkbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157126, null, null, null, 0, 'all_teams', '1', '402', '税延养老保险', 'insuranceEndowmentInsurance',
+ 'number', 'syylbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157127, null, null, null, 0, 'all_teams', '1', '402', '其他', 'insuranceOther', 'number', 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157128, null, null, null, 0, 'all_teams', '1', '402', '备注', 'insuranceRemark', 'string', 'bz')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157129, null, null, null, 0, 'all_teams', '1', '402', '减免税额', 'insuranceTaxDeduction', 'number',
+ 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157130, null, null, null, 0, 'all_teams', '1', '402', '允许扣除税费', 'insuranceAllowedDeductTax',
+ 'number', 'yxkcsf')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157131, null, null, null, 0, 'all_teams', '1', '403', '当期收入额', 'securitiesIncome', 'number', 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157132, null, null, null, 0, 'all_teams', '1', '403', '免税收入', 'securitiesTaxFreeIncome', 'number',
+ 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157133, null, null, null, 0, 'all_teams', '1', '403', '商业健康保险', 'securitiesHealthInsurance',
+ 'number', 'syjkbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157134, null, null, null, 0, 'all_teams', '1', '403', '税延养老保险', 'securitiesEndowmentInsurance',
+ 'number', 'syylbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157135, null, null, null, 0, 'all_teams', '1', '403', '其他', 'securitiesOther', 'number', 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157136, null, null, null, 0, 'all_teams', '1', '403', '备注', 'securitiesRemark', 'string', 'bz')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157137, null, null, null, 0, 'all_teams', '1', '403', '减免税额', 'securitiesTaxDeduction', 'number',
+ 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157138, null, null, null, 0, 'all_teams', '1', '403', '允许扣除税费', 'securitiesAllowedDeductTax',
+ 'number', 'yxkcsf')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157139, null, null, null, 0, 'all_teams', '1', '489', '当期收入额', 'otherContinuousLaborIncome',
+ 'number', 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157140, null, null, null, 0, 'all_teams', '1', '489', '免税收入', 'otherContinuousLaborTaxFreeIncome',
+ 'number', 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157141, null, null, null, 0, 'all_teams', '1', '489', '商业健康保险',
+ 'otherContinuousLaborHealthInsurance', 'number', 'syjkbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157142, null, null, null, 0, 'all_teams', '1', '489', '税延养老保险',
+ 'otherContinuousLaborEndowmentInsurance', 'number', 'syylbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157143, null, null, null, 0, 'all_teams', '1', '489', '其他', 'otherContinuousLaborOther', 'number',
+ 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157144, null, null, null, 0, 'all_teams', '1', '489', '备注', 'otherContinuousLaborRemark', 'string',
+ 'bz')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157145, null, null, null, 0, 'all_teams', '1', '489', '减免税额', 'otherContinuousLaborTaxDeduction',
+ 'number', 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157146, null, null, null, 0, 'all_teams', '1', '489', '允许扣除税费',
+ 'otherContinuousLaborAllowedDeductTax', 'number', 'yxkcsf')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157147, null, null, null, 0, 'all_teams', '1', '499', '当期收入额', 'otherLaborIncome', 'number', 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157149, null, null, null, 0, 'all_teams', '1', '499', '免税收入', 'otherLaborTaxFreeIncome', 'number',
+ 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157150, null, null, null, 0, 'all_teams', '1', '499', '商业健康保险', 'otherLaborHealthInsurance',
+ 'number', 'syjkbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157151, null, null, null, 0, 'all_teams', '1', '499', '税延养老保险', 'otherLaborEndowmentInsurance',
+ 'number', 'syylbx')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157152, null, null, null, 0, 'all_teams', '1', '499', '允许扣除税费', 'otherLaborAllowedDeductTax',
+ 'number', 'yxkcsf')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157153, null, null, null, 0, 'all_teams', '1', '499', '其他', 'otherLaborOther', 'number', 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157154, null, null, null, 0, 'all_teams', '1', '499', '备注', 'otherLaborRemark', 'string', 'bz')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157155, null, null, null, 0, 'all_teams', '1', '499', '减免税额', 'otherLaborTaxDeduction', 'number',
+ 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157156, null, null, null, 0, 'all_teams', '1', '500', '当期收入额', 'authorIncome', 'number', 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157157, null, null, null, 0, 'all_teams', '1', '500', '免税收入', 'authorTaxFreeIncome', 'number',
+ 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157158, null, null, null, 0, 'all_teams', '1', '500', '其他', 'authorOther', 'number', 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157159, null, null, null, 0, 'all_teams', '1', '500', '减免税额', 'authorTaxDeduction', 'number',
+ 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157160, null, null, null, 0, 'all_teams', '1', '500', '备注', 'authorRemark', 'string', 'bz')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157161, null, null, null, 0, 'all_teams', '1', '600', '当期收入额', 'royaltiesIncome', 'number', 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157162, null, null, null, 0, 'all_teams', '1', '600', '免税收入', 'royaltiesTaxFreeIncome', 'number',
+ 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157163, null, null, null, 0, 'all_teams', '1', '600', '其他', 'royaltiesOther', 'number', 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157164, null, null, null, 0, 'all_teams', '1', '600', '备注', 'royaltiesRemark', 'string', 'bz')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157165, null, null, null, 0, 'all_teams', '1', '600', '减免税额', 'royaltiesTaxDeduction', 'number',
+ 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157166, null, null, null, 0, 'all_teams', '1', '109', '本月股权激励收入', 'stockRightIncome', 'number',
+ 'sre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157167, null, null, null, 0, 'all_teams', '1', '109', '本年累计股权激励收入(不含本月)', 'stockRightAddUpIncome',
+ 'number', 'ljsre')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157168, null, null, null, 0, 'all_teams', '1', '109', '本年累计其他', 'stockRightOther', 'number', 'qt')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157169, null, null, null, 0, 'all_teams', '1', '109', '本年累计准予扣除的捐赠额', 'stockRightAllowedDonation',
+ 'number', 'zykcjze')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157170, null, null, null, 0, 'all_teams', '1', '109', '本年累计减免税额', 'stockRightTaxDeduction',
+ 'number', 'jmse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157171, null, null, null, 0, 'all_teams', '1', '109', '本年累计已扣缴税额', 'stockRightAddUpAdvanceTax',
+ 'number', 'ykjse')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157172, null, null, null, 0, 'all_teams', '1', '109', '本年累计免税收入', 'stockRightTaxFreeIncome',
+ 'number', 'mssd')
+/
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157173, null, null, null, 0, 'all_teams', '1', '109', '备注', 'stockRightRemark', 'string', 'bz')
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308150603.sql b/resource/sqlupgrade/Oracle/sql202308150603.sql
new file mode 100644
index 000000000..4f9868ff8
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308150603.sql
@@ -0,0 +1,57 @@
+create table hrsa_sob_add_up_rule
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_sob_id number,
+ income_category varchar2(100),
+ salary_item_id number,
+ add_up_column_data_index varchar2(100)
+)
+/
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpIncome', 'addUpSubtraction', 'addUpSocialSecurityTotal', 'addUpAccumulationFundTotal',
+ 'addUpEnterpriseAndOther', 'addUpOtherDeduction', 'addUpTaxExemptIncome',
+ 'addUpAllowedDonation', 'addUpTaxSavings')
+/
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpTaxPayable' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpAdvanceTax'
+/
+
+delete from hrsa_sob_add_up_rule
+where income_category = 1
+ and add_up_column_data_index in ('addUpTaxPayable', 'addUpAdvanceTax')
+/
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpAdvanceTax' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpTaxPayable'
+/
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpTaxableIncome','addUpTaxFreeIncome','addUpTaxDeduction')
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308170103.sql b/resource/sqlupgrade/Oracle/sql202308170103.sql
new file mode 100644
index 000000000..040162f3a
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308170103.sql
@@ -0,0 +1,2 @@
+alter table hrsa_tax_payment_request add feedback int
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308230303.sql b/resource/sqlupgrade/Oracle/sql202308230303.sql
new file mode 100644
index 000000000..1f61a5c96
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308230303.sql
@@ -0,0 +1,5 @@
+alter table hrsa_tax_agent_tax_return add city_name varchar2(400)
+/
+
+update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308240201.sql b/resource/sqlupgrade/Oracle/sql202308240201.sql
new file mode 100644
index 000000000..a0cf95fa0
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308240201.sql
@@ -0,0 +1,34 @@
+delete from HtmlLabelIndex where id = 544827 and ( trim(indexdesc) is null )
+/
+insert into HtmlLabelIndex(id,indexdesc) select 544827,'智能算薪' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544827 and ( trim(indexdesc) is not null )) and rownum = 1
+/
+delete from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( trim(labelname) is null )
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1
+/
+delete from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) )
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'Intelligent salary calculation' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1
+/
+delete from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( trim(labelname) is null )
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1
+/
+
+
+delete from HtmlLabelIndex where id = 544826 and ( trim(indexdesc) is null )
+/
+insert into HtmlLabelIndex(id,indexdesc) select 544826,'人员信息报送' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544826 and ( trim(indexdesc) is not null )) and rownum = 1
+/
+delete from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( trim(labelname) is null )
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人员信息报送' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1
+/
+delete from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) )
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'Personnel information submission' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1
+/
+delete from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( trim(labelname) is null )
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人員信息報送' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308240302.sql b/resource/sqlupgrade/Oracle/sql202308240302.sql
new file mode 100644
index 000000000..e2bb43cae
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308240302.sql
@@ -0,0 +1,21 @@
+Delete from LeftMenuInfo where id=100191
+/
+Delete from LeftMenuConfig where infoid=100191
+/
+call LMConfig_U_ByInfoInsert (2,100181,1)
+/
+call LMInfo_Insert (100191,544827,'','',2,100181,1,18)
+/
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/intelligentCalculateSalarySettings' where id = 100191
+/
+
+Delete from LeftMenuInfo where id=100192
+/
+Delete from LeftMenuConfig where infoid=100192
+/
+call LMConfig_U_ByInfoInsert (2,100118,7)
+/
+call LMInfo_Insert (100192,544826,'','',2,100118,7,18)
+/
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/employeedeclare' where id = 100192
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202308280203.sql b/resource/sqlupgrade/Oracle/sql202308280203.sql
new file mode 100644
index 000000000..20bac3295
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202308280203.sql
@@ -0,0 +1,48 @@
+create table hrsa_tax_api_flow_receiver
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ warn_config_id number not null,
+ employee_id number not null,
+ email varchar2(100),
+ mobile varchar2(50)
+)
+/
+
+
+create table hrsa_tax_api_flow_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number not null,
+ tax_month date not null,
+ use_time date not null,
+ deduct int,
+ employee_id number not null,
+ business_type int not null,
+ result_status int not null
+)
+/
+
+
+create table hrsa_tax_api_flow_warn_config
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ enable_warn int default 0 not null,
+ threshold int default 0 not null,
+ business_id number default '0' not null
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202309040303.sql b/resource/sqlupgrade/Oracle/sql202309040303.sql
new file mode 100644
index 000000000..1e666275e
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202309040303.sql
@@ -0,0 +1,39 @@
+create table hrsa_add_up_deduction_request
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ request_id number not null,
+ request_status number default 1 not null,
+ tax_year_month date not null,
+ outer_request_id varchar2(50) not null,
+ tax_agent_id number not null
+)
+/
+
+alter table hrsa_add_up_deduction_request add lock_version int
+/
+
+alter table hrsa_add_up_deduction_request modify lock_version default 0
+/
+
+create table hrsa_add_up_deduction_req_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ request_id number not null,
+ employee_id number not null,
+ employee_type int not null,
+ tax_agent_id number not null,
+ reason varchar2(255) not null,
+ tax_year_month date not null,
+ outer_request_id varchar2(50) not null
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202309050203.sql b/resource/sqlupgrade/Oracle/sql202309050203.sql
new file mode 100644
index 000000000..3caa7ac50
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202309050203.sql
@@ -0,0 +1,23 @@
+alter table hrsa_add_up_situation add add_up_taxable_income varchar2(255)
+/
+alter table hrsa_add_up_situation add actual_add_up_advance_tax varchar2(255)
+/
+alter table hrsa_add_up_situation add tax_adjustment varchar2(255)
+/
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312885, 1, 674916065864646661, 1, 0, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), 0, 'all_teams', 703433961629614119, 5)
+/
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312886, 1, 674916065864646658, 1, 0, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), 0, 'all_teams', 703433961629614119, 6)
+/
+
+INSERT INTO hrsa_formula(id, name, description, module, use_for, reference_type, return_type, validate_type, extend_param, formula, formulaRunScript, creator, delete_type, create_time, update_time) VALUES (1693896072589, '当前累计减免税额合计', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{"isCustomFunction":"0","sqlReturnKey":"","openDecrypt":"0","datasource":{"datasourceId":""}}', '{薪资项目.本月(次)减免税额}+{往期累计情况.累计减免税额}', 'salaryItem_taxDeduction+addUpSituation_addUpTaxSavings', 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'))
+/
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072606, '本月(次)减免税额', 1693896072589, 'salaryItem_taxDeduction', '{薪资项目.本月(次)减免税额}', 'number', 'salaryItem', 0, 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'))
+/
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072611, '累计减免税额', 1693896072589, 'addUpSituation_addUpTaxSavings', '{往期累计情况.累计减免税额}', 'number', 'addUpSituation', 1, 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'))
+/
+
+update hrsa_sys_salary_item set value_type = 2 ,formula_id =1693896072589 where id = 674916065864646658
+/
+
+update hrsa_salary_item set value_type =2 ,formula_id =1693896072589 where sys_salary_item_id = 674916065864646658
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202312190103.sql b/resource/sqlupgrade/Oracle/sql202312190103.sql
new file mode 100644
index 000000000..033891dfd
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202312190103.sql
@@ -0,0 +1,61 @@
+ALTER TABLE hrsa_tax_report_column ADD contrast_type int NULL
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158174, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计收入额', 'addUpIncome', 'number', NULL, NULL,1)
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158175, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计免税收入', 'addUpTaxFreeIncome', 'number', NULL, NULL,1)
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158176, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减除费用', 'addUpSubtraction', 'number', NULL, NULL,1)
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158177, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计专项扣除', 'addUpSpecialDeduction', 'number', NULL, NULL,1)
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158184, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计其他扣除', 'addUpOtherDeduction', '', NULL, NULL,1)
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158185, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计准予扣除的捐赠', 'addUpAllowedDonation', '', NULL, NULL,1)
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158186, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税所得额', 'addUpTaxableIncome', '', NULL, NULL,1)
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158187, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '税率', 'taxRate', '', NULL, NULL,1)
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158188, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '速算扣除数', 'quickDeductionFactor', '', NULL, NULL,1)
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158189, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税额', 'addUpTaxPayable', '', NULL, NULL,1)
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158190, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减免税额', 'addUpTaxDeduction', '', NULL, NULL,1)
+/
+
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158192, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计已缴税额', 'addUpAdvanceTax', '', NULL, NULL,1)
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158193, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '应补(退)税额', 'refundedOrSupplementedTax', '', NULL, NULL,1)
+/
+
+update hrsa_tax_report_column set report_column_name = '累计3岁以下婴幼儿照护' where report_column_name = '累计3岁以下婴幼儿照护支出'
+/
+
+update hrsa_tax_report_column set contrast_type = 0
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202312270603.sql b/resource/sqlupgrade/Oracle/sql202312270603.sql
new file mode 100644
index 000000000..8a7c248cf
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202312270603.sql
@@ -0,0 +1,9 @@
+ALTER TABLE hrsa_tax_declaration_value add (
+ source number
+)
+/
+
+ALTER TABLE hrsa_tax_declare_record add (
+ declare_request_id varchar2(100)
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202312270703.sql b/resource/sqlupgrade/Oracle/sql202312270703.sql
new file mode 100644
index 000000000..817e4ba00
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202312270703.sql
@@ -0,0 +1,2 @@
+update hrsa_tax_declaration_value set source = 0
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202403193303.sql b/resource/sqlupgrade/Oracle/sql202403193303.sql
new file mode 100644
index 000000000..e12698cbc
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202403193303.sql
@@ -0,0 +1,11 @@
+ALTER TABLE hrsa_employee_declare ADD (
+nationality varchar2(255) NULL ,
+birthplace varchar2(255) NULL ,
+tax_reasons varchar2(255) NULL ,
+entry_date date NULL ,
+departure_date date NULL
+)
+/
+
+update hrsa_employee_declare set nationality = '中国' where nationality is null
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202404120303.sql b/resource/sqlupgrade/Oracle/sql202404120303.sql
new file mode 100644
index 000000000..c024ae2a7
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202404120303.sql
@@ -0,0 +1,17 @@
+CREATE TABLE hrsa_tax_declare_status (
+id NUMBER(38,0) primary key NOT NULL,
+tax_declare_record_id NUMBER(38,0) NULL ,
+report_type number NULL ,
+request_id varchar2(100) ,
+tax_declare_type number NULL ,
+tax_declare_status number NULL ,
+display_update_icon number NULL ,
+tax_declare_error_msg varchar2(1000) ,
+person_num number NULL ,
+tax_pay_amount varchar2(255) ,
+tax_paid_amount varchar2(255) ,
+tax_pure_paid_amount varchar2(255) ,
+declare_request_id varchar2(100) ,
+delete_type number NULL
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202406170103.sql b/resource/sqlupgrade/Oracle/sql202406170103.sql
new file mode 100644
index 000000000..1abe248d6
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202406170103.sql
@@ -0,0 +1,13 @@
+CREATE TABLE hrsa_sob_tax_rule (
+id NUMBER(38,0) primary key NOT NULL,
+salary_sob_id NUMBER(38,0) NULL ,
+income_category varchar2(100) ,
+tax_index varchar2(100) ,
+salary_item_id NUMBER(38,0) NULL ,
+creator NUMBER(38,0) DEFAULT 0,
+create_time DATE DEFAULT sysdate,
+update_time DATE DEFAULT sysdate,
+delete_type number DEFAULT 0,
+tenant_key varchar2(10) DEFAULT ''
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202406260403.sql b/resource/sqlupgrade/Oracle/sql202406260403.sql
new file mode 100644
index 000000000..610ce393c
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202406260403.sql
@@ -0,0 +1,13 @@
+create table hrsa_api_task_record
+(
+ id number primary key ,
+ source varchar2(500) ,
+ api varchar2(500),
+ param clob ,
+ response clob,
+ create_time date,
+ update_time date,
+ delete_type int default 0,
+ tenant_key varchar2(10)
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202407170103.sql b/resource/sqlupgrade/Oracle/sql202407170103.sql
new file mode 100644
index 000000000..906e14906
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202407170103.sql
@@ -0,0 +1,13 @@
+create table hrsa_acct_calc_tax_req
+(
+ id number primary key ,
+ create_time date default sysdate,
+ update_time date default sysdate,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_acct_record_id number,
+ tax_agent_id number,
+ request_id varchar2(100)
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202412160303.sql b/resource/sqlupgrade/Oracle/sql202412160303.sql
new file mode 100644
index 000000000..e5f509f83
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202412160303.sql
@@ -0,0 +1,127 @@
+create table hrsa_other_derate_deduction
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ other_deduction varchar2(50),
+ remark varchar2(255)
+)
+/
+
+
+create table hrsa_health_insurance
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ identification_number varchar2(255),
+ effective_date date,
+ year_premium varchar2(50),
+ month_premium varchar2(50),
+ current_deduction varchar2(50)
+)
+/
+
+
+
+create table hrsa_grant_donation
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ recipient_name varchar2(255),
+ tax_code varchar2(255),
+ donation_number varchar2(255),
+ donate_date date,
+ donate_amount varchar2(50),
+ deduction_proportion varchar2(10),
+ actual_deduction varchar2(50)
+)
+/
+
+
+create table hrsa_endowment_insurance
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ account_number varchar2(255),
+ check_code varchar2(255),
+ year_premium varchar2(50),
+ month_premium varchar2(50),
+ current_deduction varchar2(50),
+ deduction_month date
+)
+/
+
+
+create table hrsa_derate_deduction
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ derate_item varchar2(255),
+ derate_property varchar2(255),
+ derate_amount varchar2(255)
+)
+/
+
+
+create table hrsa_free_income
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ free_item varchar2(255),
+ free_property varchar2(255),
+ free_amount varchar2(255)
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202412160403.sql b/resource/sqlupgrade/Oracle/sql202412160403.sql
new file mode 100644
index 000000000..b17420382
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202412160403.sql
@@ -0,0 +1,12 @@
+alter table hrsa_derate_deduction add employee_type int
+/
+alter table hrsa_endowment_insurance add employee_type int
+/
+alter table hrsa_free_income add employee_type int
+/
+alter table hrsa_grant_donation add employee_type int
+/
+alter table hrsa_health_insurance add employee_type int
+/
+alter table hrsa_other_derate_deduction add employee_type int
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202412230103.sql b/resource/sqlupgrade/Oracle/sql202412230103.sql
new file mode 100644
index 000000000..e84bbd88e
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202412230103.sql
@@ -0,0 +1,24 @@
+create table hrsa_personal_pension
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ voucher_type varchar2(255),
+ voucher_no varchar2(255),
+ pay_amount varchar2(255),
+ data_source int,
+ collect_source varchar2(50),
+ pay_month date,
+ eb_data_id number,
+ voucher_type_name varchar2(50),
+ employee_type int
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202412240103.sql b/resource/sqlupgrade/Oracle/sql202412240103.sql
new file mode 100644
index 000000000..ca85eff16
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202412240103.sql
@@ -0,0 +1,9 @@
+ALTER TABLE hrsa_other_deduction ADD (
+ free_income varchar2(255) NULL
+)
+/
+
+ALTER TABLE hrsa_other_deduction ADD (
+ derate_deduction varchar2(255) NULL
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202503190103.sql b/resource/sqlupgrade/Oracle/sql202503190103.sql
new file mode 100644
index 000000000..172207806
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202503190103.sql
@@ -0,0 +1,37 @@
+create table hrsa_deduction_amount
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ year varchar2(100),
+ employee_id number,
+ employee_type number,
+ employee_name varchar2(100),
+ job_num varchar2(100),
+ card_type number,
+ card_num varchar2(100),
+ nationality varchar2(200),
+ deduct_flag number,
+ successfully_declared number,
+ declare_status number,
+ declare_error_msg varchar2(1000)
+)
+/
+
+create table hrsa_deduction_amount_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ year varchar2(100),
+ request_id varchar2(100)
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202506190103.sql b/resource/sqlupgrade/Oracle/sql202506190103.sql
new file mode 100644
index 000000000..4196b1982
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202506190103.sql
@@ -0,0 +1,18 @@
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158200, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '当期收入额', 'dividendsIncome', 'number', 'sre', NULL, 0)
+/
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158201, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '免税收入', 'dividendsFreeIncome', 'number', 'mssd', NULL, 0)
+/
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158202, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '准予扣除的捐赠额', 'dividendsAllowedDonation', 'number', 'zykcjze', NULL, 0)
+/
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158203, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '减免税额', 'dividendsTaxDeduction', 'string', 'jmse', NULL, 0)
+/
+
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158204, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '本期收入', 'listedCompanyIncome', 'number', 'sre', NULL, 0)
+/
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158206, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '免税收入', 'listedCompanyFreeIncome', 'number', 'mssd', NULL, 0)
+/
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158207, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '准予扣除的捐赠额', 'listedCompanyAllowedDonation', 'number', 'zykcjze', NULL, 0)
+/
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158208, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '减免税额', 'listedCompanyTaxDeduction', 'string', 'jmse', NULL, 0)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202507010303.sql b/resource/sqlupgrade/Oracle/sql202507010303.sql
new file mode 100644
index 000000000..7cfc02c85
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202507010303.sql
@@ -0,0 +1,20 @@
+ALTER TABLE hrsa_free_income ADD income_category int
+/
+
+ALTER TABLE hrsa_derate_deduction ADD income_category int
+/
+
+ALTER TABLE hrsa_endowment_insurance ADD income_category int
+/
+
+ALTER TABLE hrsa_grant_donation ADD income_category int
+/
+
+ALTER TABLE hrsa_health_insurance ADD income_category int
+/
+
+ALTER TABLE hrsa_other_derate_deduction ADD income_category int
+/
+
+ALTER TABLE hrsa_personal_pension ADD income_category int
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202507010403.sql b/resource/sqlupgrade/Oracle/sql202507010403.sql
new file mode 100644
index 000000000..4eff5bab6
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202507010403.sql
@@ -0,0 +1,14 @@
+update hrsa_free_income set income_category = 1
+/
+update hrsa_derate_deduction set income_category = 1
+/
+update hrsa_endowment_insurance set income_category = 1
+/
+update hrsa_grant_donation set income_category = 1
+/
+update hrsa_health_insurance set income_category = 1
+/
+update hrsa_other_derate_deduction set income_category = 1
+/
+update hrsa_personal_pension set income_category = 1
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202507110103.sql b/resource/sqlupgrade/Oracle/sql202507110103.sql
new file mode 100644
index 000000000..40452d2a6
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202507110103.sql
@@ -0,0 +1,2 @@
+alter table hrsa_tax_payment_request add report_type number(11) null
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202307180103.sql b/resource/sqlupgrade/PG/sql202307180103.sql
new file mode 100644
index 000000000..bae5ae375
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202307180103.sql
@@ -0,0 +1,33 @@
+create table hrsa_tax_declare_api_profile
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ api_profile int
+);
+/
+
+create index id_tenant_key_22b215db on hrsa_tax_declare_api_profile(tenant_key);
+/
+
+create table hrsa_tax_payment_request
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ tax_agent_id bigint not null,
+ tax_declare_record_id bigint,
+ tax_year_month date not null,
+ request_id varchar(50) not null,
+ request_type int not null
+);
+/
+
+create index id_tenant_key_bcb610c7 on hrsa_tax_payment_request(tenant_key);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202307180203.sql b/resource/sqlupgrade/PG/sql202307180203.sql
new file mode 100644
index 000000000..367cd19a4
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202307180203.sql
@@ -0,0 +1,37 @@
+create table hrsa_tax_declare_api_config
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ host varchar(255),
+ app_key varchar(255),
+ app_secret varchar(255)
+);
+/
+
+create unique index idx_tenant_key_api_a6f21b46 on hrsa_tax_declare_api_config(tenant_key);
+/
+
+alter table hrsa_tax_declare_api_config alter column host set not null ;
+/
+
+alter table hrsa_tax_declare_api_config alter column app_key set not null ;
+/
+
+alter table hrsa_tax_declare_api_config alter column app_secret set not null ;
+/
+
+alter table hrsa_tax_declare_api_config add enable_use int;
+/
+
+alter table hrsa_tax_declare_api_config add totality bigint;
+/
+
+alter table hrsa_tax_declare_api_config add remain bigint;
+/
+
+alter table hrsa_tax_declare_api_config add last_update_time timestamp;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202307180403.sql b/resource/sqlupgrade/PG/sql202307180403.sql
new file mode 100644
index 000000000..d224c62a8
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202307180403.sql
@@ -0,0 +1,30 @@
+create table hrsa_tax_agent_tax_return
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ tax_agent_id bigint not null,
+ tax_code varchar(50) not null,
+ tax_registration_number varchar(50) ,
+ department_code varchar(50),
+ department_name varchar(50),
+ nation varchar(50),
+ province varchar(50),
+ city varchar(50),
+ area_code varchar(50) not null,
+ password_type int not null,
+ real_account varchar(50),
+ pwd varchar(50) not null,
+ check_status int not null,
+ fail_reason varchar(255)
+);
+/
+
+create index id_tenant_key_tax_return on hrsa_tax_agent_tax_return(tenant_key);
+/
+
+create unique index id_tax_agent_id_tax_return on hrsa_tax_agent_tax_return(tax_agent_id);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308080603.sql b/resource/sqlupgrade/PG/sql202308080603.sql
new file mode 100644
index 000000000..e1bd1f70a
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308080603.sql
@@ -0,0 +1,50 @@
+create table hrsa_employee_declare_record
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ tax_agent_id bigint,
+ tax_cycle timestamp,
+ request_id varchar(100)
+);
+/
+
+create table hrsa_employee_declare
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ tax_agent_id bigint,
+ tax_cycle timestamp,
+ employee_id bigint,
+ employee_type smallint,
+ employee_name varchar(100),
+ job_num varchar(100),
+ card_type smallint,
+ card_num varchar(100),
+ gender varchar(100),
+ birthday date,
+ employment_status smallint,
+ mobile varchar(100),
+ employment_type smallint,
+ employment_first_year varchar(100),
+ employment_date date,
+ dismiss_date date,
+ disability smallint,
+ disability_card_no varchar(100),
+ lonely_old smallint,
+ martyr_dependents smallint,
+ martyr_dependents_card_no varchar(100),
+ deduct_expenses smallint,
+ successfully_declared smallint,
+ new_employee_info smallint,
+ declare_status smallint,
+ declare_error_msg varchar(1000)
+);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308090303.sql b/resource/sqlupgrade/PG/sql202308090303.sql
new file mode 100644
index 000000000..511123b31
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308090303.sql
@@ -0,0 +1,31 @@
+create table hrsa_tax_declare_record
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ tax_agent_id bigint,
+ salary_month timestamp,
+ tax_cycle timestamp,
+ remark varchar(1000),
+ request_id varchar(100),
+ tax_declare_type smallint,
+ tax_declare_status smallint
+);
+/
+
+alter table hrsa_tax_declare_record add display_update_icon smallint;
+/
+alter table hrsa_tax_declare_record add tax_pay_amount varchar(255);
+/
+
+alter table hrsa_tax_declare_record add person_num int;
+/
+alter table hrsa_tax_declare_record add tax_declare_error_msg varchar(1000);
+/
+alter table hrsa_tax_declare_record add tax_paid_amount varchar(255);
+/
+alter table hrsa_tax_declare_record add tax_pure_paid_amount varchar(255);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308100803.sql b/resource/sqlupgrade/PG/sql202308100803.sql
new file mode 100644
index 000000000..b8e97e081
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308100803.sql
@@ -0,0 +1,14 @@
+create table hrsa_tax_declare_fail
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ tax_declare_record_id bigint,
+ employee_name varchar(100),
+ card_num varchar(100),
+ error_msg varchar(1000)
+);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308110103.sql b/resource/sqlupgrade/PG/sql202308110103.sql
new file mode 100644
index 000000000..fda879e38
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308110103.sql
@@ -0,0 +1,38 @@
+create table hrsa_tax_report_column
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ tax_report_type varchar(100),
+ income_category varchar(100),
+ report_column_name varchar(100),
+ report_column_data_index varchar(100)
+);
+/
+
+create table hrsa_sob_tax_report_rule
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ salary_sob_id bigint,
+ income_category varchar(100),
+ report_column_data_index varchar(100),
+ salary_item_id bigint
+);
+/
+
+alter table hrsa_tax_report_column add data_type varchar(100);
+/
+
+alter table hrsa_tax_report_column add request_param_key varchar(100);
+/
+
+alter table hrsa_tax_report_column add report_column_label varchar(100);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308110203.sql b/resource/sqlupgrade/PG/sql202308110203.sql
new file mode 100644
index 000000000..c7335d809
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308110203.sql
@@ -0,0 +1,17 @@
+create table hrsa_tax_declare_fail
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ tax_declare_record_id bigint,
+ employee_name varchar(100),
+ card_num varchar(100),
+ error_msg varchar(1000)
+);
+/
+
+alter table hrsa_tax_declare_fail add income_category varchar(100);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308110303.sql b/resource/sqlupgrade/PG/sql202308110303.sql
new file mode 100644
index 000000000..e1bc1a983
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308110303.sql
@@ -0,0 +1,15 @@
+alter table hrsa_tax_declaration add control_view int;
+/
+alter table hrsa_tax_declaration add tax_declare_record_id bigint;
+/
+alter table hrsa_salary_acct_emp add income_category varchar(100);
+/
+alter table hrsa_salary_acct_record add control_view int;
+/
+
+
+update hrsa_salary_acct_record set control_view = 0 where control_view is null;
+/
+
+update hrsa_tax_declaration set control_view = 0 where control_view is null;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308140203.sql b/resource/sqlupgrade/PG/sql202308140203.sql
new file mode 100644
index 000000000..54373d885
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308140203.sql
@@ -0,0 +1,15 @@
+create table hrsa_tax_declaration_value
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ tax_declare_record_id bigint,
+ tax_declaration_id bigint,
+ employee_type smallint,
+ employee_id bigint,
+ result_value_json text
+);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308150303.sql b/resource/sqlupgrade/PG/sql202308150303.sql
new file mode 100644
index 000000000..84a6d6a8c
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308150303.sql
@@ -0,0 +1,22 @@
+alter table hrsa_salary_sob_item add income_category varchar(100);
+/
+
+alter table hrsa_salary_sob_item alter column income_category set default '1';
+/
+
+update hrsa_salary_sob_item set income_category = '1' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '1');
+/
+
+update hrsa_salary_sob_item set income_category = '2' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '2');
+/
+update hrsa_salary_sob_item set income_category = '4' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '4');
+/
+
+alter table hrsa_salary_sob_item add salary_item_code varchar(100);
+/
+
+update hrsa_salary_sob_item a set salary_item_code = b.code from hrsa_salary_item b where a.salary_item_id = b.id and a.delete_type = 0;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308150503.sql b/resource/sqlupgrade/PG/sql202308150503.sql
new file mode 100644
index 000000000..60602a663
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308150503.sql
@@ -0,0 +1,728 @@
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157061, null, null, null, 0, 'all_teams', '1', '2', '当期收入额', 'annualIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157062, null, null, null, 0, 'all_teams', '1', '2', '免税收入', 'annualTaxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157063, null, null, null, 0, 'all_teams', '1', '2', '其他', 'annualOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157064, null, null, null, 0, 'all_teams', '1', '2', '准予扣除的捐赠额', 'annualDonateTax', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157065, null, null, null, 0, 'all_teams', '1', '2', '减免税额', 'annualTaxSavings', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157066, null, null, null, 0, 'all_teams', '1', '2', '备注', 'annualRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157068, null, null, null, 0, 'all_teams', '1', '4', '当期收入额', 'laborIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157069, null, null, null, 0, 'all_teams', '1', '4', '免税收入', 'laborTaxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157070, null, null, null, 0, 'all_teams', '1', '4', '商业健康保险', 'commercialHealthInsurance4',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157071, null, null, null, 0, 'all_teams', '1', '4', '税延养老保险', 'taxDeferredEndowmentInsurance4',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157072, null, null, null, 0, 'all_teams', '1', '4', '允许扣除税费', 'allowedDeductTax4', 'number',
+ 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157073, null, null, null, 0, 'all_teams', '1', '4', '其他', 'other4', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157074, null, null, null, 0, 'all_teams', '1', '4', '减免税额', 'labor_tax_saving', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157075, null, null, null, 0, 'all_teams', '1', '4', '备注', 'description4', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157077, null, null, null, 0, 'all_teams', '1', '1', '本期收入', 'income', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157078, null, null, null, 0, 'all_teams', '1', '1', '本期免税收入', 'taxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157079, null, null, null, 0, 'all_teams', '1', '1', '基本养老保险费', 'endowmentInsurance', 'number',
+ 'jbylaobxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157080, null, null, null, 0, 'all_teams', '1', '1', '基本医疗保险费', 'medicalInsurance', 'number',
+ 'jbylbxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157081, null, null, null, 0, 'all_teams', '1', '1', '失业保险费', 'unemploymentInsurance', 'number',
+ 'sybxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157082, null, null, null, 0, 'all_teams', '1', '1', '住房公积金', 'housingProvidentFund', 'number',
+ 'zfgjj');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157083, null, null, null, 0, 'all_teams', '1', '1', '累计子女教育', 'addUpChildEducation', 'number',
+ 'ljznjyzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157084, null, null, null, 0, 'all_teams', '1', '1', '累计住房贷款利息', 'addUpHousingLoanInterest',
+ 'number', 'ljzfdklxzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157085, null, null, null, 0, 'all_teams', '1', '1', '累计住房租金', 'addUpHousingRent', 'number',
+ 'ljzfzjzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157086, null, null, null, 0, 'all_teams', '1', '1', '累计赡养老人', 'addUpSupportElderly', 'number',
+ 'ljsylrzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157087, null, null, null, 0, 'all_teams', '1', '1', '累计继续教育', 'addUpContinuingEducation', 'number',
+ 'ljjxjyzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157088, null, null, null, 0, 'all_teams', '1', '1', '累计3岁以下婴幼儿照护支出', 'addUpInfantCare', 'number',
+ 'ljyyezhzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157089, null, null, null, 0, 'all_teams', '1', '1', '企业(职业)年金', 'annuity', 'number', 'nj');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157090, null, null, null, 0, 'all_teams', '1', '1', '商业健康保险', 'commercialHealthInsurance', 'number',
+ 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157091, null, null, null, 0, 'all_teams', '1', '1', '税延养老保险', 'taxDeferredEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157092, null, null, null, 0, 'all_teams', '1', '1', '其他', 'other', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157093, null, null, null, 0, 'all_teams', '1', '1', '准予扣除的捐赠额', 'allowedDonation', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157094, null, null, null, 0, 'all_teams', '1', '1', '减免税额', 'taxDeduction', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157095, null, null, null, 0, 'all_teams', '1', '1', '备注', 'description', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157096, null, null, null, 0, 'all_teams', '1', '107', '一次性补偿收入', 'retireCompensationIncome',
+ 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157097, null, null, null, 0, 'all_teams', '1', '107', '本期工资收入', 'retireWageIncome', 'number',
+ 'bqgzs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157098, null, null, null, 0, 'all_teams', '1', '107', '免税收入', 'retireTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157099, null, null, null, 0, 'all_teams', '1', '107', '其他', 'retireOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157100, null, null, null, 0, 'all_teams', '1', '107', '准予扣除的捐赠额', 'retireAllowedDonation', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157101, null, null, null, 0, 'all_teams', '1', '107', '减免税额', 'retireTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157102, null, null, null, 0, 'all_teams', '1', '107', '备注', 'retireRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157103, null, null, null, 0, 'all_teams', '1', '107', '分摊月份数', 'retireSplitMonth', 'number',
+ 'ftyfs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157104, null, null, null, 0, 'all_teams', '1', '108', '当期收入额', 'dismissIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157105, null, null, null, 0, 'all_teams', '1', '108', '免税收入', 'dismissTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157106, null, null, null, 0, 'all_teams', '1', '108', '其他', 'dismissOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157107, null, null, null, 0, 'all_teams', '1', '108', '备注', 'dismissRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157108, null, null, null, 0, 'all_teams', '1', '108', '准予扣除的捐赠额', 'dismissAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157109, null, null, null, 0, 'all_teams', '1', '108', '减免税额', 'dismissTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157110, null, null, null, 0, 'all_teams', '1', '110', '当期收入额', 'annuityIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157111, null, null, null, 0, 'all_teams', '1', '110', '已完税缴费额', 'annuityTaxPaidAmount', 'number',
+ 'ywsjfe');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157112, null, null, null, 0, 'all_teams', '1', '110', '全部缴费额', 'annuityTotalPayment', 'number',
+ 'qbjfe');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157113, null, null, null, 0, 'all_teams', '1', '110', '是否一次性领取', 'annuityOneTimeReceive', 'string',
+ 'sfycxlq');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157114, null, null, null, 0, 'all_teams', '1', '110', '年金领取方式', 'annuityReceiveMethod', 'string',
+ 'njlqfs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157115, null, null, null, 0, 'all_teams', '1', '110', '年金领取原因', 'annuityReceiveReason', 'string',
+ 'njlqyy');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157116, null, null, null, 0, 'all_teams', '1', '110', '免税收入', 'annuityTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157117, null, null, null, 0, 'all_teams', '1', '110', '减免税额', 'annuityTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157118, null, null, null, 0, 'all_teams', '1', '110', '商业健康保险', 'annuityHealthInsurance', 'number',
+ 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157119, null, null, null, 0, 'all_teams', '1', '110', '税延养老保险', 'annuityEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157120, null, null, null, 0, 'all_teams', '1', '110', '其他', 'annuityOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157121, null, null, null, 0, 'all_teams', '1', '110', '准予扣除的捐赠额', 'annuityAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157122, null, null, null, 0, 'all_teams', '1', '110', '备注', 'annuityRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157123, null, null, null, 0, 'all_teams', '1', '402', '当期收入额', 'insuranceIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157124, null, null, null, 0, 'all_teams', '1', '402', '免税收入', 'insuranceTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157125, null, null, null, 0, 'all_teams', '1', '402', '商业健康保险', 'insuranceHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157126, null, null, null, 0, 'all_teams', '1', '402', '税延养老保险', 'insuranceEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157127, null, null, null, 0, 'all_teams', '1', '402', '其他', 'insuranceOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157128, null, null, null, 0, 'all_teams', '1', '402', '备注', 'insuranceRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157129, null, null, null, 0, 'all_teams', '1', '402', '减免税额', 'insuranceTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157130, null, null, null, 0, 'all_teams', '1', '402', '允许扣除税费', 'insuranceAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157131, null, null, null, 0, 'all_teams', '1', '403', '当期收入额', 'securitiesIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157132, null, null, null, 0, 'all_teams', '1', '403', '免税收入', 'securitiesTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157133, null, null, null, 0, 'all_teams', '1', '403', '商业健康保险', 'securitiesHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157134, null, null, null, 0, 'all_teams', '1', '403', '税延养老保险', 'securitiesEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157135, null, null, null, 0, 'all_teams', '1', '403', '其他', 'securitiesOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157136, null, null, null, 0, 'all_teams', '1', '403', '备注', 'securitiesRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157137, null, null, null, 0, 'all_teams', '1', '403', '减免税额', 'securitiesTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157138, null, null, null, 0, 'all_teams', '1', '403', '允许扣除税费', 'securitiesAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157139, null, null, null, 0, 'all_teams', '1', '489', '当期收入额', 'otherContinuousLaborIncome',
+ 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157140, null, null, null, 0, 'all_teams', '1', '489', '免税收入', 'otherContinuousLaborTaxFreeIncome',
+ 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157141, null, null, null, 0, 'all_teams', '1', '489', '商业健康保险',
+ 'otherContinuousLaborHealthInsurance', 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157142, null, null, null, 0, 'all_teams', '1', '489', '税延养老保险',
+ 'otherContinuousLaborEndowmentInsurance', 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157143, null, null, null, 0, 'all_teams', '1', '489', '其他', 'otherContinuousLaborOther', 'number',
+ 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157144, null, null, null, 0, 'all_teams', '1', '489', '备注', 'otherContinuousLaborRemark', 'string',
+ 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157145, null, null, null, 0, 'all_teams', '1', '489', '减免税额', 'otherContinuousLaborTaxDeduction',
+ 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157146, null, null, null, 0, 'all_teams', '1', '489', '允许扣除税费',
+ 'otherContinuousLaborAllowedDeductTax', 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157147, null, null, null, 0, 'all_teams', '1', '499', '当期收入额', 'otherLaborIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157149, null, null, null, 0, 'all_teams', '1', '499', '免税收入', 'otherLaborTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157150, null, null, null, 0, 'all_teams', '1', '499', '商业健康保险', 'otherLaborHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157151, null, null, null, 0, 'all_teams', '1', '499', '税延养老保险', 'otherLaborEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157152, null, null, null, 0, 'all_teams', '1', '499', '允许扣除税费', 'otherLaborAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157153, null, null, null, 0, 'all_teams', '1', '499', '其他', 'otherLaborOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157154, null, null, null, 0, 'all_teams', '1', '499', '备注', 'otherLaborRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157155, null, null, null, 0, 'all_teams', '1', '499', '减免税额', 'otherLaborTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157156, null, null, null, 0, 'all_teams', '1', '500', '当期收入额', 'authorIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157157, null, null, null, 0, 'all_teams', '1', '500', '免税收入', 'authorTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157158, null, null, null, 0, 'all_teams', '1', '500', '其他', 'authorOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157159, null, null, null, 0, 'all_teams', '1', '500', '减免税额', 'authorTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157160, null, null, null, 0, 'all_teams', '1', '500', '备注', 'authorRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157161, null, null, null, 0, 'all_teams', '1', '600', '当期收入额', 'royaltiesIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157162, null, null, null, 0, 'all_teams', '1', '600', '免税收入', 'royaltiesTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157163, null, null, null, 0, 'all_teams', '1', '600', '其他', 'royaltiesOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157164, null, null, null, 0, 'all_teams', '1', '600', '备注', 'royaltiesRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157165, null, null, null, 0, 'all_teams', '1', '600', '减免税额', 'royaltiesTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157166, null, null, null, 0, 'all_teams', '1', '109', '本月股权激励收入', 'stockRightIncome', 'number',
+ 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157167, null, null, null, 0, 'all_teams', '1', '109', '本年累计股权激励收入(不含本月)', 'stockRightAddUpIncome',
+ 'number', 'ljsre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157168, null, null, null, 0, 'all_teams', '1', '109', '本年累计其他', 'stockRightOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157169, null, null, null, 0, 'all_teams', '1', '109', '本年累计准予扣除的捐赠额', 'stockRightAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157170, null, null, null, 0, 'all_teams', '1', '109', '本年累计减免税额', 'stockRightTaxDeduction',
+ 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157171, null, null, null, 0, 'all_teams', '1', '109', '本年累计已扣缴税额', 'stockRightAddUpAdvanceTax',
+ 'number', 'ykjse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157172, null, null, null, 0, 'all_teams', '1', '109', '本年累计免税收入', 'stockRightTaxFreeIncome',
+ 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157173, null, null, null, 0, 'all_teams', '1', '109', '备注', 'stockRightRemark', 'string', 'bz');
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308150603.sql b/resource/sqlupgrade/PG/sql202308150603.sql
new file mode 100644
index 000000000..357a806d0
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308150603.sql
@@ -0,0 +1,61 @@
+create table hrsa_sob_add_up_rule
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ salary_sob_id bigint,
+ income_category varchar(100),
+ salary_item_id bigint,
+ add_up_column_data_index varchar(100)
+);
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpIncome', 'addUpSubtraction', 'addUpSocialSecurityTotal', 'addUpAccumulationFundTotal',
+ 'addUpEnterpriseAndOther', 'addUpOtherDeduction', 'addUpTaxExemptIncome',
+ 'addUpAllowedDonation', 'addUpTaxSavings');
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpTaxPayable' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpAdvanceTax';
+/
+
+delete from hrsa_sob_add_up_rule
+where income_category = 1
+ and add_up_column_data_index in ('addUpTaxPayable', 'addUpAdvanceTax');
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpAdvanceTax' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpTaxPayable';
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpTaxableIncome','addUpTaxFreeIncome','addUpTaxDeduction');
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308170103.sql b/resource/sqlupgrade/PG/sql202308170103.sql
new file mode 100644
index 000000000..d313f1fb1
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308170103.sql
@@ -0,0 +1,2 @@
+alter table hrsa_tax_payment_request add feedback int;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308230303.sql b/resource/sqlupgrade/PG/sql202308230303.sql
new file mode 100644
index 000000000..9cd12b134
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308230303.sql
@@ -0,0 +1,5 @@
+alter table hrsa_tax_agent_tax_return add city_name varchar(400);
+/
+
+update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308240201.sql b/resource/sqlupgrade/PG/sql202308240201.sql
new file mode 100644
index 000000000..ed35e8a71
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308240201.sql
@@ -0,0 +1,34 @@
+delete from HtmlLabelIndex where id = 544827 and ( indexdesc is null or indexdesc = '' ) ;
+/
+insert into HtmlLabelIndex(id,indexdesc) select 544827,'智能算薪' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544827 and ( indexdesc is not null and indexdesc <> '' )) limit 1 ;
+/
+delete from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( labelname is null or labelname = '' ) ;
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( labelname is not null and labelname <> '' )) limit 1 ;
+/
+delete from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=octet_length(labelname) ) ;
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'Intelligent salary calculation' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( labelname is not null and labelname <> '' and length(labelname)=octet_length(labelname) )) limit 1 ;
+/
+delete from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( labelname is null or labelname = '' ) ;
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( labelname is not null and labelname <> '' )) limit 1 ;
+/
+
+
+delete from HtmlLabelIndex where id = 544826 and ( indexdesc is null or indexdesc = '' ) ;
+/
+insert into HtmlLabelIndex(id,indexdesc) select 544826,'人员信息报送' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544826 and ( indexdesc is not null and indexdesc <> '' )) limit 1 ;
+/
+delete from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( labelname is null or labelname = '' ) ;
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人员信息报送' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( labelname is not null and labelname <> '' )) limit 1 ;
+/
+delete from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=octet_length(labelname) ) ;
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'Personnel information submission' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( labelname is not null and labelname <> '' and length(labelname)=octet_length(labelname) )) limit 1 ;
+/
+delete from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( labelname is null or labelname = '' ) ;
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人員信息報送' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( labelname is not null and labelname <> '' )) limit 1 ;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308240302.sql b/resource/sqlupgrade/PG/sql202308240302.sql
new file mode 100644
index 000000000..ed458429b
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308240302.sql
@@ -0,0 +1,21 @@
+Delete from LeftMenuInfo where id=100191;
+/
+Delete from LeftMenuConfig where infoid=100191;
+/
+call LMConfig_U_ByInfoInsert (2,100181,1);
+/
+call LMInfo_Insert (100191,544827,'','',2,100181,1,18);
+/
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/intelligentCalculateSalarySettings' where id = 100191;
+/
+
+Delete from LeftMenuInfo where id=100192;
+/
+Delete from LeftMenuConfig where infoid=100192;
+/
+call LMConfig_U_ByInfoInsert (2,100118,7);
+/
+call LMInfo_Insert (100192,544826,'','',2,100118,7,18);
+/
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/employeedeclare' where id = 100192;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202308280203.sql b/resource/sqlupgrade/PG/sql202308280203.sql
new file mode 100644
index 000000000..0f9b2c00b
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202308280203.sql
@@ -0,0 +1,46 @@
+create table hrsa_tax_api_flow_receiver
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ warn_config_id bigint not null,
+ employee_id bigint not null,
+ email varchar(100),
+ mobile varchar(50)
+);
+/
+
+create table hrsa_tax_api_flow_record
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ tax_agent_id bigint not null,
+ tax_month timestamp not null,
+ use_time timestamp not null,
+ deduct int,
+ employee_id bigint not null,
+ business_type int not null,
+ result_status int not null
+);
+/
+
+create table hrsa_tax_api_flow_warn_config
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ enable_warn int default 0 not null,
+ threshold int default 0 not null,
+ business_id bigint default '0' not null
+);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202309040303.sql b/resource/sqlupgrade/PG/sql202309040303.sql
new file mode 100644
index 000000000..eefe81ecd
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202309040303.sql
@@ -0,0 +1,40 @@
+create table hrsa_add_up_deduction_request
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ request_id bigint not null,
+ request_status smallint default 1 not null,
+ tax_year_month timestamp not null,
+ outer_request_id varchar(50) not null,
+ tax_agent_id bigint not null
+);
+/
+
+alter table hrsa_add_up_deduction_request add lock_version int;
+/
+
+alter table hrsa_add_up_deduction_request alter column lock_version set default 0;
+/
+
+
+create table hrsa_add_up_deduction_req_fail
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ request_id bigint not null,
+ employee_id bigint not null,
+ employee_type int not null,
+ tax_agent_id bigint not null,
+ reason varchar(255) not null,
+ tax_year_month timestamp not null,
+ outer_request_id varchar(50) not null
+);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202309050203.sql b/resource/sqlupgrade/PG/sql202309050203.sql
new file mode 100644
index 000000000..50cbec61f
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202309050203.sql
@@ -0,0 +1,25 @@
+alter table hrsa_add_up_situation add add_up_taxable_income varchar(255)
+/
+alter table hrsa_add_up_situation add actual_add_up_advance_tax varchar(255)
+/
+alter table hrsa_add_up_situation add tax_adjustment varchar(255)
+/
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312885, 1, 674916065864646661, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614119, 5)
+/
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312886, 1, 674916065864646658, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614119, 6)
+/
+
+INSERT INTO hrsa_formula(id, name, description, module, use_for, reference_type, return_type, validate_type, extend_param, formula, formulaRunScript, creator, delete_type, create_time, update_time) VALUES (1693896072589, '当前累计减免税额合计', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{"isCustomFunction":"0","sqlReturnKey":"","openDecrypt":"0","datasource":{"datasourceId":""}}', '{薪资项目.本月(次)减免税额}+{往期累计情况.累计减免税额}', 'salaryItem_taxDeduction+addUpSituation_addUpTaxSavings', 27, 0, '2023-09-05 14:41:12', '2023-09-05 14:41:12')
+/
+
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072606, '本月(次)减免税额', 1693896072589, 'salaryItem_taxDeduction', '{薪资项目.本月(次)减免税额}', 'number', 'salaryItem', 0, 27, 0, '2023-09-05 14:41:12', '2023-09-05 14:41:12')
+/
+
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072611, '累计减免税额', 1693896072589, 'addUpSituation_addUpTaxSavings', '{往期累计情况.累计减免税额}', 'number', 'addUpSituation', 1, 27, 0, '2023-09-05 14:41:12', '2023-09-05 14:41:12')
+/
+
+update hrsa_sys_salary_item set value_type = 2 ,formula_id =1693896072589 where id = 674916065864646658
+/
+
+update hrsa_salary_item set value_type =2 ,formula_id =1693896072589 where sys_salary_item_id = 674916065864646658
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202312190103.sql b/resource/sqlupgrade/PG/sql202312190103.sql
new file mode 100644
index 000000000..9f472713c
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202312190103.sql
@@ -0,0 +1,46 @@
+ALTER TABLE hrsa_tax_report_column ADD COLUMN contrast_type int NULL;
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158174, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计收入额', 'addUpIncome', 'number', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158175, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计免税收入', 'addUpTaxFreeIncome', 'number', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158176, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减除费用', 'addUpSubtraction', 'number', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158177, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计专项扣除', 'addUpSpecialDeduction', 'number', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158184, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计其他扣除', 'addUpOtherDeduction', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158185, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计准予扣除的捐赠', 'addUpAllowedDonation', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158186, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税所得额', 'addUpTaxableIncome', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158187, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '税率', 'taxRate', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158188, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '速算扣除数', 'quickDeductionFactor', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158189, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税额', 'addUpTaxPayable', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158190, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减免税额', 'addUpTaxDeduction', '', NULL, NULL,1);
+
+
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158192, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计已缴税额', 'addUpAdvanceTax', '', NULL, NULL,1);
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158193, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '应补(退)税额', 'refundedOrSupplementedTax', '', NULL, NULL,1);
+
+update hrsa_tax_report_column set report_column_name = '累计3岁以下婴幼儿照护' where report_column_name = '累计3岁以下婴幼儿照护支出';
+
+update hrsa_tax_report_column set contrast_type = 0;
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202312270603.sql b/resource/sqlupgrade/PG/sql202312270603.sql
new file mode 100644
index 000000000..79861df5e
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202312270603.sql
@@ -0,0 +1,3 @@
+ALTER TABLE hrsa_tax_declaration_value ADD COLUMN source int NULL ;
+
+ALTER TABLE hrsa_tax_declare_record ADD COLUMN declare_request_id varchar(200) NULL;
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202312270703.sql b/resource/sqlupgrade/PG/sql202312270703.sql
new file mode 100644
index 000000000..099b6ab58
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202312270703.sql
@@ -0,0 +1 @@
+update hrsa_tax_declaration_value set source = 0;
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202403193303.sql b/resource/sqlupgrade/PG/sql202403193303.sql
new file mode 100644
index 000000000..2e000d661
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202403193303.sql
@@ -0,0 +1,8 @@
+ALTER TABLE hrsa_employee_declare
+ADD COLUMN nationality varchar(255) NULL ,
+ADD COLUMN birthplace varchar(255) NULL ,
+ADD COLUMN tax_reasons varchar(255) NULL ,
+ADD COLUMN entry_date timestamp NULL DEFAULT NULL ,
+ADD COLUMN departure_date timestamp NULL DEFAULT NULL ;
+
+update hrsa_employee_declare set nationality = '中国' where nationality is null;
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202404120303.sql b/resource/sqlupgrade/PG/sql202404120303.sql
new file mode 100644
index 000000000..6bad5c7fb
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202404120303.sql
@@ -0,0 +1,17 @@
+CREATE TABLE hrsa_tax_declare_status (
+id bigserial NOT NULL ,
+tax_declare_record_id bigint NULL ,
+report_type int NULL ,
+request_id varchar(100) ,
+tax_declare_type int NULL ,
+tax_declare_status int NULL ,
+display_update_icon int NULL ,
+tax_declare_error_msg varchar(1000) ,
+person_num int NULL ,
+tax_pay_amount varchar(255) ,
+tax_paid_amount varchar(255) ,
+tax_pure_paid_amount varchar(255) ,
+declare_request_id varchar(100) ,
+delete_type int NULL,
+PRIMARY KEY (id)
+);
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202406170103.sql b/resource/sqlupgrade/PG/sql202406170103.sql
new file mode 100644
index 000000000..848173fc6
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202406170103.sql
@@ -0,0 +1,13 @@
+CREATE TABLE hrsa_sob_tax_rule (
+ id bigserial NOT NULL,
+ salary_sob_id bigint ,
+ income_category varchar(100) ,
+ tax_index varchar(100) ,
+ salary_item_id bigint ,
+ 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 DEFAULT '' ,
+ PRIMARY KEY (id)
+);
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202406260403.sql b/resource/sqlupgrade/PG/sql202406260403.sql
new file mode 100644
index 000000000..45102625b
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202406260403.sql
@@ -0,0 +1,13 @@
+create table hrsa_api_task_record
+(
+ id bigint primary key ,
+ source varchar(500) ,
+ api varchar(500),
+ param text ,
+ response text,
+ create_time timestamp,
+ update_time timestamp,
+ delete_type int default 0,
+ tenant_key varchar(10)
+);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202407170103.sql b/resource/sqlupgrade/PG/sql202407170103.sql
new file mode 100644
index 000000000..47f27e07f
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202407170103.sql
@@ -0,0 +1,13 @@
+create table hrsa_acct_calc_tax_req
+(
+ id bigint primary key ,
+ create_time timestamp default now(),
+ update_time timestamp default now(),
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ salary_acct_record_id bigint,
+ tax_agent_id bigint,
+ request_id varchar(100)
+);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202412160303.sql b/resource/sqlupgrade/PG/sql202412160303.sql
new file mode 100644
index 000000000..214e842a1
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202412160303.sql
@@ -0,0 +1,125 @@
+create table hrsa_other_derate_deduction
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ main_id bigint,
+ tax_year_month date,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ other_deduction varchar(50),
+ remark varchar(255)
+);
+/
+
+create table hrsa_health_insurance
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ main_id bigint,
+ tax_year_month date,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ identification_number varchar(255),
+ effective_date date,
+ year_premium varchar(50),
+ month_premium varchar(50),
+ current_deduction varchar(50)
+);
+/
+
+
+create table hrsa_grant_donation
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ main_id bigint,
+ tax_year_month date,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ recipient_name varchar(255),
+ tax_code varchar(255),
+ donation_number varchar(255),
+ donate_date date,
+ donate_amount varchar(50),
+ deduction_proportion varchar(10),
+ actual_deduction varchar(50)
+);
+/
+
+
+create table hrsa_endowment_insurance
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ main_id bigint,
+ tax_year_month date,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ account_number varchar(255),
+ check_code varchar(255),
+ year_premium varchar(50),
+ month_premium varchar(50),
+ current_deduction varchar(50),
+ deduction_month date
+);
+/
+
+
+create table hrsa_derate_deduction
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ main_id bigint,
+ tax_year_month date,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ derate_item varchar(255),
+ derate_property varchar(255),
+ derate_amount varchar(255)
+);
+/
+
+
+create table hrsa_free_income
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ main_id bigint,
+ tax_year_month date,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ free_item varchar(255),
+ free_property varchar(255),
+ free_amount varchar(255)
+);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202412160403.sql b/resource/sqlupgrade/PG/sql202412160403.sql
new file mode 100644
index 000000000..89d123c70
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202412160403.sql
@@ -0,0 +1,12 @@
+alter table hrsa_derate_deduction add employee_type int;
+/
+alter table hrsa_endowment_insurance add employee_type int;
+/
+alter table hrsa_free_income add employee_type int;
+/
+alter table hrsa_grant_donation add employee_type int;
+/
+alter table hrsa_health_insurance add employee_type int;
+/
+alter table hrsa_other_derate_deduction add employee_type int;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202412230103.sql b/resource/sqlupgrade/PG/sql202412230103.sql
new file mode 100644
index 000000000..9e48e428d
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202412230103.sql
@@ -0,0 +1,24 @@
+create table hrsa_personal_pension
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ main_id bigint,
+ tax_year_month date,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ voucher_type varchar(255),
+ voucher_no varchar(255),
+ pay_amount varchar(255),
+ data_source int,
+ collect_source varchar(50),
+ pay_month date,
+ eb_data_id bigint,
+ voucher_type_name varchar(50),
+ employee_type int
+);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202412240103.sql b/resource/sqlupgrade/PG/sql202412240103.sql
new file mode 100644
index 000000000..4820d7cee
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202412240103.sql
@@ -0,0 +1,3 @@
+ALTER TABLE hrsa_other_deduction ADD COLUMN free_income varchar(255) NULL;
+
+ALTER TABLE hrsa_other_deduction ADD COLUMN derate_deduction varchar(255) NULL;
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202503190103.sql b/resource/sqlupgrade/PG/sql202503190103.sql
new file mode 100644
index 000000000..7f39dcf84
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202503190103.sql
@@ -0,0 +1,37 @@
+create table hrsa_deduction_amount
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int,
+ tenant_key varchar(10),
+ tax_agent_id bigint,
+ year varchar(100),
+ employee_id bigint,
+ employee_type smallint,
+ employee_name varchar(100),
+ job_num varchar(100),
+ card_type smallint,
+ card_num varchar(100),
+ nationality varchar(200),
+ deduct_flag smallint,
+ successfully_declared smallint,
+ declare_status smallint,
+ declare_error_msg varchar(3000)
+);
+/
+
+create table hrsa_deduction_amount_record
+(
+ id bigint primary key ,
+ create_time timestamp,
+ update_time timestamp,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key varchar(10),
+ tax_agent_id bigint,
+ year varchar(100),
+ request_id varchar(100)
+);
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202506190103.sql b/resource/sqlupgrade/PG/sql202506190103.sql
new file mode 100644
index 000000000..2ee229b09
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202506190103.sql
@@ -0,0 +1,10 @@
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158200, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '当期收入额', 'dividendsIncome', 'number', 'sre', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158201, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '免税收入', 'dividendsFreeIncome', 'number', 'mssd', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158202, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '准予扣除的捐赠额', 'dividendsAllowedDonation', 'number', 'zykcjze', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158203, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '减免税额', 'dividendsTaxDeduction', 'string', 'jmse', NULL, 0);
+
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158204, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '本期收入', 'listedCompanyIncome', 'number', 'sre', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158206, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '免税收入', 'listedCompanyFreeIncome', 'number', 'mssd', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158207, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '准予扣除的捐赠额', 'listedCompanyAllowedDonation', 'number', 'zykcjze', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158208, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '减免税额', 'listedCompanyTaxDeduction', 'string', 'jmse', NULL, 0);
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202507010303.sql b/resource/sqlupgrade/PG/sql202507010303.sql
new file mode 100644
index 000000000..f54b534b9
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202507010303.sql
@@ -0,0 +1,20 @@
+ALTER TABLE hrsa_free_income ADD income_category int;
+/
+
+ALTER TABLE hrsa_derate_deduction ADD income_category int;
+/
+
+ALTER TABLE hrsa_endowment_insurance ADD income_category int;
+/
+
+ALTER TABLE hrsa_grant_donation ADD income_category int;
+/
+
+ALTER TABLE hrsa_health_insurance ADD income_category int;
+/
+
+ALTER TABLE hrsa_other_derate_deduction ADD income_category int;
+/
+
+ALTER TABLE hrsa_personal_pension ADD income_category int;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202507010403.sql b/resource/sqlupgrade/PG/sql202507010403.sql
new file mode 100644
index 000000000..f5ebbdb76
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202507010403.sql
@@ -0,0 +1,20 @@
+update hrsa_free_income set income_category = 1;
+/
+
+update hrsa_derate_deduction set income_category = 1;
+/
+
+update hrsa_endowment_insurance set income_category = 1;
+/
+
+update hrsa_grant_donation set income_category = 1;
+/
+
+update hrsa_health_insurance set income_category = 1;
+/
+
+update hrsa_other_derate_deduction set income_category = 1;
+/
+
+update hrsa_personal_pension set income_category = 1;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202507110103.sql b/resource/sqlupgrade/PG/sql202507110103.sql
new file mode 100644
index 000000000..b59e15941
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202507110103.sql
@@ -0,0 +1 @@
+ALTER TABLE hrsa_tax_payment_request ADD COLUMN report_type int ;
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202307180103.sql b/resource/sqlupgrade/SQLServer/sql202307180103.sql
new file mode 100644
index 000000000..d69852a1e
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202307180103.sql
@@ -0,0 +1,33 @@
+create table hrsa_tax_declare_api_profile
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ api_profile int
+)
+GO
+
+create index id_tenant_key_22b215db on hrsa_tax_declare_api_profile(tenant_key)
+GO
+
+create table hrsa_tax_payment_request
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ tax_agent_id bigint not null,
+ tax_declare_record_id bigint,
+ tax_year_month datetime not null,
+ request_id nvarchar(50) not null,
+ request_type int not null
+)
+GO
+
+create index id_tenant_key_bcb610c7 on hrsa_tax_payment_request(tenant_key)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202307180203.sql b/resource/sqlupgrade/SQLServer/sql202307180203.sql
new file mode 100644
index 000000000..06b82d4db
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202307180203.sql
@@ -0,0 +1,37 @@
+create table hrsa_tax_declare_api_config
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ host nvarchar(255),
+ app_key nvarchar(255),
+ app_secret nvarchar(255)
+)
+GO
+
+create unique index idx_tenant_key_api_a6f21b46 on hrsa_tax_declare_api_config(tenant_key)
+GO
+
+alter table hrsa_tax_declare_api_config alter column host nvarchar(255) not null
+GO
+
+alter table hrsa_tax_declare_api_config alter column app_key nvarchar(255) not null
+GO
+
+alter table hrsa_tax_declare_api_config alter column app_secret nvarchar(255) not null
+GO
+
+alter table hrsa_tax_declare_api_config add enable_use int
+GO
+
+alter table hrsa_tax_declare_api_config add totality bigint
+GO
+
+alter table hrsa_tax_declare_api_config add remain bigint
+GO
+
+alter table hrsa_tax_declare_api_config add last_update_time datetime
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202307180403.sql b/resource/sqlupgrade/SQLServer/sql202307180403.sql
new file mode 100644
index 000000000..5a9e63cb3
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202307180403.sql
@@ -0,0 +1,30 @@
+create table hrsa_tax_agent_tax_return
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ tax_agent_id bigint not null,
+ tax_code nvarchar(50) not null,
+ tax_registration_number nvarchar(50),
+ department_code nvarchar(50),
+ department_name nvarchar(50),
+ nation nvarchar(50),
+ province nvarchar(50),
+ city nvarchar(50),
+ area_code nvarchar(50) not null,
+ password_type int not null,
+ real_account nvarchar(50) ,
+ pwd nvarchar(50) not null,
+ check_status int not null,
+ fail_reason nvarchar(255)
+)
+GO
+
+create index id_tenant_key_tax_return on hrsa_tax_agent_tax_return(tenant_key)
+GO
+
+create unique index id_tax_agent_id_tax_return on hrsa_tax_agent_tax_return(tax_agent_id)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308080603.sql b/resource/sqlupgrade/SQLServer/sql202308080603.sql
new file mode 100644
index 000000000..2947c492a
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308080603.sql
@@ -0,0 +1,50 @@
+create table hrsa_employee_declare_record
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ tax_agent_id bigint,
+ tax_cycle datetime,
+ request_id nvarchar(100)
+)
+GO
+
+create table hrsa_employee_declare
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ tax_agent_id bigint,
+ tax_cycle datetime,
+ employee_id bigint,
+ employee_type tinyint,
+ employee_name nvarchar(100),
+ job_num nvarchar(100),
+ card_type tinyint,
+ card_num nvarchar(100),
+ gender nvarchar(100),
+ birthday datetime,
+ employment_status tinyint,
+ mobile nvarchar(100),
+ employment_type tinyint,
+ employment_first_year nvarchar(100),
+ employment_date datetime,
+ dismiss_date datetime,
+ disability tinyint,
+ disability_card_no nvarchar(100),
+ lonely_old tinyint,
+ martyr_dependents tinyint,
+ martyr_dependents_card_no nvarchar(100),
+ deduct_expenses tinyint,
+ successfully_declared tinyint,
+ new_employee_info tinyint,
+ declare_status tinyint,
+ declare_error_msg nvarchar(1000)
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308090303.sql b/resource/sqlupgrade/SQLServer/sql202308090303.sql
new file mode 100644
index 000000000..6757c6ad9
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308090303.sql
@@ -0,0 +1,32 @@
+create table hrsa_tax_declare_record
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ tax_agent_id bigint,
+ salary_month datetime,
+ tax_cycle datetime,
+ remark nvarchar(1000),
+ request_id nvarchar(100),
+ tax_declare_type tinyint,
+ tax_declare_status tinyint
+)
+GO
+
+
+alter table hrsa_tax_declare_record add display_update_icon tinyint
+GO
+alter table hrsa_tax_declare_record add tax_pay_amount nvarchar(255)
+GO
+
+alter table hrsa_tax_declare_record add person_num int
+GO
+alter table hrsa_tax_declare_record add tax_declare_error_msg nvarchar(1000)
+GO
+alter table hrsa_tax_declare_record add tax_paid_amount nvarchar(255)
+GO
+alter table hrsa_tax_declare_record add tax_pure_paid_amount nvarchar(255)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308100803.sql b/resource/sqlupgrade/SQLServer/sql202308100803.sql
new file mode 100644
index 000000000..2c58c6a3e
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308100803.sql
@@ -0,0 +1,14 @@
+create table hrsa_tax_declare_fail
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ tax_declare_record_id bigint,
+ employee_name nvarchar(100),
+ card_num nvarchar(100),
+ error_msg nvarchar(1000)
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308110103.sql b/resource/sqlupgrade/SQLServer/sql202308110103.sql
new file mode 100644
index 000000000..d9d79670c
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308110103.sql
@@ -0,0 +1,38 @@
+create table hrsa_tax_report_column
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ tax_report_type nvarchar(100),
+ income_category nvarchar(100),
+ report_column_name nvarchar(100),
+ report_column_data_index nvarchar(100)
+)
+GO
+
+create table hrsa_sob_tax_report_rule
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ salary_sob_id bigint,
+ income_category nvarchar(100),
+ report_column_data_index nvarchar(100),
+ salary_item_id bigint
+)
+GO
+
+alter table hrsa_tax_report_column add data_type nvarchar(100)
+GO
+
+alter table hrsa_tax_report_column add request_param_key nvarchar(100)
+GO
+
+alter table hrsa_tax_report_column add report_column_label nvarchar(100)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308110203.sql b/resource/sqlupgrade/SQLServer/sql202308110203.sql
new file mode 100644
index 000000000..d11b4913b
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308110203.sql
@@ -0,0 +1,17 @@
+create table hrsa_tax_declare_fail
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ tax_declare_record_id bigint,
+ employee_name nvarchar(100),
+ card_num nvarchar(100),
+ error_msg nvarchar(1000)
+)
+GO
+
+alter table hrsa_tax_declare_fail add income_category nvarchar(100)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308110303.sql b/resource/sqlupgrade/SQLServer/sql202308110303.sql
new file mode 100644
index 000000000..54a64f52e
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308110303.sql
@@ -0,0 +1,14 @@
+alter table hrsa_tax_declaration add control_view int
+GO
+alter table hrsa_tax_declaration add tax_declare_record_id bigint
+GO
+alter table hrsa_salary_acct_emp add income_category nvarchar(100)
+GO
+alter table hrsa_salary_acct_record add control_view int
+GO
+
+
+update hrsa_salary_acct_record set control_view = 0 where control_view is null
+GO
+update hrsa_tax_declaration set control_view = 0 where control_view is null
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308140203.sql b/resource/sqlupgrade/SQLServer/sql202308140203.sql
new file mode 100644
index 000000000..a4b55a654
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308140203.sql
@@ -0,0 +1,15 @@
+create table hrsa_tax_declaration_value
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ tax_declare_record_id bigint,
+ tax_declaration_id bigint,
+ employee_type tinyint,
+ employee_id bigint,
+ result_value_json ntext
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308150303.sql b/resource/sqlupgrade/SQLServer/sql202308150303.sql
new file mode 100644
index 000000000..a57b1b4ac
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308150303.sql
@@ -0,0 +1,23 @@
+alter table hrsa_salary_sob_item add income_category nvarchar(100)
+GO
+
+alter table hrsa_salary_sob_item add constraint hssi_income_category_default default '1' for income_category
+GO
+
+update hrsa_salary_sob_item set income_category = '1' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '1')
+GO
+
+update hrsa_salary_sob_item set income_category = '2' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '2')
+GO
+
+update hrsa_salary_sob_item set income_category = '4' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '4')
+GO
+
+alter table hrsa_salary_sob_item add salary_item_code nvarchar(100)
+GO
+
+update a set a.salary_item_code = b.code from hrsa_salary_sob_item a, hrsa_salary_item b where a.salary_item_id = b.id
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308150503.sql b/resource/sqlupgrade/SQLServer/sql202308150503.sql
new file mode 100644
index 000000000..49e43f18a
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308150503.sql
@@ -0,0 +1,619 @@
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157061, null, null, null, 0, 'all_teams', '1', '2', '当期收入额', 'annualIncome', 'number', 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157062, null, null, null, 0, 'all_teams', '1', '2', '免税收入', 'annualTaxFreeIncome', 'number', 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157063, null, null, null, 0, 'all_teams', '1', '2', '其他', 'annualOther', 'number', 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157064, null, null, null, 0, 'all_teams', '1', '2', '准予扣除的捐赠额', 'annualDonateTax', 'number',
+ 'zykcjze')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157065, null, null, null, 0, 'all_teams', '1', '2', '减免税额', 'annualTaxSavings', 'number', 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157066, null, null, null, 0, 'all_teams', '1', '2', '备注', 'annualRemark', 'string', 'bz')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157068, null, null, null, 0, 'all_teams', '1', '4', '当期收入额', 'laborIncome', 'number', 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157069, null, null, null, 0, 'all_teams', '1', '4', '免税收入', 'laborTaxFreeIncome', 'number', 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157070, null, null, null, 0, 'all_teams', '1', '4', '商业健康保险', 'commercialHealthInsurance4',
+ 'number', 'syjkbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157071, null, null, null, 0, 'all_teams', '1', '4', '税延养老保险', 'taxDeferredEndowmentInsurance4',
+ 'number', 'syylbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157072, null, null, null, 0, 'all_teams', '1', '4', '允许扣除税费', 'allowedDeductTax4', 'number',
+ 'yxkcsf')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157073, null, null, null, 0, 'all_teams', '1', '4', '其他', 'other4', 'number', 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157074, null, null, null, 0, 'all_teams', '1', '4', '减免税额', 'labor_tax_saving', 'number', 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157075, null, null, null, 0, 'all_teams', '1', '4', '备注', 'description4', 'string', 'bz')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157077, null, null, null, 0, 'all_teams', '1', '1', '本期收入', 'income', 'number', 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157078, null, null, null, 0, 'all_teams', '1', '1', '本期免税收入', 'taxFreeIncome', 'number', 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157079, null, null, null, 0, 'all_teams', '1', '1', '基本养老保险费', 'endowmentInsurance', 'number',
+ 'jbylaobxf')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157080, null, null, null, 0, 'all_teams', '1', '1', '基本医疗保险费', 'medicalInsurance', 'number',
+ 'jbylbxf')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157081, null, null, null, 0, 'all_teams', '1', '1', '失业保险费', 'unemploymentInsurance', 'number',
+ 'sybxf')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157082, null, null, null, 0, 'all_teams', '1', '1', '住房公积金', 'housingProvidentFund', 'number',
+ 'zfgjj')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157083, null, null, null, 0, 'all_teams', '1', '1', '累计子女教育', 'addUpChildEducation', 'number',
+ 'ljznjyzc')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157084, null, null, null, 0, 'all_teams', '1', '1', '累计住房贷款利息', 'addUpHousingLoanInterest',
+ 'number', 'ljzfdklxzc')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157085, null, null, null, 0, 'all_teams', '1', '1', '累计住房租金', 'addUpHousingRent', 'number',
+ 'ljzfzjzc')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157086, null, null, null, 0, 'all_teams', '1', '1', '累计赡养老人', 'addUpSupportElderly', 'number',
+ 'ljsylrzc')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157087, null, null, null, 0, 'all_teams', '1', '1', '累计继续教育', 'addUpContinuingEducation', 'number',
+ 'ljjxjyzc')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157088, null, null, null, 0, 'all_teams', '1', '1', '累计3岁以下婴幼儿照护支出', 'addUpInfantCare', 'number',
+ 'ljyyezhzc')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157089, null, null, null, 0, 'all_teams', '1', '1', '企业(职业)年金', 'annuity', 'number', 'nj')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157090, null, null, null, 0, 'all_teams', '1', '1', '商业健康保险', 'commercialHealthInsurance', 'number',
+ 'syjkbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157091, null, null, null, 0, 'all_teams', '1', '1', '税延养老保险', 'taxDeferredEndowmentInsurance',
+ 'number', 'syylbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157092, null, null, null, 0, 'all_teams', '1', '1', '其他', 'other', 'number', 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157093, null, null, null, 0, 'all_teams', '1', '1', '准予扣除的捐赠额', 'allowedDonation', 'number',
+ 'zykcjze')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157094, null, null, null, 0, 'all_teams', '1', '1', '减免税额', 'taxDeduction', 'number', 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157095, null, null, null, 0, 'all_teams', '1', '1', '备注', 'description', 'string', 'bz')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157096, null, null, null, 0, 'all_teams', '1', '107', '一次性补偿收入', 'retireCompensationIncome',
+ 'number', 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157097, null, null, null, 0, 'all_teams', '1', '107', '本期工资收入', 'retireWageIncome', 'number',
+ 'bqgzs')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157098, null, null, null, 0, 'all_teams', '1', '107', '免税收入', 'retireTaxFreeIncome', 'number',
+ 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157099, null, null, null, 0, 'all_teams', '1', '107', '其他', 'retireOther', 'number', 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157100, null, null, null, 0, 'all_teams', '1', '107', '准予扣除的捐赠额', 'retireAllowedDonation', 'number',
+ 'zykcjze')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157101, null, null, null, 0, 'all_teams', '1', '107', '减免税额', 'retireTaxDeduction', 'number',
+ 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157102, null, null, null, 0, 'all_teams', '1', '107', '备注', 'retireRemark', 'string', 'bz')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157103, null, null, null, 0, 'all_teams', '1', '107', '分摊月份数', 'retireSplitMonth', 'number',
+ 'ftyfs')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157104, null, null, null, 0, 'all_teams', '1', '108', '当期收入额', 'dismissIncome', 'number', 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157105, null, null, null, 0, 'all_teams', '1', '108', '免税收入', 'dismissTaxFreeIncome', 'number',
+ 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157106, null, null, null, 0, 'all_teams', '1', '108', '其他', 'dismissOther', 'number', 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157107, null, null, null, 0, 'all_teams', '1', '108', '备注', 'dismissRemark', 'string', 'bz')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157108, null, null, null, 0, 'all_teams', '1', '108', '准予扣除的捐赠额', 'dismissAllowedDonation',
+ 'number', 'zykcjze')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157109, null, null, null, 0, 'all_teams', '1', '108', '减免税额', 'dismissTaxDeduction', 'number',
+ 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157110, null, null, null, 0, 'all_teams', '1', '110', '当期收入额', 'annuityIncome', 'number', 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157111, null, null, null, 0, 'all_teams', '1', '110', '已完税缴费额', 'annuityTaxPaidAmount', 'number',
+ 'ywsjfe')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157112, null, null, null, 0, 'all_teams', '1', '110', '全部缴费额', 'annuityTotalPayment', 'number',
+ 'qbjfe')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157113, null, null, null, 0, 'all_teams', '1', '110', '是否一次性领取', 'annuityOneTimeReceive', 'string',
+ 'sfycxlq')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157114, null, null, null, 0, 'all_teams', '1', '110', '年金领取方式', 'annuityReceiveMethod', 'string',
+ 'njlqfs')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157115, null, null, null, 0, 'all_teams', '1', '110', '年金领取原因', 'annuityReceiveReason', 'string',
+ 'njlqyy')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157116, null, null, null, 0, 'all_teams', '1', '110', '免税收入', 'annuityTaxFreeIncome', 'number',
+ 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157117, null, null, null, 0, 'all_teams', '1', '110', '减免税额', 'annuityTaxDeduction', 'number',
+ 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157118, null, null, null, 0, 'all_teams', '1', '110', '商业健康保险', 'annuityHealthInsurance', 'number',
+ 'syjkbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157119, null, null, null, 0, 'all_teams', '1', '110', '税延养老保险', 'annuityEndowmentInsurance',
+ 'number', 'syylbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157120, null, null, null, 0, 'all_teams', '1', '110', '其他', 'annuityOther', 'number', 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157121, null, null, null, 0, 'all_teams', '1', '110', '准予扣除的捐赠额', 'annuityAllowedDonation',
+ 'number', 'zykcjze')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157122, null, null, null, 0, 'all_teams', '1', '110', '备注', 'annuityRemark', 'string', 'bz')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157123, null, null, null, 0, 'all_teams', '1', '402', '当期收入额', 'insuranceIncome', 'number', 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157124, null, null, null, 0, 'all_teams', '1', '402', '免税收入', 'insuranceTaxFreeIncome', 'number',
+ 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157125, null, null, null, 0, 'all_teams', '1', '402', '商业健康保险', 'insuranceHealthInsurance',
+ 'number', 'syjkbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157126, null, null, null, 0, 'all_teams', '1', '402', '税延养老保险', 'insuranceEndowmentInsurance',
+ 'number', 'syylbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157127, null, null, null, 0, 'all_teams', '1', '402', '其他', 'insuranceOther', 'number', 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157128, null, null, null, 0, 'all_teams', '1', '402', '备注', 'insuranceRemark', 'string', 'bz')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157129, null, null, null, 0, 'all_teams', '1', '402', '减免税额', 'insuranceTaxDeduction', 'number',
+ 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157130, null, null, null, 0, 'all_teams', '1', '402', '允许扣除税费', 'insuranceAllowedDeductTax',
+ 'number', 'yxkcsf')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157131, null, null, null, 0, 'all_teams', '1', '403', '当期收入额', 'securitiesIncome', 'number', 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157132, null, null, null, 0, 'all_teams', '1', '403', '免税收入', 'securitiesTaxFreeIncome', 'number',
+ 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157133, null, null, null, 0, 'all_teams', '1', '403', '商业健康保险', 'securitiesHealthInsurance',
+ 'number', 'syjkbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157134, null, null, null, 0, 'all_teams', '1', '403', '税延养老保险', 'securitiesEndowmentInsurance',
+ 'number', 'syylbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157135, null, null, null, 0, 'all_teams', '1', '403', '其他', 'securitiesOther', 'number', 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157136, null, null, null, 0, 'all_teams', '1', '403', '备注', 'securitiesRemark', 'string', 'bz')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157137, null, null, null, 0, 'all_teams', '1', '403', '减免税额', 'securitiesTaxDeduction', 'number',
+ 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157138, null, null, null, 0, 'all_teams', '1', '403', '允许扣除税费', 'securitiesAllowedDeductTax',
+ 'number', 'yxkcsf')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157139, null, null, null, 0, 'all_teams', '1', '489', '当期收入额', 'otherContinuousLaborIncome',
+ 'number', 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157140, null, null, null, 0, 'all_teams', '1', '489', '免税收入', 'otherContinuousLaborTaxFreeIncome',
+ 'number', 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157141, null, null, null, 0, 'all_teams', '1', '489', '商业健康保险',
+ 'otherContinuousLaborHealthInsurance', 'number', 'syjkbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157142, null, null, null, 0, 'all_teams', '1', '489', '税延养老保险',
+ 'otherContinuousLaborEndowmentInsurance', 'number', 'syylbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157143, null, null, null, 0, 'all_teams', '1', '489', '其他', 'otherContinuousLaborOther', 'number',
+ 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157144, null, null, null, 0, 'all_teams', '1', '489', '备注', 'otherContinuousLaborRemark', 'string',
+ 'bz')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157145, null, null, null, 0, 'all_teams', '1', '489', '减免税额', 'otherContinuousLaborTaxDeduction',
+ 'number', 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157146, null, null, null, 0, 'all_teams', '1', '489', '允许扣除税费',
+ 'otherContinuousLaborAllowedDeductTax', 'number', 'yxkcsf')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157147, null, null, null, 0, 'all_teams', '1', '499', '当期收入额', 'otherLaborIncome', 'number', 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157149, null, null, null, 0, 'all_teams', '1', '499', '免税收入', 'otherLaborTaxFreeIncome', 'number',
+ 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157150, null, null, null, 0, 'all_teams', '1', '499', '商业健康保险', 'otherLaborHealthInsurance',
+ 'number', 'syjkbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157151, null, null, null, 0, 'all_teams', '1', '499', '税延养老保险', 'otherLaborEndowmentInsurance',
+ 'number', 'syylbx')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157152, null, null, null, 0, 'all_teams', '1', '499', '允许扣除税费', 'otherLaborAllowedDeductTax',
+ 'number', 'yxkcsf')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157153, null, null, null, 0, 'all_teams', '1', '499', '其他', 'otherLaborOther', 'number', 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157154, null, null, null, 0, 'all_teams', '1', '499', '备注', 'otherLaborRemark', 'string', 'bz')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157155, null, null, null, 0, 'all_teams', '1', '499', '减免税额', 'otherLaborTaxDeduction', 'number',
+ 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157156, null, null, null, 0, 'all_teams', '1', '500', '当期收入额', 'authorIncome', 'number', 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157157, null, null, null, 0, 'all_teams', '1', '500', '免税收入', 'authorTaxFreeIncome', 'number',
+ 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157158, null, null, null, 0, 'all_teams', '1', '500', '其他', 'authorOther', 'number', 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157159, null, null, null, 0, 'all_teams', '1', '500', '减免税额', 'authorTaxDeduction', 'number',
+ 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157160, null, null, null, 0, 'all_teams', '1', '500', '备注', 'authorRemark', 'string', 'bz')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157161, null, null, null, 0, 'all_teams', '1', '600', '当期收入额', 'royaltiesIncome', 'number', 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157162, null, null, null, 0, 'all_teams', '1', '600', '免税收入', 'royaltiesTaxFreeIncome', 'number',
+ 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157163, null, null, null, 0, 'all_teams', '1', '600', '其他', 'royaltiesOther', 'number', 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157164, null, null, null, 0, 'all_teams', '1', '600', '备注', 'royaltiesRemark', 'string', 'bz')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157165, null, null, null, 0, 'all_teams', '1', '600', '减免税额', 'royaltiesTaxDeduction', 'number',
+ 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157166, null, null, null, 0, 'all_teams', '1', '109', '本月股权激励收入', 'stockRightIncome', 'number',
+ 'sre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157167, null, null, null, 0, 'all_teams', '1', '109', '本年累计股权激励收入(不含本月)', 'stockRightAddUpIncome',
+ 'number', 'ljsre')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157168, null, null, null, 0, 'all_teams', '1', '109', '本年累计其他', 'stockRightOther', 'number', 'qt')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157169, null, null, null, 0, 'all_teams', '1', '109', '本年累计准予扣除的捐赠额', 'stockRightAllowedDonation',
+ 'number', 'zykcjze')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157170, null, null, null, 0, 'all_teams', '1', '109', '本年累计减免税额', 'stockRightTaxDeduction',
+ 'number', 'jmse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157171, null, null, null, 0, 'all_teams', '1', '109', '本年累计已扣缴税额', 'stockRightAddUpAdvanceTax',
+ 'number', 'ykjse')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157172, null, null, null, 0, 'all_teams', '1', '109', '本年累计免税收入', 'stockRightTaxFreeIncome',
+ 'number', 'mssd')
+GO
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157173, null, null, null, 0, 'all_teams', '1', '109', '备注', 'stockRightRemark', 'string', 'bz')
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308150603.sql b/resource/sqlupgrade/SQLServer/sql202308150603.sql
new file mode 100644
index 000000000..f6c058c12
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308150603.sql
@@ -0,0 +1,58 @@
+create table hrsa_sob_add_up_rule
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ salary_sob_id bigint,
+ income_category nvarchar(100),
+ salary_item_id bigint,
+ add_up_column_data_index nvarchar(100)
+)
+GO
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpIncome', 'addUpSubtraction', 'addUpSocialSecurityTotal', 'addUpAccumulationFundTotal',
+ 'addUpEnterpriseAndOther', 'addUpOtherDeduction', 'addUpTaxExemptIncome',
+ 'addUpAllowedDonation', 'addUpTaxSavings')
+GO
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpTaxPayable' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpAdvanceTax'
+GO
+
+delete from hrsa_sob_add_up_rule
+where income_category = 1
+ and add_up_column_data_index in ('addUpTaxPayable', 'addUpAdvanceTax')
+GO
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpAdvanceTax' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpTaxPayable'
+GO
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpTaxableIncome','addUpTaxFreeIncome','addUpTaxDeduction')
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308170103.sql b/resource/sqlupgrade/SQLServer/sql202308170103.sql
new file mode 100644
index 000000000..c29a44b44
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308170103.sql
@@ -0,0 +1,2 @@
+alter table hrsa_tax_payment_request add feedback int
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308230303.sql b/resource/sqlupgrade/SQLServer/sql202308230303.sql
new file mode 100644
index 000000000..6cb8ed60b
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308230303.sql
@@ -0,0 +1,5 @@
+alter table hrsa_tax_agent_tax_return add city_name nvarchar(400)
+GO
+
+update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308240201.sql b/resource/sqlupgrade/SQLServer/sql202308240201.sql
new file mode 100644
index 000000000..e1d0137c2
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308240201.sql
@@ -0,0 +1,34 @@
+delete from HtmlLabelIndex where id = 544827 and ( indexdesc is null or indexdesc = '' )
+GO
+insert into HtmlLabelIndex(id,indexdesc) select top 1 544827,'智能算薪' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544827 and ( indexdesc is not null and indexdesc <> '' ))
+GO
+delete from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( labelname is null or labelname = '' )
+GO
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 544827 as indexid ,'智能算薪' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( labelname is not null and labelname <> '' ))
+GO
+delete from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[吖-座]%' )
+GO
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 544827 as indexid ,'Intelligent salary calculation' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( labelname is not null and labelname <> '' and labelname not like '%[吖-座]%' ))
+GO
+delete from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( labelname is null or labelname = '' )
+GO
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 544827 as indexid ,'智能算薪' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( labelname is not null and labelname <> '' ))
+GO
+
+
+delete from HtmlLabelIndex where id = 544826 and ( indexdesc is null or indexdesc = '' )
+GO
+insert into HtmlLabelIndex(id,indexdesc) select top 1 544826,'人员信息报送' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544826 and ( indexdesc is not null and indexdesc <> '' ))
+GO
+delete from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( labelname is null or labelname = '' )
+GO
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 544826 as indexid ,'人员信息报送' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( labelname is not null and labelname <> '' ))
+GO
+delete from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[吖-座]%' )
+GO
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 544826 as indexid ,'Personnel information submission' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( labelname is not null and labelname <> '' and labelname not like '%[吖-座]%' ))
+GO
+delete from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( labelname is null or labelname = '' )
+GO
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 544826 as indexid ,'人員信息報送' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( labelname is not null and labelname <> '' ))
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308240302.sql b/resource/sqlupgrade/SQLServer/sql202308240302.sql
new file mode 100644
index 000000000..00621bbb7
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308240302.sql
@@ -0,0 +1,21 @@
+Delete from LeftMenuInfo where id=100191
+GO
+Delete from LeftMenuConfig where infoid=100191
+GO
+EXECUTE LMConfig_U_ByInfoInsert 2,100181,1
+GO
+EXECUTE LMInfo_Insert 100191,544827,'','',2,100181,1,18
+GO
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/intelligentCalculateSalarySettings' where id = 100191
+GO
+
+Delete from LeftMenuInfo where id=100192
+GO
+Delete from LeftMenuConfig where infoid=100192
+GO
+EXECUTE LMConfig_U_ByInfoInsert 2,100118,7
+GO
+EXECUTE LMInfo_Insert 100192,544826,'','',2,100118,7,18
+GO
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/employeedeclare' where id = 100192
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202308280203.sql b/resource/sqlupgrade/SQLServer/sql202308280203.sql
new file mode 100644
index 000000000..d5a06b580
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202308280203.sql
@@ -0,0 +1,46 @@
+create table hrsa_tax_api_flow_receiver
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ warn_config_id bigint not null,
+ employee_id bigint not null,
+ email nvarchar(100),
+ mobile nvarchar(50)
+)
+GO
+
+create table hrsa_tax_api_flow_record
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ tax_agent_id bigint not null,
+ tax_month datetime not null,
+ use_time datetime not null,
+ deduct int,
+ employee_id bigint not null,
+ business_type int not null,
+ result_status int not null
+)
+GO
+
+create table hrsa_tax_api_flow_warn_config
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ enable_warn int default 0 not null,
+ threshold int default 0 not null,
+ business_id bigint default '0' not null
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202309040303.sql b/resource/sqlupgrade/SQLServer/sql202309040303.sql
new file mode 100644
index 000000000..bdfa19c5f
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202309040303.sql
@@ -0,0 +1,39 @@
+create table hrsa_add_up_deduction_request
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ request_id bigint not null,
+ request_status tinyint default 1 not null,
+ tax_year_month datetime not null,
+ outer_request_id nvarchar(50) not null,
+ tax_agent_id bigint not null
+)
+GO
+
+alter table hrsa_add_up_deduction_request add lock_version int
+GO
+
+alter table hrsa_add_up_deduction_request add constraint df_lock_version_71db6820 default 0 for lock_version
+GO
+
+create table hrsa_add_up_deduction_req_fail
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ request_id bigint not null,
+ employee_id bigint not null,
+ employee_type int not null,
+ tax_agent_id bigint not null,
+ reason nvarchar(255) not null,
+ tax_year_month datetime not null,
+ outer_request_id nvarchar(50) not null
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202309050203.sql b/resource/sqlupgrade/SQLServer/sql202309050203.sql
new file mode 100644
index 000000000..7e102b81a
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202309050203.sql
@@ -0,0 +1,25 @@
+alter table hrsa_add_up_situation add add_up_taxable_income nvarchar(255)
+GO
+alter table hrsa_add_up_situation add actual_add_up_advance_tax nvarchar(255)
+GO
+alter table hrsa_add_up_situation add tax_adjustment nvarchar(255)
+GO
+
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312885, 1, 674916065864646661, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614119, 5)
+GO
+
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312886, 1, 674916065864646658, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614119, 6)
+GO
+
+INSERT INTO hrsa_formula(id, name, description, module, use_for, reference_type, return_type, validate_type, extend_param, formula, formulaRunScript, creator, delete_type, create_time, update_time) VALUES (1693896072589, '当前累计减免税额合计', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{"isCustomFunction":"0","sqlReturnKey":"","openDecrypt":"0","datasource":{"datasourceId":""}}', '{薪资项目.本月(次)减免税额}+{往期累计情况.累计减免税额}', 'salaryItem_taxDeduction+addUpSituation_addUpTaxSavings', 27, 0, '2023-09-05 14:41:12', '2023-09-05 14:41:12')
+GO
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072606, '本月(次)减免税额', 1693896072589, 'salaryItem_taxDeduction', '{薪资项目.本月(次)减免税额}', 'number', 'salaryItem', 0, 27, 0, '2023-09-05 14:41:12', '2023-09-05 14:41:12')
+GO
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072611, '累计减免税额', 1693896072589, 'addUpSituation_addUpTaxSavings', '{往期累计情况.累计减免税额}', 'number', 'addUpSituation', 1, 27, 0, '2023-09-05 14:41:12', '2023-09-05 14:41:12')
+GO
+
+update hrsa_sys_salary_item set value_type = 2 ,formula_id =1693896072589 where id = 674916065864646658
+GO
+
+update hrsa_salary_item set value_type =2 ,formula_id =1693896072589 where sys_salary_item_id = 674916065864646658
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202312190103.sql b/resource/sqlupgrade/SQLServer/sql202312190103.sql
new file mode 100644
index 000000000..d2c020a34
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202312190103.sql
@@ -0,0 +1,61 @@
+ALTER TABLE hrsa_tax_report_column ADD contrast_type int NULL
+GO
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158174, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计收入额', 'addUpIncome', 'number', NULL, NULL,1)
+GO
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158175, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计免税收入', 'addUpTaxFreeIncome', 'number', NULL, NULL,1)
+GO
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158176, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减除费用', 'addUpSubtraction', 'number', NULL, NULL,1)
+GO
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158177, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计专项扣除', 'addUpSpecialDeduction', 'number', NULL, NULL,1)
+GO
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158184, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计其他扣除', 'addUpOtherDeduction', '', NULL, NULL,1)
+GO
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158185, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计准予扣除的捐赠', 'addUpAllowedDonation', '', NULL, NULL,1)
+GO
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158186, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税所得额', 'addUpTaxableIncome', '', NULL, NULL,1)
+GO
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158187, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '税率', 'taxRate', '', NULL, NULL,1)
+GO
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158188, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '速算扣除数', 'quickDeductionFactor', '', NULL, NULL,1)
+GO
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158189, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税额', 'addUpTaxPayable', '', NULL, NULL,1)
+GO
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158190, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减免税额', 'addUpTaxDeduction', '', NULL, NULL,1)
+GO
+
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158192, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计已缴税额', 'addUpAdvanceTax', '', NULL, NULL,1)
+GO
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158193, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '应补(退)税额', 'refundedOrSupplementedTax', '', NULL, NULL,1)
+GO
+
+update hrsa_tax_report_column set report_column_name = '累计3岁以下婴幼儿照护' where report_column_name = '累计3岁以下婴幼儿照护支出'
+GO
+
+update hrsa_tax_report_column set contrast_type = 0
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202312270603.sql b/resource/sqlupgrade/SQLServer/sql202312270603.sql
new file mode 100644
index 000000000..6955742ff
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202312270603.sql
@@ -0,0 +1,5 @@
+ALTER TABLE hrsa_tax_declaration_value ADD source int NULL
+GO
+
+ALTER TABLE hrsa_tax_declare_record ADD declare_request_id varchar(100) NULL
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202312270703.sql b/resource/sqlupgrade/SQLServer/sql202312270703.sql
new file mode 100644
index 000000000..0384f9313
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202312270703.sql
@@ -0,0 +1,2 @@
+update hrsa_tax_declaration_value set source = 0
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202403193303.sql b/resource/sqlupgrade/SQLServer/sql202403193303.sql
new file mode 100644
index 000000000..771e3b45f
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202403193303.sql
@@ -0,0 +1,17 @@
+ALTER TABLE hrsa_employee_declare ADD nationality varchar(255) NULL
+GO
+
+ALTER TABLE hrsa_employee_declare ADD birthplace varchar(255) NULL
+GO
+
+ALTER TABLE hrsa_employee_declare ADD tax_reasons varchar(255) NULL
+GO
+
+ALTER TABLE hrsa_employee_declare ADD entry_date datetime NULL
+GO
+
+ALTER TABLE hrsa_employee_declare ADD departure_date datetime NULL
+GO
+
+update hrsa_employee_declare set nationality = '中国' where nationality is null
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202404120303.sql b/resource/sqlupgrade/SQLServer/sql202404120303.sql
new file mode 100644
index 000000000..2a9169a28
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202404120303.sql
@@ -0,0 +1,18 @@
+create table hrsa_tax_declare_status
+(
+id bigint primary key ,
+tax_declare_record_id bigint NULL ,
+report_type int NULL ,
+request_id varchar(100) ,
+tax_declare_type tinyint NULL ,
+tax_declare_status tinyint NULL ,
+display_update_icon tinyint NULL ,
+tax_declare_error_msg varchar(1000) ,
+person_num int NULL ,
+tax_pay_amount varchar(255) ,
+tax_paid_amount varchar(255) ,
+tax_pure_paid_amount varchar(255) ,
+declare_request_id varchar(100) ,
+delete_type int NULL
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202406170103.sql b/resource/sqlupgrade/SQLServer/sql202406170103.sql
new file mode 100644
index 000000000..c84a374f4
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202406170103.sql
@@ -0,0 +1,14 @@
+create table hrsa_sob_tax_rule
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int,
+ tenant_key nvarchar(10),
+ salary_sob_id bigint,
+ income_category varchar(100),
+ tax_index varchar(100),
+ salary_item_id bigint
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202406260403.sql b/resource/sqlupgrade/SQLServer/sql202406260403.sql
new file mode 100644
index 000000000..dd1b5701c
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202406260403.sql
@@ -0,0 +1,13 @@
+create table hrsa_api_task_record
+(
+ id bigint primary key ,
+ source varchar(500) ,
+ api varchar(500),
+ param ntext ,
+ response ntext,
+ create_time datetime,
+ update_time datetime,
+ delete_type int default 0,
+ tenant_key nvarchar(10)
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202407170103.sql b/resource/sqlupgrade/SQLServer/sql202407170103.sql
new file mode 100644
index 000000000..a8734ab0c
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202407170103.sql
@@ -0,0 +1,13 @@
+create table hrsa_acct_calc_tax_req
+(
+ id bigint primary key ,
+ create_time datetime default getdate(),
+ update_time datetime default getdate(),
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ salary_acct_record_id bigint,
+ tax_agent_id bigint,
+ request_id nvarchar(100)
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202412160303.sql b/resource/sqlupgrade/SQLServer/sql202412160303.sql
new file mode 100644
index 000000000..de7f1091f
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202412160303.sql
@@ -0,0 +1,126 @@
+create table hrsa_other_derate_deduction
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ main_id bigint,
+ tax_year_month datetime,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ other_deduction nvarchar(50),
+ remark nvarchar(255)
+)
+GO
+
+
+create table hrsa_health_insurance
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ main_id bigint,
+ tax_year_month datetime,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ identification_number nvarchar(255),
+ effective_date datetime,
+ year_premium nvarchar(50),
+ month_premium nvarchar(50),
+ current_deduction nvarchar(50)
+)
+GO
+
+
+create table hrsa_grant_donation
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ main_id bigint,
+ tax_year_month datetime,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ recipient_name nvarchar(255),
+ tax_code nvarchar(255),
+ donation_number nvarchar(255),
+ donate_date datetime,
+ donate_amount nvarchar(50),
+ deduction_proportion nvarchar(10),
+ actual_deduction nvarchar(50)
+)
+GO
+
+
+create table hrsa_endowment_insurance
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ main_id bigint,
+ tax_year_month datetime,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ account_number nvarchar(255),
+ check_code nvarchar(255),
+ year_premium nvarchar(50),
+ month_premium nvarchar(50),
+ current_deduction nvarchar(50),
+ deduction_month datetime
+)
+GO
+
+
+create table hrsa_derate_deduction
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ main_id bigint,
+ tax_year_month datetime,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ derate_item nvarchar(255),
+ derate_property nvarchar(255),
+ derate_amount nvarchar(255)
+)
+GO
+
+
+create table hrsa_free_income
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ main_id bigint,
+ tax_year_month datetime,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ free_item nvarchar(255),
+ free_property nvarchar(255),
+ free_amount nvarchar(255)
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202412160403.sql b/resource/sqlupgrade/SQLServer/sql202412160403.sql
new file mode 100644
index 000000000..1ebced6cb
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202412160403.sql
@@ -0,0 +1,12 @@
+alter table hrsa_derate_deduction add employee_type int
+GO
+alter table hrsa_endowment_insurance add employee_type int
+GO
+alter table hrsa_free_income add employee_type int
+GO
+alter table hrsa_grant_donation add employee_type int
+GO
+alter table hrsa_health_insurance add employee_type int
+GO
+alter table hrsa_other_derate_deduction add employee_type int
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202412230103.sql b/resource/sqlupgrade/SQLServer/sql202412230103.sql
new file mode 100644
index 000000000..6fd85b259
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202412230103.sql
@@ -0,0 +1,24 @@
+create table hrsa_personal_pension
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int default 0,
+ tenant_key nvarchar(10),
+ main_id bigint,
+ tax_year_month datetime,
+ employee_id bigint,
+ tax_agent_id bigint,
+ file_status int,
+ voucher_type nvarchar(255),
+ voucher_no nvarchar(255),
+ pay_amount nvarchar(255),
+ data_source int,
+ collect_source nvarchar(50),
+ pay_month datetime,
+ eb_data_id bigint,
+ voucher_type_name nvarchar(50),
+ employee_type int
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202412240103.sql b/resource/sqlupgrade/SQLServer/sql202412240103.sql
new file mode 100644
index 000000000..cfb59073c
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202412240103.sql
@@ -0,0 +1,5 @@
+ALTER TABLE hrsa_other_deduction ADD free_income varchar(255) NULL
+GO
+
+ALTER TABLE hrsa_other_deduction ADD derate_deduction varchar(255) NULL
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202503190103.sql b/resource/sqlupgrade/SQLServer/sql202503190103.sql
new file mode 100644
index 000000000..3aaee1960
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202503190103.sql
@@ -0,0 +1,37 @@
+create table hrsa_deduction_amount
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int,
+ tenant_key nvarchar(10),
+ tax_agent_id bigint,
+ year nvarchar(100),
+ employee_id bigint,
+ employee_type tinyint,
+ employee_name nvarchar(100),
+ job_num nvarchar(100),
+ card_type tinyint,
+ card_num nvarchar(100),
+ nationality nvarchar(255),
+ deduct_flag tinyint,
+ successfully_declared tinyint,
+ declare_status tinyint,
+ declare_error_msg nvarchar(3000)
+)
+GO
+
+create table hrsa_deduction_amount_record
+(
+ id bigint primary key ,
+ create_time datetime,
+ update_time datetime,
+ creator bigint,
+ delete_type int,
+ tenant_key nvarchar(10),
+ tax_agent_id bigint,
+ year nvarchar(100),
+ request_id nvarchar(100)
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202506190103.sql b/resource/sqlupgrade/SQLServer/sql202506190103.sql
new file mode 100644
index 000000000..adfe5e358
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202506190103.sql
@@ -0,0 +1,18 @@
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158200, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '当期收入额', 'dividendsIncome', 'number', 'sre', NULL, 0)
+go
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158201, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '免税收入', 'dividendsFreeIncome', 'number', 'mssd', NULL, 0)
+go
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158202, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '准予扣除的捐赠额', 'dividendsAllowedDonation', 'number', 'zykcjze', NULL, 0)
+go
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158203, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '减免税额', 'dividendsTaxDeduction', 'string', 'jmse', NULL, 0)
+go
+
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158204, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '本期收入', 'listedCompanyIncome', 'number', 'sre', NULL, 0)
+go
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158206, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '免税收入', 'listedCompanyFreeIncome', 'number', 'mssd', NULL, 0)
+go
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158207, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '准予扣除的捐赠额', 'listedCompanyAllowedDonation', 'number', 'zykcjze', NULL, 0)
+go
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158208, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '减免税额', 'listedCompanyTaxDeduction', 'string', 'jmse', NULL, 0)
+go
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202507010303.sql b/resource/sqlupgrade/SQLServer/sql202507010303.sql
new file mode 100644
index 000000000..9ca6c463d
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202507010303.sql
@@ -0,0 +1,20 @@
+ALTER TABLE hrsa_free_income ADD income_category int
+GO
+
+ALTER TABLE hrsa_derate_deduction ADD income_category int
+GO
+
+ALTER TABLE hrsa_endowment_insurance ADD income_category int
+GO
+
+ALTER TABLE hrsa_grant_donation ADD income_category int
+GO
+
+ALTER TABLE hrsa_health_insurance ADD income_category int
+GO
+
+ALTER TABLE hrsa_other_derate_deduction ADD income_category int
+GO
+
+ALTER TABLE hrsa_personal_pension ADD income_category int
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202507010403.sql b/resource/sqlupgrade/SQLServer/sql202507010403.sql
new file mode 100644
index 000000000..99fc8e409
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202507010403.sql
@@ -0,0 +1,14 @@
+update hrsa_free_income set income_category = 1
+GO
+update hrsa_derate_deduction set income_category = 1
+GO
+update hrsa_endowment_insurance set income_category = 1
+GO
+update hrsa_grant_donation set income_category = 1
+GO
+update hrsa_health_insurance set income_category = 1
+GO
+update hrsa_other_derate_deduction set income_category = 1
+GO
+update hrsa_personal_pension set income_category = 1
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202507110103.sql b/resource/sqlupgrade/SQLServer/sql202507110103.sql
new file mode 100644
index 000000000..19d102aa7
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202507110103.sql
@@ -0,0 +1,2 @@
+alter table hrsa_tax_payment_request add report_type int null
+go
\ No newline at end of file
diff --git a/resource/sqlupgrade/ST/sql202307180103.sql b/resource/sqlupgrade/ST/sql202307180103.sql
new file mode 100644
index 000000000..b701b86e6
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202307180103.sql
@@ -0,0 +1,34 @@
+create table hrsa_tax_declare_api_profile
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ api_profile int
+);
+/
+
+create index id_tenant_key_22b215db on hrsa_tax_declare_api_profile(tenant_key);
+/
+
+create table hrsa_tax_payment_request
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number not null,
+ tax_declare_record_id number,
+ tax_year_month date not null,
+ request_id varchar2(50) not null,
+ request_type int not null
+);
+/
+
+create index id_tenant_key_bcb610c7 on hrsa_tax_payment_request(tenant_key);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202307180203.sql b/resource/sqlupgrade/ST/sql202307180203.sql
new file mode 100644
index 000000000..10aced290
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202307180203.sql
@@ -0,0 +1,38 @@
+create table hrsa_tax_declare_api_config
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ host varchar2(255),
+ app_key varchar2(255),
+ app_secret varchar2(255)
+);
+/
+
+create unique index idx_tenant_key_api_a6f21b46 on hrsa_tax_declare_api_config(tenant_key);
+/
+
+alter table hrsa_tax_declare_api_config modify host not null;
+/
+
+alter table hrsa_tax_declare_api_config modify app_key not null;
+/
+
+alter table hrsa_tax_declare_api_config modify app_secret not null;
+/
+
+alter table hrsa_tax_declare_api_config add enable_use int;
+/
+
+alter table hrsa_tax_declare_api_config add totality number;
+/
+
+alter table hrsa_tax_declare_api_config add remain number;
+/
+
+alter table hrsa_tax_declare_api_config add last_update_time date;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202307180403.sql b/resource/sqlupgrade/ST/sql202307180403.sql
new file mode 100644
index 000000000..fb5e8e455
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202307180403.sql
@@ -0,0 +1,31 @@
+create table hrsa_tax_agent_tax_return
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number not null,
+ tax_code varchar2(50) not null,
+ tax_registration_number varchar2(50) ,
+ department_code varchar2(50),
+ department_name varchar2(50),
+ nation varchar2(50),
+ province varchar2(50),
+ city varchar2(50),
+ area_code varchar2(50) not null,
+ password_type int not null,
+ real_account varchar2(50) ,
+ pwd varchar2(50) not null,
+ check_status int not null,
+ fail_reason varchar2(255)
+);
+/
+
+create index id_tenant_key_tax_return on hrsa_tax_agent_tax_return(tenant_key);
+/
+
+create unique index id_tax_agent_id_tax_return on hrsa_tax_agent_tax_return(tax_agent_id);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308080603.sql b/resource/sqlupgrade/ST/sql202308080603.sql
new file mode 100644
index 000000000..3fa4e6655
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308080603.sql
@@ -0,0 +1,51 @@
+create table hrsa_employee_declare_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ tax_cycle date,
+ request_id varchar2(100)
+);
+/
+
+create table hrsa_employee_declare
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ tax_cycle date,
+ employee_id number,
+ employee_type number,
+ employee_name varchar2(100),
+ job_num varchar2(100),
+ card_type number,
+ card_num varchar2(100),
+ gender varchar2(100),
+ birthday date,
+ employment_status number,
+ mobile varchar2(100),
+ employment_type number,
+ employment_first_year varchar2(100),
+ employment_date date,
+ dismiss_date date,
+ disability number,
+ disability_card_no varchar2(100),
+ lonely_old number,
+ martyr_dependents number,
+ martyr_dependents_card_no varchar2(100),
+ deduct_expenses number,
+ successfully_declared number,
+ new_employee_info number,
+ declare_status number,
+ declare_error_msg varchar2(1000)
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308090303.sql b/resource/sqlupgrade/ST/sql202308090303.sql
new file mode 100644
index 000000000..0a9e21cc4
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308090303.sql
@@ -0,0 +1,36 @@
+create table hrsa_tax_declare_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ salary_month date,
+ tax_cycle date,
+ remark varchar2(1000),
+ request_id varchar2(100),
+ tax_declare_type number,
+ tax_declare_status number
+);
+/
+
+alter table hrsa_tax_declare_record add display_update_icon number;
+/
+
+alter table hrsa_tax_declare_record add tax_pay_amount varchar2(255);
+/
+
+alter table hrsa_tax_declare_record add person_num int;
+/
+
+alter table hrsa_tax_declare_record add tax_declare_error_msg varchar2(1000);
+/
+
+alter table hrsa_tax_declare_record add tax_paid_amount varchar2(255);
+/
+
+alter table hrsa_tax_declare_record add tax_pure_paid_amount varchar2(255);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308100803.sql b/resource/sqlupgrade/ST/sql202308100803.sql
new file mode 100644
index 000000000..fd9ce7f25
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308100803.sql
@@ -0,0 +1,15 @@
+create table hrsa_tax_declare_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ employee_name varchar2(100),
+ card_num varchar2(100),
+ error_msg varchar2(1000)
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308110103.sql b/resource/sqlupgrade/ST/sql202308110103.sql
new file mode 100644
index 000000000..dea9e8743
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308110103.sql
@@ -0,0 +1,39 @@
+create table hrsa_tax_report_column
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_report_type varchar2(100),
+ income_category varchar2(100),
+ report_column_name varchar2(100),
+ report_column_data_index varchar2(100)
+);
+/
+
+create table hrsa_sob_tax_report_rule
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_sob_id number,
+ income_category varchar2(100),
+ report_column_data_index varchar2(100),
+ salary_item_id number
+);
+/
+
+alter table hrsa_tax_report_column add data_type varchar2(100);
+/
+
+alter table hrsa_tax_report_column add request_param_key varchar2(100);
+/
+
+alter table hrsa_tax_report_column add report_column_label varchar2(100);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308110203.sql b/resource/sqlupgrade/ST/sql202308110203.sql
new file mode 100644
index 000000000..d8ddbd9db
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308110203.sql
@@ -0,0 +1,18 @@
+create table hrsa_tax_declare_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ employee_name varchar2(100),
+ card_num varchar2(100),
+ error_msg varchar2(1000)
+);
+/
+
+alter table hrsa_tax_declare_fail add income_category varchar2(100);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308110303.sql b/resource/sqlupgrade/ST/sql202308110303.sql
new file mode 100644
index 000000000..2a4ef5ef9
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308110303.sql
@@ -0,0 +1,18 @@
+alter table hrsa_tax_declaration add tax_declare_record_id number;
+/
+
+alter table hrsa_tax_declaration add control_view int;
+/
+
+alter table hrsa_salary_acct_emp add income_category varchar2(100);
+/
+
+alter table hrsa_salary_acct_record add control_view int;
+/
+
+update hrsa_salary_acct_record set control_view = 0 where control_view is null;
+/
+
+update hrsa_tax_declaration set control_view = 0 where control_view is null;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308140203.sql b/resource/sqlupgrade/ST/sql202308140203.sql
new file mode 100644
index 000000000..fbeca581b
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308140203.sql
@@ -0,0 +1,16 @@
+create table hrsa_tax_declaration_value
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_declare_record_id number,
+ tax_declaration_id number,
+ employee_type number,
+ employee_id number,
+ result_value_json clob
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308150303.sql b/resource/sqlupgrade/ST/sql202308150303.sql
new file mode 100644
index 000000000..c8b267f97
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308150303.sql
@@ -0,0 +1,29 @@
+alter table hrsa_salary_sob_item add income_category varchar2(100);
+/
+
+alter table hrsa_salary_sob_item modify income_category default '1';
+/
+
+update hrsa_salary_sob_item set income_category = '1' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '1');
+/
+
+update hrsa_salary_sob_item set income_category = '2' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '2');
+/
+
+update hrsa_salary_sob_item set income_category = '4' where salary_sob_id IN
+(select id from hrsa_salary_sob where hrsa_salary_sob.income_category = '4');
+/
+
+alter table hrsa_salary_sob_item add salary_item_code varchar2(100);
+/
+
+update hrsa_salary_sob_item a
+set ( salary_item_code) = (
+ select code as salary_item_code
+ from hrsa_salary_item b
+ where a.salary_item_id = b.id
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308150503.sql b/resource/sqlupgrade/ST/sql202308150503.sql
new file mode 100644
index 000000000..e268c0264
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308150503.sql
@@ -0,0 +1,729 @@
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157061, null, null, null, 0, 'all_teams', '1', '2', '当期收入额', 'annualIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157062, null, null, null, 0, 'all_teams', '1', '2', '免税收入', 'annualTaxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157063, null, null, null, 0, 'all_teams', '1', '2', '其他', 'annualOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157064, null, null, null, 0, 'all_teams', '1', '2', '准予扣除的捐赠额', 'annualDonateTax', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157065, null, null, null, 0, 'all_teams', '1', '2', '减免税额', 'annualTaxSavings', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157066, null, null, null, 0, 'all_teams', '1', '2', '备注', 'annualRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157068, null, null, null, 0, 'all_teams', '1', '4', '当期收入额', 'laborIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157069, null, null, null, 0, 'all_teams', '1', '4', '免税收入', 'laborTaxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157070, null, null, null, 0, 'all_teams', '1', '4', '商业健康保险', 'commercialHealthInsurance4',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157071, null, null, null, 0, 'all_teams', '1', '4', '税延养老保险', 'taxDeferredEndowmentInsurance4',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157072, null, null, null, 0, 'all_teams', '1', '4', '允许扣除税费', 'allowedDeductTax4', 'number',
+ 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157073, null, null, null, 0, 'all_teams', '1', '4', '其他', 'other4', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157074, null, null, null, 0, 'all_teams', '1', '4', '减免税额', 'labor_tax_saving', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157075, null, null, null, 0, 'all_teams', '1', '4', '备注', 'description4', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157077, null, null, null, 0, 'all_teams', '1', '1', '本期收入', 'income', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157078, null, null, null, 0, 'all_teams', '1', '1', '本期免税收入', 'taxFreeIncome', 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157079, null, null, null, 0, 'all_teams', '1', '1', '基本养老保险费', 'endowmentInsurance', 'number',
+ 'jbylaobxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157080, null, null, null, 0, 'all_teams', '1', '1', '基本医疗保险费', 'medicalInsurance', 'number',
+ 'jbylbxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157081, null, null, null, 0, 'all_teams', '1', '1', '失业保险费', 'unemploymentInsurance', 'number',
+ 'sybxf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157082, null, null, null, 0, 'all_teams', '1', '1', '住房公积金', 'housingProvidentFund', 'number',
+ 'zfgjj');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157083, null, null, null, 0, 'all_teams', '1', '1', '累计子女教育', 'addUpChildEducation', 'number',
+ 'ljznjyzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157084, null, null, null, 0, 'all_teams', '1', '1', '累计住房贷款利息', 'addUpHousingLoanInterest',
+ 'number', 'ljzfdklxzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157085, null, null, null, 0, 'all_teams', '1', '1', '累计住房租金', 'addUpHousingRent', 'number',
+ 'ljzfzjzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157086, null, null, null, 0, 'all_teams', '1', '1', '累计赡养老人', 'addUpSupportElderly', 'number',
+ 'ljsylrzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157087, null, null, null, 0, 'all_teams', '1', '1', '累计继续教育', 'addUpContinuingEducation', 'number',
+ 'ljjxjyzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157088, null, null, null, 0, 'all_teams', '1', '1', '累计3岁以下婴幼儿照护支出', 'addUpInfantCare', 'number',
+ 'ljyyezhzc');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157089, null, null, null, 0, 'all_teams', '1', '1', '企业(职业)年金', 'annuity', 'number', 'nj');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157090, null, null, null, 0, 'all_teams', '1', '1', '商业健康保险', 'commercialHealthInsurance', 'number',
+ 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157091, null, null, null, 0, 'all_teams', '1', '1', '税延养老保险', 'taxDeferredEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157092, null, null, null, 0, 'all_teams', '1', '1', '其他', 'other', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157093, null, null, null, 0, 'all_teams', '1', '1', '准予扣除的捐赠额', 'allowedDonation', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157094, null, null, null, 0, 'all_teams', '1', '1', '减免税额', 'taxDeduction', 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157095, null, null, null, 0, 'all_teams', '1', '1', '备注', 'description', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157096, null, null, null, 0, 'all_teams', '1', '107', '一次性补偿收入', 'retireCompensationIncome',
+ 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157097, null, null, null, 0, 'all_teams', '1', '107', '本期工资收入', 'retireWageIncome', 'number',
+ 'bqgzs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157098, null, null, null, 0, 'all_teams', '1', '107', '免税收入', 'retireTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157099, null, null, null, 0, 'all_teams', '1', '107', '其他', 'retireOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157100, null, null, null, 0, 'all_teams', '1', '107', '准予扣除的捐赠额', 'retireAllowedDonation', 'number',
+ 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157101, null, null, null, 0, 'all_teams', '1', '107', '减免税额', 'retireTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157102, null, null, null, 0, 'all_teams', '1', '107', '备注', 'retireRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157103, null, null, null, 0, 'all_teams', '1', '107', '分摊月份数', 'retireSplitMonth', 'number',
+ 'ftyfs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157104, null, null, null, 0, 'all_teams', '1', '108', '当期收入额', 'dismissIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157105, null, null, null, 0, 'all_teams', '1', '108', '免税收入', 'dismissTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157106, null, null, null, 0, 'all_teams', '1', '108', '其他', 'dismissOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157107, null, null, null, 0, 'all_teams', '1', '108', '备注', 'dismissRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157108, null, null, null, 0, 'all_teams', '1', '108', '准予扣除的捐赠额', 'dismissAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157109, null, null, null, 0, 'all_teams', '1', '108', '减免税额', 'dismissTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157110, null, null, null, 0, 'all_teams', '1', '110', '当期收入额', 'annuityIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157111, null, null, null, 0, 'all_teams', '1', '110', '已完税缴费额', 'annuityTaxPaidAmount', 'number',
+ 'ywsjfe');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157112, null, null, null, 0, 'all_teams', '1', '110', '全部缴费额', 'annuityTotalPayment', 'number',
+ 'qbjfe');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157113, null, null, null, 0, 'all_teams', '1', '110', '是否一次性领取', 'annuityOneTimeReceive', 'string',
+ 'sfycxlq');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157114, null, null, null, 0, 'all_teams', '1', '110', '年金领取方式', 'annuityReceiveMethod', 'string',
+ 'njlqfs');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157115, null, null, null, 0, 'all_teams', '1', '110', '年金领取原因', 'annuityReceiveReason', 'string',
+ 'njlqyy');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157116, null, null, null, 0, 'all_teams', '1', '110', '免税收入', 'annuityTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157117, null, null, null, 0, 'all_teams', '1', '110', '减免税额', 'annuityTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157118, null, null, null, 0, 'all_teams', '1', '110', '商业健康保险', 'annuityHealthInsurance', 'number',
+ 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157119, null, null, null, 0, 'all_teams', '1', '110', '税延养老保险', 'annuityEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157120, null, null, null, 0, 'all_teams', '1', '110', '其他', 'annuityOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157121, null, null, null, 0, 'all_teams', '1', '110', '准予扣除的捐赠额', 'annuityAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157122, null, null, null, 0, 'all_teams', '1', '110', '备注', 'annuityRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157123, null, null, null, 0, 'all_teams', '1', '402', '当期收入额', 'insuranceIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157124, null, null, null, 0, 'all_teams', '1', '402', '免税收入', 'insuranceTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157125, null, null, null, 0, 'all_teams', '1', '402', '商业健康保险', 'insuranceHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157126, null, null, null, 0, 'all_teams', '1', '402', '税延养老保险', 'insuranceEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157127, null, null, null, 0, 'all_teams', '1', '402', '其他', 'insuranceOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157128, null, null, null, 0, 'all_teams', '1', '402', '备注', 'insuranceRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157129, null, null, null, 0, 'all_teams', '1', '402', '减免税额', 'insuranceTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157130, null, null, null, 0, 'all_teams', '1', '402', '允许扣除税费', 'insuranceAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157131, null, null, null, 0, 'all_teams', '1', '403', '当期收入额', 'securitiesIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157132, null, null, null, 0, 'all_teams', '1', '403', '免税收入', 'securitiesTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157133, null, null, null, 0, 'all_teams', '1', '403', '商业健康保险', 'securitiesHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157134, null, null, null, 0, 'all_teams', '1', '403', '税延养老保险', 'securitiesEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157135, null, null, null, 0, 'all_teams', '1', '403', '其他', 'securitiesOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157136, null, null, null, 0, 'all_teams', '1', '403', '备注', 'securitiesRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157137, null, null, null, 0, 'all_teams', '1', '403', '减免税额', 'securitiesTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157138, null, null, null, 0, 'all_teams', '1', '403', '允许扣除税费', 'securitiesAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157139, null, null, null, 0, 'all_teams', '1', '489', '当期收入额', 'otherContinuousLaborIncome',
+ 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157140, null, null, null, 0, 'all_teams', '1', '489', '免税收入', 'otherContinuousLaborTaxFreeIncome',
+ 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157141, null, null, null, 0, 'all_teams', '1', '489', '商业健康保险',
+ 'otherContinuousLaborHealthInsurance', 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157142, null, null, null, 0, 'all_teams', '1', '489', '税延养老保险',
+ 'otherContinuousLaborEndowmentInsurance', 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157143, null, null, null, 0, 'all_teams', '1', '489', '其他', 'otherContinuousLaborOther', 'number',
+ 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157144, null, null, null, 0, 'all_teams', '1', '489', '备注', 'otherContinuousLaborRemark', 'string',
+ 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157145, null, null, null, 0, 'all_teams', '1', '489', '减免税额', 'otherContinuousLaborTaxDeduction',
+ 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157146, null, null, null, 0, 'all_teams', '1', '489', '允许扣除税费',
+ 'otherContinuousLaborAllowedDeductTax', 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157147, null, null, null, 0, 'all_teams', '1', '499', '当期收入额', 'otherLaborIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157149, null, null, null, 0, 'all_teams', '1', '499', '免税收入', 'otherLaborTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157150, null, null, null, 0, 'all_teams', '1', '499', '商业健康保险', 'otherLaborHealthInsurance',
+ 'number', 'syjkbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157151, null, null, null, 0, 'all_teams', '1', '499', '税延养老保险', 'otherLaborEndowmentInsurance',
+ 'number', 'syylbx');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157152, null, null, null, 0, 'all_teams', '1', '499', '允许扣除税费', 'otherLaborAllowedDeductTax',
+ 'number', 'yxkcsf');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157153, null, null, null, 0, 'all_teams', '1', '499', '其他', 'otherLaborOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157154, null, null, null, 0, 'all_teams', '1', '499', '备注', 'otherLaborRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157155, null, null, null, 0, 'all_teams', '1', '499', '减免税额', 'otherLaborTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157156, null, null, null, 0, 'all_teams', '1', '500', '当期收入额', 'authorIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157157, null, null, null, 0, 'all_teams', '1', '500', '免税收入', 'authorTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157158, null, null, null, 0, 'all_teams', '1', '500', '其他', 'authorOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157159, null, null, null, 0, 'all_teams', '1', '500', '减免税额', 'authorTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157160, null, null, null, 0, 'all_teams', '1', '500', '备注', 'authorRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157161, null, null, null, 0, 'all_teams', '1', '600', '当期收入额', 'royaltiesIncome', 'number', 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157162, null, null, null, 0, 'all_teams', '1', '600', '免税收入', 'royaltiesTaxFreeIncome', 'number',
+ 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157163, null, null, null, 0, 'all_teams', '1', '600', '其他', 'royaltiesOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157164, null, null, null, 0, 'all_teams', '1', '600', '备注', 'royaltiesRemark', 'string', 'bz');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157165, null, null, null, 0, 'all_teams', '1', '600', '减免税额', 'royaltiesTaxDeduction', 'number',
+ 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157166, null, null, null, 0, 'all_teams', '1', '109', '本月股权激励收入', 'stockRightIncome', 'number',
+ 'sre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157167, null, null, null, 0, 'all_teams', '1', '109', '本年累计股权激励收入(不含本月)', 'stockRightAddUpIncome',
+ 'number', 'ljsre');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157168, null, null, null, 0, 'all_teams', '1', '109', '本年累计其他', 'stockRightOther', 'number', 'qt');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157169, null, null, null, 0, 'all_teams', '1', '109', '本年累计准予扣除的捐赠额', 'stockRightAllowedDonation',
+ 'number', 'zykcjze');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157170, null, null, null, 0, 'all_teams', '1', '109', '本年累计减免税额', 'stockRightTaxDeduction',
+ 'number', 'jmse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157171, null, null, null, 0, 'all_teams', '1', '109', '本年累计已扣缴税额', 'stockRightAddUpAdvanceTax',
+ 'number', 'ykjse');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157172, null, null, null, 0, 'all_teams', '1', '109', '本年累计免税收入', 'stockRightTaxFreeIncome',
+ 'number', 'mssd');
+/
+
+INSERT INTO hrsa_tax_report_column (id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type,
+ income_category, report_column_name, report_column_data_index, data_type,
+ request_param_key)
+VALUES (805915446042157173, null, null, null, 0, 'all_teams', '1', '109', '备注', 'stockRightRemark', 'string', 'bz');
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308150603.sql b/resource/sqlupgrade/ST/sql202308150603.sql
new file mode 100644
index 000000000..42973a3fa
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308150603.sql
@@ -0,0 +1,62 @@
+create table hrsa_sob_add_up_rule
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_sob_id number,
+ income_category varchar2(100),
+ salary_item_id number,
+ add_up_column_data_index varchar2(100)
+);
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpIncome', 'addUpSubtraction', 'addUpSocialSecurityTotal', 'addUpAccumulationFundTotal',
+ 'addUpEnterpriseAndOther', 'addUpOtherDeduction', 'addUpTaxExemptIncome',
+ 'addUpAllowedDonation', 'addUpTaxSavings');
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpTaxPayable' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpAdvanceTax';
+/
+
+delete from hrsa_sob_add_up_rule
+where income_category = 1
+ and add_up_column_data_index in ('addUpTaxPayable', 'addUpAdvanceTax');
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, 'addUpAdvanceTax' as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code = 'addUpTaxPayable';
+/
+
+insert into hrsa_sob_add_up_rule(id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, add_up_column_data_index)
+select id, create_time, update_time, creator, delete_type, tenant_key, salary_sob_id,
+ income_category, salary_item_id, salary_item_code as add_up_column_data_index
+from hrsa_salary_sob_item
+where delete_type = 0
+ and income_category = 1
+ and salary_item_code in ('addUpTaxableIncome','addUpTaxFreeIncome','addUpTaxDeduction');
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308170103.sql b/resource/sqlupgrade/ST/sql202308170103.sql
new file mode 100644
index 000000000..d52249496
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308170103.sql
@@ -0,0 +1,3 @@
+alter table hrsa_tax_payment_request add feedback int;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308230303.sql b/resource/sqlupgrade/ST/sql202308230303.sql
new file mode 100644
index 000000000..4867c56aa
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308230303.sql
@@ -0,0 +1,6 @@
+alter table hrsa_tax_agent_tax_return add city_name varchar2(400);
+/
+
+update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202308240201.sql b/resource/sqlupgrade/ST/sql202308240201.sql
new file mode 100644
index 000000000..c8aa4e1b1
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308240201.sql
@@ -0,0 +1,47 @@
+delete from HtmlLabelIndex where id = 544827 and ( trim(indexdesc) is null ) ;
+/
+
+insert into HtmlLabelIndex(id,indexdesc) select 544827,'智能算薪' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544827 and ( trim(indexdesc) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'Intelligent salary calculation' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544827 as indexid ,'智能算薪' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544827 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelIndex where id = 544826 and ( trim(indexdesc) is null ) ;
+/
+
+insert into HtmlLabelIndex(id,indexdesc) select 544826,'人员信息报送' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544826 and ( trim(indexdesc) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人员信息报送' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'Personnel information submission' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544826 as indexid ,'人員信息報送' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544826 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/ST/sql202308240302.sql b/resource/sqlupgrade/ST/sql202308240302.sql
new file mode 100644
index 000000000..b1a7f7b0e
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308240302.sql
@@ -0,0 +1,29 @@
+Delete from LeftMenuInfo where id=100191;
+/
+
+Delete from LeftMenuConfig where infoid=100191;
+/
+
+call LMConfig_U_ByInfoInsert (2,100181,1);
+/
+
+call LMInfo_Insert (100191,544827,'','',2,100181,1,18);
+/
+
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/intelligentCalculateSalarySettings' where id = 100191;
+/
+
+Delete from LeftMenuInfo where id=100192;
+/
+
+Delete from LeftMenuConfig where infoid=100192;
+/
+
+call LMConfig_U_ByInfoInsert (2,100118,7);
+/
+
+call LMInfo_Insert (100192,544826,'','',2,100118,7,18);
+/
+
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/employeedeclare' where id = 100192;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/ST/sql202308280203.sql b/resource/sqlupgrade/ST/sql202308280203.sql
new file mode 100644
index 000000000..77273e99e
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202308280203.sql
@@ -0,0 +1,47 @@
+create table hrsa_tax_api_flow_receiver
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ warn_config_id number not null,
+ employee_id number not null,
+ email varchar2(100),
+ mobile varchar2(50)
+);
+/
+
+create table hrsa_tax_api_flow_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ tax_agent_id number not null,
+ tax_month date not null,
+ use_time date not null,
+ deduct int,
+ employee_id number not null,
+ business_type int not null,
+ result_status int not null
+);
+/
+
+create table hrsa_tax_api_flow_warn_config
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ enable_warn int default 0 not null,
+ threshold int default 0 not null,
+ business_id number default '0' not null
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202309040303.sql b/resource/sqlupgrade/ST/sql202309040303.sql
new file mode 100644
index 000000000..5805822bc
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202309040303.sql
@@ -0,0 +1,40 @@
+create table hrsa_add_up_deduction_request
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ request_id number not null,
+ request_status number default 1 not null,
+ tax_year_month date not null,
+ outer_request_id varchar2(50) not null,
+ tax_agent_id number not null
+);
+/
+
+alter table hrsa_add_up_deduction_request add lock_version int;
+/
+
+alter table hrsa_add_up_deduction_request modify lock_version default 0;
+/
+
+create table hrsa_add_up_deduction_req_fail
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ request_id number not null,
+ employee_id number not null,
+ employee_type int not null,
+ tax_agent_id number not null,
+ reason varchar2(255) not null,
+ tax_year_month date not null,
+ outer_request_id varchar2(50) not null
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202309050203.sql b/resource/sqlupgrade/ST/sql202309050203.sql
new file mode 100644
index 000000000..2b3f805e1
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202309050203.sql
@@ -0,0 +1,30 @@
+alter table hrsa_add_up_situation add add_up_taxable_income varchar2(255);
+/
+
+alter table hrsa_add_up_situation add actual_add_up_advance_tax varchar2(255);
+/
+
+alter table hrsa_add_up_situation add tax_adjustment varchar2(255);
+/
+
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312885, 1, 674916065864646661, 1, 0, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), 0, 'all_teams', 703433961629614119, 5);
+/
+
+INSERT INTO hrsa_salary_sob_default_item(id, income_category, sys_salary_item_id, can_edit, can_delete, creator, create_time, update_time, delete_type, tenant_key, sob_default_item_group_id, sorted_index) VALUES (706066600446312886, 1, 674916065864646658, 1, 0, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), 0, 'all_teams', 703433961629614119, 6);
+/
+
+INSERT INTO hrsa_formula(id, name, description, module, use_for, reference_type, return_type, validate_type, extend_param, formula, formulaRunScript, creator, delete_type, create_time, update_time) VALUES (1693896072589, '当前累计减免税额合计', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{"isCustomFunction":"0","sqlReturnKey":"","openDecrypt":"0","datasource":{"datasourceId":""}}', '{薪资项目.本月(次)减免税额}+{往期累计情况.累计减免税额}', 'salaryItem_taxDeduction+addUpSituation_addUpTaxSavings', 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'));
+/
+
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072606, '本月(次)减免税额', 1693896072589, 'salaryItem_taxDeduction', '{薪资项目.本月(次)减免税额}', 'number', 'salaryItem', 0, 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'));
+/
+
+INSERT INTO hrsa_formula_var(id, name, formula_id, field_id, field_name, field_type, source, order_index, creator, delete_type, create_time, update_time) VALUES (1693896072611, '累计减免税额', 1693896072589, 'addUpSituation_addUpTaxSavings', '{往期累计情况.累计减免税额}', 'number', 'addUpSituation', 1, 27, 0, to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'), to_date('2022-05-10 16:03:02','yyyy-MM-dd HH24:mi:ss'));
+/
+
+update hrsa_sys_salary_item set value_type = 2 ,formula_id =1693896072589 where id = 674916065864646658;
+/
+
+update hrsa_salary_item set value_type =2 ,formula_id =1693896072589 where sys_salary_item_id = 674916065864646658;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202312190103.sql b/resource/sqlupgrade/ST/sql202312190103.sql
new file mode 100644
index 000000000..3956b4605
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202312190103.sql
@@ -0,0 +1,61 @@
+ALTER TABLE hrsa_tax_report_column ADD contrast_type int NULL;
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158174, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计收入额', 'addUpIncome', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158175, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计免税收入', 'addUpTaxFreeIncome', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158176, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减除费用', 'addUpSubtraction', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158177, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计专项扣除', 'addUpSpecialDeduction', 'number', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158184, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计其他扣除', 'addUpOtherDeduction', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158185, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计准予扣除的捐赠', 'addUpAllowedDonation', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158186, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税所得额', 'addUpTaxableIncome', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158187, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '税率', 'taxRate', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158188, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '速算扣除数', 'quickDeductionFactor', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158189, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计应纳税额', 'addUpTaxPayable', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158190, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计减免税额', 'addUpTaxDeduction', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158192, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '累计已缴税额', 'addUpAdvanceTax', '', NULL, NULL,1);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label,contrast_type) VALUES
+(805915446042158193, NULL, NULL, NULL, 0, 'all_teams', '1', '1', '应补(退)税额', 'refundedOrSupplementedTax', '', NULL, NULL,1);
+/
+
+update hrsa_tax_report_column set report_column_name = '累计3岁以下婴幼儿照护' where report_column_name = '累计3岁以下婴幼儿照护支出';
+/
+
+update hrsa_tax_report_column set contrast_type = 0;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202312270603.sql b/resource/sqlupgrade/ST/sql202312270603.sql
new file mode 100644
index 000000000..d239eb43a
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202312270603.sql
@@ -0,0 +1,10 @@
+ALTER TABLE hrsa_tax_declaration_value add (
+ source number
+);
+/
+
+ALTER TABLE hrsa_tax_declare_record add (
+ declare_request_id varchar2(100)
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202312270703.sql b/resource/sqlupgrade/ST/sql202312270703.sql
new file mode 100644
index 000000000..fa59157ed
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202312270703.sql
@@ -0,0 +1,3 @@
+update hrsa_tax_declaration_value set source = 0;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202403193303.sql b/resource/sqlupgrade/ST/sql202403193303.sql
new file mode 100644
index 000000000..4238b2123
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202403193303.sql
@@ -0,0 +1,12 @@
+ALTER TABLE hrsa_employee_declare ADD (
+nationality varchar2(255) NULL ,
+birthplace varchar2(255) NULL ,
+tax_reasons varchar2(255) NULL ,
+entry_date date NULL ,
+departure_date date NULL
+);
+/
+
+update hrsa_employee_declare set nationality = '中国' where nationality is null;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202404120303.sql b/resource/sqlupgrade/ST/sql202404120303.sql
new file mode 100644
index 000000000..3ce4e54d0
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202404120303.sql
@@ -0,0 +1,18 @@
+CREATE TABLE hrsa_tax_declare_status (
+id NUMBER(38,0) primary key NOT NULL,
+tax_declare_record_id NUMBER(38,0) NULL ,
+report_type number NULL ,
+request_id varchar2(100) ,
+tax_declare_type number NULL ,
+tax_declare_status number NULL ,
+display_update_icon number NULL ,
+tax_declare_error_msg varchar2(1000) ,
+person_num number NULL ,
+tax_pay_amount varchar2(255) ,
+tax_paid_amount varchar2(255) ,
+tax_pure_paid_amount varchar2(255) ,
+declare_request_id varchar2(100) ,
+delete_type number NULL
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202406170103.sql b/resource/sqlupgrade/ST/sql202406170103.sql
new file mode 100644
index 000000000..159a2e240
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202406170103.sql
@@ -0,0 +1,14 @@
+CREATE TABLE hrsa_sob_tax_rule (
+id NUMBER(38,0) primary key NOT NULL,
+salary_sob_id NUMBER(38,0) NULL ,
+income_category varchar2(100) ,
+tax_index varchar2(100) ,
+salary_item_id NUMBER(38,0) NULL ,
+creator NUMBER(38,0) DEFAULT 0,
+create_time DATE DEFAULT sysdate,
+update_time DATE DEFAULT sysdate,
+delete_type number DEFAULT 0,
+tenant_key varchar2(10) DEFAULT ''
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202406260403.sql b/resource/sqlupgrade/ST/sql202406260403.sql
new file mode 100644
index 000000000..f27cbf3c4
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202406260403.sql
@@ -0,0 +1,14 @@
+create table hrsa_api_task_record
+(
+ id number primary key ,
+ source varchar2(500) ,
+ api varchar2(500),
+ param clob ,
+ response clob,
+ create_time date,
+ update_time date,
+ delete_type int default 0,
+ tenant_key varchar2(10)
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202407170103.sql b/resource/sqlupgrade/ST/sql202407170103.sql
new file mode 100644
index 000000000..6326041b7
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202407170103.sql
@@ -0,0 +1,14 @@
+create table hrsa_acct_calc_tax_req
+(
+ id number primary key ,
+ create_time date default sysdate,
+ update_time date default sysdate,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ salary_acct_record_id number,
+ tax_agent_id number,
+ request_id varchar2(100)
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202412160303.sql b/resource/sqlupgrade/ST/sql202412160303.sql
new file mode 100644
index 000000000..76dc4c94e
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202412160303.sql
@@ -0,0 +1,122 @@
+create table hrsa_other_derate_deduction
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ other_deduction varchar2(50),
+ remark varchar2(255)
+);
+/
+
+create table hrsa_health_insurance
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ identification_number varchar2(255),
+ effective_date date,
+ year_premium varchar2(50),
+ month_premium varchar2(50),
+ current_deduction varchar2(50)
+);
+/
+
+create table hrsa_grant_donation
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ recipient_name varchar2(255),
+ tax_code varchar2(255),
+ donation_number varchar2(255),
+ donate_date date,
+ donate_amount varchar2(50),
+ deduction_proportion varchar2(10),
+ actual_deduction varchar2(50)
+);
+/
+
+create table hrsa_endowment_insurance
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ account_number varchar2(255),
+ check_code varchar2(255),
+ year_premium varchar2(50),
+ month_premium varchar2(50),
+ current_deduction varchar2(50),
+ deduction_month date
+);
+/
+
+create table hrsa_derate_deduction
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ derate_item varchar2(255),
+ derate_property varchar2(255),
+ derate_amount varchar2(255)
+);
+/
+
+create table hrsa_free_income
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ free_item varchar2(255),
+ free_property varchar2(255),
+ free_amount varchar2(255)
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202412160403.sql b/resource/sqlupgrade/ST/sql202412160403.sql
new file mode 100644
index 000000000..07a4c3c3b
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202412160403.sql
@@ -0,0 +1,18 @@
+alter table hrsa_derate_deduction add employee_type int;
+/
+
+alter table hrsa_endowment_insurance add employee_type int;
+/
+
+alter table hrsa_free_income add employee_type int;
+/
+
+alter table hrsa_grant_donation add employee_type int;
+/
+
+alter table hrsa_health_insurance add employee_type int;
+/
+
+alter table hrsa_other_derate_deduction add employee_type int;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202412230103.sql b/resource/sqlupgrade/ST/sql202412230103.sql
new file mode 100644
index 000000000..7d3959666
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202412230103.sql
@@ -0,0 +1,25 @@
+create table hrsa_personal_pension
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int default 0,
+ tenant_key varchar2(10),
+ main_id number,
+ tax_year_month date,
+ employee_id number,
+ tax_agent_id number,
+ file_status int,
+ voucher_type varchar2(255),
+ voucher_no varchar2(255),
+ pay_amount varchar2(255),
+ data_source int,
+ collect_source varchar2(50),
+ pay_month date,
+ eb_data_id number,
+ voucher_type_name varchar2(50),
+ employee_type int
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202412240103.sql b/resource/sqlupgrade/ST/sql202412240103.sql
new file mode 100644
index 000000000..3762c4a0d
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202412240103.sql
@@ -0,0 +1,10 @@
+ALTER TABLE hrsa_other_deduction ADD (
+ free_income varchar2(255) NULL
+);
+/
+
+ALTER TABLE hrsa_other_deduction ADD (
+ derate_deduction varchar2(255) NULL
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202503190103.sql b/resource/sqlupgrade/ST/sql202503190103.sql
new file mode 100644
index 000000000..9940e3121
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202503190103.sql
@@ -0,0 +1,38 @@
+create table hrsa_deduction_amount
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ year varchar2(100),
+ employee_id number,
+ employee_type number,
+ employee_name varchar2(100),
+ job_num varchar2(100),
+ card_type number,
+ card_num varchar2(100),
+ nationality varchar2(200),
+ deduct_flag number,
+ successfully_declared number,
+ declare_status number,
+ declare_error_msg varchar2(1000)
+);
+/
+
+create table hrsa_deduction_amount_record
+(
+ id number primary key ,
+ create_time date,
+ update_time date,
+ creator number,
+ delete_type int,
+ tenant_key varchar2(10),
+ tax_agent_id number,
+ year varchar2(100),
+ request_id varchar2(100)
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202506190103.sql b/resource/sqlupgrade/ST/sql202506190103.sql
new file mode 100644
index 000000000..952cd69b8
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202506190103.sql
@@ -0,0 +1,24 @@
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158200, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '当期收入额', 'dividendsIncome', 'number', 'sre', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158201, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '免税收入', 'dividendsFreeIncome', 'number', 'mssd', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158202, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '准予扣除的捐赠额', 'dividendsAllowedDonation', 'number', 'zykcjze', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158203, NULL, NULL, NULL, 0, 'all_teams', '1', '800', '减免税额', 'dividendsTaxDeduction', 'string', 'jmse', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158204, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '本期收入', 'listedCompanyIncome', 'number', 'sre', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158206, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '免税收入', 'listedCompanyFreeIncome', 'number', 'mssd', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158207, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '准予扣除的捐赠额', 'listedCompanyAllowedDonation', 'number', 'zykcjze', NULL, 0);
+/
+
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (805915446042158208, NULL, NULL, NULL, 0, 'all_teams', '1', '810', '减免税额', 'listedCompanyTaxDeduction', 'string', 'jmse', NULL, 0);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202507010303.sql b/resource/sqlupgrade/ST/sql202507010303.sql
new file mode 100644
index 000000000..a25d13d65
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202507010303.sql
@@ -0,0 +1,21 @@
+ALTER TABLE hrsa_free_income ADD income_category int;
+/
+
+ALTER TABLE hrsa_derate_deduction ADD income_category int;
+/
+
+ALTER TABLE hrsa_endowment_insurance ADD income_category int;
+/
+
+ALTER TABLE hrsa_grant_donation ADD income_category int;
+/
+
+ALTER TABLE hrsa_health_insurance ADD income_category int;
+/
+
+ALTER TABLE hrsa_other_derate_deduction ADD income_category int;
+/
+
+ALTER TABLE hrsa_personal_pension ADD income_category int;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202507010403.sql b/resource/sqlupgrade/ST/sql202507010403.sql
new file mode 100644
index 000000000..69d97a34e
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202507010403.sql
@@ -0,0 +1,21 @@
+update hrsa_free_income set income_category = 1;
+/
+
+update hrsa_derate_deduction set income_category = 1;
+/
+
+update hrsa_endowment_insurance set income_category = 1;
+/
+
+update hrsa_grant_donation set income_category = 1;
+/
+
+update hrsa_health_insurance set income_category = 1;
+/
+
+update hrsa_other_derate_deduction set income_category = 1;
+/
+
+update hrsa_personal_pension set income_category = 1;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202507110103.sql b/resource/sqlupgrade/ST/sql202507110103.sql
new file mode 100644
index 000000000..a942c94e6
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202507110103.sql
@@ -0,0 +1,3 @@
+alter table hrsa_tax_payment_request add report_type number(11) null;
+/
+
diff --git a/resource/wiki/寰呮坊鍔爏ql b/resource/wiki/寰呮坊鍔爏ql
new file mode 100644
index 000000000..8452d9a87
--- /dev/null
+++ b/resource/wiki/寰呮坊鍔爏ql
@@ -0,0 +1,61 @@
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (700000000000000001, NULL, NULL, NULL, 0, 'all_teams', '1', '700', '褰撴湡鏀跺叆棰', 'royaltiesIncome', 'number', 'sre', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (700000000000000002, NULL, NULL, NULL, 0, 'all_teams', '1', '700', '鍏嶇◣鏀跺叆', 'royaltiesTaxFreeIncome', 'number', 'mssd', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (700000000000000003, NULL, NULL, NULL, 0, 'all_teams', '1', '700', '鍏朵粬', 'royaltiesOther', 'number', 'qt', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (700000000000000004, NULL, NULL, NULL, 0, 'all_teams', '1', '700', '澶囨敞', 'royaltiesRemark', 'string', 'bz', NULL, 0);
+INSERT INTO hrsa_tax_report_column(id, create_time, update_time, creator, delete_type, tenant_key, tax_report_type, income_category, report_column_name, report_column_data_index, data_type, request_param_key, report_column_label, contrast_type) VALUES (700000000000000005, NULL, NULL, NULL, 0, 'all_teams', '1', '700', '鍑忓厤绋庨', 'royaltiesTaxDeduction', 'number', 'jmse', NULL, 0);
+
+
+CREATE TABLE hrsa_api_task_record (
+ id bigint(0) NOT NULL ,
+ source varchar(500) ,
+ api varchar(500),
+ param text ,
+ response text,
+ tenant_key varchar(255) ,
+ delete_type int(0) ,
+ create_time datetime(0),
+ update_time datetime(0),
+ PRIMARY KEY (id) USING BTREE
+);
+
+create table hrsa_api_task_record
+(
+ id number primary key ,
+ source varchar2(500) ,
+ api varchar2(500),
+ param clob ,
+ response clob,
+ create_time date,
+ update_time date,
+ delete_type int default 0,
+ tenant_key varchar2(10)
+)
+/
+
+create table hrsa_api_task_record
+(
+ id bigint primary key ,
+ source varchar(500) ,
+ api varchar(500),
+ param ntext ,
+ response ntext,
+ create_time datetime,
+ update_time datetime,
+ delete_type int default 0,
+ tenant_key nvarchar(10)
+)
+GO
+
+create table hrsa_api_task_record
+(
+ id bigint primary key ,
+ source varchar(500) ,
+ api varchar(500),
+ param text ,
+ response text,
+ create_time timestamp,
+ update_time timestamp,
+ delete_type int default 0,
+ tenant_key varchar(10)
+);
+/
\ No newline at end of file
diff --git a/resource/wiki/鎵╁睍鍔熻兘/hrmSalaryCustom.properties b/resource/wiki/鎵╁睍鍔熻兘/hrmSalaryCustom.properties
index e23e93c1f..9d6a1e623 100644
--- a/resource/wiki/鎵╁睍鍔熻兘/hrmSalaryCustom.properties
+++ b/resource/wiki/鎵╁睍鍔熻兘/hrmSalaryCustom.properties
@@ -1,2 +1,4 @@
-formulaRunOvertimeThreshold=100
-personNumberInOneThread = 100
\ No newline at end of file
+formulaRunOvertimeThreshold=10
+personNumberInOneThread = 100
+flowNoticeMessageType=2022060951
+salaryDateFormat=yyyy-MM
diff --git a/src/com/api/salary/web/DeductionAmountController.java b/src/com/api/salary/web/DeductionAmountController.java
new file mode 100644
index 000000000..b18635031
--- /dev/null
+++ b/src/com/api/salary/web/DeductionAmountController.java
@@ -0,0 +1,15 @@
+package com.api.salary.web;
+
+import javax.ws.rs.Path;
+
+/**
+ * 骞存敹鍏ヤ笉瓒6涓囧厓鐨勭撼绋庝汉鏆備笉棰勬墸棰勭即绋庢鎵i櫎鍚嶅崟
+ * Copyright: Copyright (c) 2023
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
+@Path("/bs/hrmsalary/deductionAmount")
+public class DeductionAmountController extends com.engine.salary.web.DeductionAmountController {
+}
diff --git a/src/com/api/salary/web/EmployeeDeclareController.java b/src/com/api/salary/web/EmployeeDeclareController.java
new file mode 100644
index 000000000..a895f531f
--- /dev/null
+++ b/src/com/api/salary/web/EmployeeDeclareController.java
@@ -0,0 +1,15 @@
+package com.api.salary.web;
+
+import javax.ws.rs.Path;
+
+/**
+ * 浜哄憳鎶ラ
+ * Copyright: Copyright (c) 2023
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
+@Path("/bs/hrmsalary/employeedeclare")
+public class EmployeeDeclareController extends com.engine.salary.web.EmployeeDeclareController {
+}
diff --git a/src/com/api/salary/web/TaxAgentTaxReturnController.java b/src/com/api/salary/web/TaxAgentTaxReturnController.java
new file mode 100644
index 000000000..85af9c074
--- /dev/null
+++ b/src/com/api/salary/web/TaxAgentTaxReturnController.java
@@ -0,0 +1,7 @@
+package com.api.salary.web;
+
+import javax.ws.rs.Path;
+
+@Path("/bs/hrmsalary/taxAgent/taxReturn")
+public class TaxAgentTaxReturnController extends com.engine.salary.web.TaxAgentTaxReturnController{
+}
diff --git a/src/com/api/salary/web/TaxDeclarationApiFlowController.java b/src/com/api/salary/web/TaxDeclarationApiFlowController.java
new file mode 100644
index 000000000..14eff76b5
--- /dev/null
+++ b/src/com/api/salary/web/TaxDeclarationApiFlowController.java
@@ -0,0 +1,16 @@
+package com.api.salary.web;
+
+import javax.ws.rs.Path;
+
+/**
+ * 鏅鸿兘绠楄柂-璁¤垂
+ * Copyright: Copyright (c) 2023
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
+@Path("/bs/hrmsalary/taxdeclaration/apiflow")
+public class TaxDeclarationApiFlowController extends com.engine.salary.web.TaxDeclarationApiFlowController{
+
+}
diff --git a/src/com/api/salary/web/TaxDeclarationApiFlowStatisticController.java b/src/com/api/salary/web/TaxDeclarationApiFlowStatisticController.java
new file mode 100644
index 000000000..9b28c4f32
--- /dev/null
+++ b/src/com/api/salary/web/TaxDeclarationApiFlowStatisticController.java
@@ -0,0 +1,13 @@
+package com.api.salary.web;
+
+import javax.ws.rs.Path;
+
+/**
+ * 鏅鸿兘绠楄柂-璁¤垂
+ *
+ * @author chengliming
+ * @date 2022-11-15 16:05:40
+ */
+@Path("/bs/hrmsalary/taxdeclaration/apiflow/statistics")
+public class TaxDeclarationApiFlowStatisticController extends com.engine.salary.web.TaxDeclarationApiFlowStatisticController {
+}
diff --git a/src/com/api/salary/web/TaxDeclarationApiFlowWarnController.java b/src/com/api/salary/web/TaxDeclarationApiFlowWarnController.java
new file mode 100644
index 000000000..a873eaaa4
--- /dev/null
+++ b/src/com/api/salary/web/TaxDeclarationApiFlowWarnController.java
@@ -0,0 +1,13 @@
+package com.api.salary.web;
+
+import javax.ws.rs.Path;
+
+/**
+ * 鏅鸿兘绠楄柂-娴侀噺涓嶈冻鎻愰啋
+ *
+ * @author chengliming
+ * @date 2022-11-15 16:05:40
+ */
+@Path("/bs/hrmsalary/taxdeclaration/apiflow/warn")
+public class TaxDeclarationApiFlowWarnController extends com.engine.salary.web.TaxDeclarationApiFlowWarnController {
+}
diff --git a/src/com/api/salary/web/TaxPaymentController.java b/src/com/api/salary/web/TaxPaymentController.java
new file mode 100644
index 000000000..d29574206
--- /dev/null
+++ b/src/com/api/salary/web/TaxPaymentController.java
@@ -0,0 +1,9 @@
+package com.api.salary.web;
+
+
+import javax.ws.rs.Path;
+
+@Path("/bs/hrmsalary/taxPayment")
+public class TaxPaymentController extends com.engine.salary.web.TaxPaymentController{
+
+}
diff --git a/src/com/engine/salary/annotation/SalaryFormulaVar.java b/src/com/engine/salary/annotation/SalaryFormulaVar.java
index 2e3077158..c5d10b7d7 100644
--- a/src/com/engine/salary/annotation/SalaryFormulaVar.java
+++ b/src/com/engine/salary/annotation/SalaryFormulaVar.java
@@ -24,4 +24,10 @@ public @interface SalaryFormulaVar {
String dataType();
String fieldId() default "";
+
+ /**
+ * 鍒悕,鐢ㄤ簬灞炴у悕鍜岄」鐩悕涓嶅尮閰嶆椂鍦烘櫙
+ * @return
+ */
+ String alias() default "";
}
diff --git a/src/com/engine/salary/annotation/TaxField.java b/src/com/engine/salary/annotation/TaxField.java
new file mode 100644
index 000000000..57495febf
--- /dev/null
+++ b/src/com/engine/salary/annotation/TaxField.java
@@ -0,0 +1,12 @@
+package com.engine.salary.annotation;
+
+import java.lang.annotation.*;
+
+@Target({ElementType.FIELD})
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface TaxField {
+ String name();
+
+ String taxIndex();
+}
diff --git a/src/com/engine/salary/cache/SalaryCacheKey.java b/src/com/engine/salary/cache/SalaryCacheKey.java
index 4d0d19280..f9799af59 100644
--- a/src/com/engine/salary/cache/SalaryCacheKey.java
+++ b/src/com/engine/salary/cache/SalaryCacheKey.java
@@ -15,6 +15,11 @@ public class SalaryCacheKey {
*/
public final static String ACCT_PROGRESS = "ACCT_PROGRESS_";
+ /**
+ * 鏍哥畻绋庡悗宸ヨ祫杩涘害
+ */
+ public final static String AFTER_TAXA_CCT_PROGRESS = "AFTER_TAX_ACCT_PROGRESS_";
+
/**
* 钖祫鏍哥畻鐨勮处濂楅厤缃
*/
diff --git a/src/com/engine/salary/cache/SalaryModuleKey.java b/src/com/engine/salary/cache/SalaryModuleKey.java
index 9a400744d..2e56259fe 100644
--- a/src/com/engine/salary/cache/SalaryModuleKey.java
+++ b/src/com/engine/salary/cache/SalaryModuleKey.java
@@ -1,12 +1,13 @@
package com.engine.salary.cache;
/**
- * @description: 鐢ㄤ簬鎷疯礉瀹氫箟鎵鏈夌殑妯″潡key锛屾寜鐓фā鍧楀悕瑙勮寖琛ㄨ繘琛屽畾涔夛紝渚夸簬寮鍙戝紩鐢ㄣ傝姹傚彉閲忓悕鍜屽彉閲忓煎繀椤诲畬鍏ㄤ繚鎸佷竴鑷
- * @author: xiajun
- * @modified By: xiajun
- * @date: Created in 12/13/21 11:24 AM
- * @version:v1.0
- */
+ * 鐢ㄤ簬鎷疯礉瀹氫箟鎵鏈夌殑妯″潡key锛屾寜鐓фā鍧楀悕瑙勮寖琛ㄨ繘琛屽畾涔夛紝渚夸簬寮鍙戝紩鐢ㄣ傝姹傚彉閲忓悕鍜屽彉閲忓煎繀椤诲畬鍏ㄤ繚鎸佷竴鑷
+ * Copyright: Copyright (c) 2023
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
public class SalaryModuleKey {
/**
diff --git a/src/com/engine/salary/common/OptionDTO.java b/src/com/engine/salary/common/OptionDTO.java
new file mode 100644
index 000000000..b8e126406
--- /dev/null
+++ b/src/com/engine/salary/common/OptionDTO.java
@@ -0,0 +1,27 @@
+package com.engine.salary.common;
+
+import io.swagger.annotations.ApiModel;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * 浜哄憳閫夐」
+ * Copyright: Copyright (c) 2023
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+@ApiModel("浜哄憳閫夐」")
+public class OptionDTO {
+
+ //浜哄憳ID")
+ private String id;
+
+ //浜哄憳濮撳悕")
+ private String content;
+}
diff --git a/src/com/engine/salary/common/YearMonthRange.java b/src/com/engine/salary/common/YearMonthRange.java
new file mode 100644
index 000000000..feba6b5e4
--- /dev/null
+++ b/src/com/engine/salary/common/YearMonthRange.java
@@ -0,0 +1,29 @@
+package com.engine.salary.common;
+
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+import java.util.Date;
+
+/**
+ * 鏈堜唤鑼冨洿
+ * Copyright: Copyright (c) 2023
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
+@Data
+@Accessors(chain = true)
+public class YearMonthRange {
+
+ //寮濮嬫湀浠
+ @JsonSerialize(using = ToStringSerializer.class)
+ private Date startMonth;
+
+ //寮濮嬫湀浠
+ @JsonSerialize(using = ToStringSerializer.class)
+ private Date endMonth;
+}
diff --git a/src/com/engine/salary/common/taxdeclare/AsyncRequestIdDTO.java b/src/com/engine/salary/common/taxdeclare/AsyncRequestIdDTO.java
new file mode 100644
index 000000000..d294062b1
--- /dev/null
+++ b/src/com/engine/salary/common/taxdeclare/AsyncRequestIdDTO.java
@@ -0,0 +1,18 @@
+package com.engine.salary.common.taxdeclare;
+
+import lombok.Data;
+
+/**
+ * 寮傛鎺ュ彛涓殑requestId
+ * Copyright: Copyright (c) 2023
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
+@Data
+public class AsyncRequestIdDTO {
+
+ //寮傛鎺ュ彛涓殑requestId")
+ private String requestId;
+}
diff --git a/src/com/engine/salary/config/SalaryPermissionConfig.java b/src/com/engine/salary/config/SalaryPermissionConfig.java
index 7703e9267..61abe6086 100644
--- a/src/com/engine/salary/config/SalaryPermissionConfig.java
+++ b/src/com/engine/salary/config/SalaryPermissionConfig.java
@@ -22,11 +22,11 @@
//@Configuration
//public class SalaryPermissionConfig {
//
-// @Autowired
+//
// private PermissionConfig permissionConfig;
-// @Autowired
+//
// private PermissionModuleSourceService permissionModuleSourceService;
-// @Autowired
+//
// private PermissionModuleTargetService permissionModuleTargetService;
//
// public static final String TABLE_NAME = "hrsa";
diff --git a/src/com/engine/salary/constant/SalaryDefaultTenantConstant.java b/src/com/engine/salary/constant/SalaryDefaultTenantConstant.java
index 2d5ca8a1b..a185dff62 100644
--- a/src/com/engine/salary/constant/SalaryDefaultTenantConstant.java
+++ b/src/com/engine/salary/constant/SalaryDefaultTenantConstant.java
@@ -2,7 +2,7 @@ package com.engine.salary.constant;
/**
* 榛樿鐨勭鎴穔ey
- * Copyright: Copyright (c) 2024
+ * Copyright: Copyright (c) 2023
* Company: 娉涘井杞欢
*
* @author qiantao
diff --git a/src/com/engine/salary/constant/SalaryItemConstant.java b/src/com/engine/salary/constant/SalaryItemConstant.java
index 58840b5f3..e54e684f7 100644
--- a/src/com/engine/salary/constant/SalaryItemConstant.java
+++ b/src/com/engine/salary/constant/SalaryItemConstant.java
@@ -40,5 +40,10 @@ public class SalaryItemConstant {
*/
public static final String RESULT_EXPORT_FIELD_SIGN="_salaryAcctResultExportFieldSign";
+ /**
+ * 涓◣鐢虫姤鍦ㄧ嚎瀵规瘮缂撳瓨琛ㄥご瀛楁key
+ */
+ public static final String TAX_DECLARE_CONTRAST_FIELD_SIGN="_taxDeclareContrastFieldSign";
+
}
diff --git a/src/com/engine/salary/constant/SalaryItemDataTypeConstant.java b/src/com/engine/salary/constant/SalaryItemDataTypeConstant.java
index c2150c2dc..d438db46d 100644
--- a/src/com/engine/salary/constant/SalaryItemDataTypeConstant.java
+++ b/src/com/engine/salary/constant/SalaryItemDataTypeConstant.java
@@ -1,12 +1,13 @@
package com.engine.salary.constant;
/**
- * @description: 钖祫椤圭洰鐨勫肩殑瀛楁绫诲瀷
- * @author: xiajun
- * @modified By: xiajun
- * @date: Created in 2/9/22 1:56 PM
- * @version:v1.0
- */
+ * 钖祫椤圭洰鐨勫肩殑瀛楁绫诲瀷
+ * Copyright: Copyright (c) 2023
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
public class SalaryItemDataTypeConstant {
/**
diff --git a/src/com/engine/salary/constant/SzyhApiConstant.java b/src/com/engine/salary/constant/SzyhApiConstant.java
new file mode 100644
index 000000000..7697a206a
--- /dev/null
+++ b/src/com/engine/salary/constant/SzyhApiConstant.java
@@ -0,0 +1,230 @@
+package com.engine.salary.constant;
+
+/**
+ * 绁炲窞浜戝悎api甯搁噺
+ * Copyright: Copyright (c) 2023
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
+public class SzyhApiConstant {
+
+ /**
+ * 鎺ュ彛HOST
+ */
+ public static final String HOST_URL = "https://ddapi.bigfintax.com/";
+
+ /**
+ * 娴嬭瘯鎺ュ彛host
+ */
+ public static final String TEST_HOST_URL = "https://uat-ddapi.bigfintax.com/";
+
+ /**
+ * 浼佷笟娉ㄥ唽鎺ュ彛
+ */
+ public static final String GET_REGISTER_INFO_URL = "gateway/iit/service/getCompanyRegisterInfo";
+ /**
+ * 浼佷笟娉ㄥ唽鍙嶉鎺ュ彛
+ */
+ public static final String GET_REGISTER_INFO_FEEDBACK_URL = "/gateway/iit/service/getCompanyRegisterInfoFeedback";
+
+ /**
+ * 鏍¢獙瀵嗙爜鎺ュ彛
+ */
+ public static final String CHECK_PASSWORD_URL = "gateway/iit/service/check/checkPassword";
+ /**
+ * 鏍¢獙瀵嗙爜鍙嶉鎺ュ彛
+ */
+ public static final String CHECK_PASSWORD_FEEDBACK_URL = "gateway/iit/service/check/getCheckPasswordFeedback";
+
+ /**
+ * 浜哄憳涓撻」闄勫姞鎵i櫎淇℃伅鏌ヨ
+ */
+ public static final String QUERY_SPECIAL_AMOUNT = "gateway/iit/special/querySpecialAmount";
+
+ /**
+ * 浜哄憳涓撻」闄勫姞鎵i櫎淇℃伅鏌ヨ鍙嶉
+ */
+ public static final String GET_QUERY_SPECIAL_AMOUNT_FEEDBACK = "gateway/iit/special/getQuerySpecialAmountFeedback";
+
+ /**
+ * 鎶ラ佷汉鍛樻帴鍙
+ */
+ public static final String DECLARE_EMPLOYEE_INFO = "gateway/iit/declare/declareEmployeeInfo";
+
+ /**
+ * 鎶ラ佷汉鍛樿幏鍙栧弽棣堟帴鍙
+ */
+ public static final String DECLARE_EMPLOYEE_INFO_FEEDBACK = "gateway/iit/declare/getEmployeeInfoFeedback";
+
+ /**
+ * 涓◣鐢虫姤
+ */
+ public static final String DECLARE_TAX = "gateway/iit/report/send";
+
+ /**
+ * 鑾峰彇涓◣鐢虫姤鍙嶉
+ */
+ public static final String DECLARE_TAX_FEEDBACK = "gateway/iit/report/getFeedback";
+
+ /**
+ * 浣滃簾鐢虫姤
+ */
+ public static final String CANCEL_DECLARE = "gateway/iit/report/cancel";
+
+ /**
+ * 鑾峰彇浣滃簾鐢虫姤鍙嶉
+ */
+ public static final String CANCEL_DECLARE_FEEDBACK = "gateway/iit/report/getCancelFeedback";
+
+ /**
+ * 鏇存鐢虫姤
+ */
+ public static final String UPDATE_DECLARE = "/gateway/iit/service/correct";
+
+ /**
+ * 鏇存鐢虫姤鍙嶉
+ */
+ public static final String UPDATE_DECLARE_FEEDBACK = "/gateway/iit/service/getCorrectFeedback";
+
+ /**
+ * 鎾ら攢鏇存鐢虫姤
+ */
+ public static final String CANCEL_CORRECT = "gateway/iit/report/cancelCorrect";
+
+ /**
+ * 浼佷笟鐢虫姤鏁版嵁鏄庣粏鏌ヨ
+ */
+ public static final String GET_COMPANY_INCOMES = "gateway/iit/service/getCompanyIncomes";
+
+ /**
+ * 浼佷笟鐢虫姤鏁版嵁鏄庣粏鏌ヨ鍙嶉
+ */
+ public static final String GET_COMPANY_INCOMES_FEEDBACK = "gateway/iit/service/getCompanyIncomesFeedback";
+
+ /**
+ * 鑾峰彇娴侀噺缁熻鎯呭喌
+ */
+ public static final String QUERY_ACCOUNT_BALANCE = "gateway/iit/statistic/queryAccountBalance";
+
+ /**
+ * 鏌ヨ绋庡彿娴侀噺鏄庣粏
+ */
+ public static final String QUERY_DETAILS_BY_TAX_NUMBER = "gateway/iit/statistic/queryDetailsByTaxNumber";
+
+ /**
+ * 鑾峰彇浼佷笟涓夋柟淇℃伅
+ */
+ public static final String QUERY_AGREEMENT = "gateway/iit/payment/queryAgreement";
+
+ /**
+ * 鑾峰彇浼佷笟涓夋柟淇℃伅鏌ヨ鍙嶉
+ */
+ public static final String GET_AGREEMENT_QUERY_FEEDBACK = "gateway/iit/payment/getAgreementQueryFeedback";
+
+ /**
+ * 涓夋柟鍗忚缂存
+ */
+ public static final String DECLARE_WITH_HOLDING = "gateway/iit/payment/declareWithholding";
+
+ /**
+ * 涓夋柟鍗忚缂存鍙嶉
+ */
+ public static final String DECLARE_WITH_HOLDING_FEEDBACK = "gateway/iit/payment/getWithholdingFeedback";
+
+ /**
+ * 缂存鍑瘉
+ */
+ public static final String WITHHOLDING_VOUCHER = "gateway/iit/payment/withholdingVoucher";
+
+ /**
+ * 缂存鍑瘉鍙嶉
+ */
+ public static final String WITHHOLDING_VOUCHER_FEEDBACK = "gateway/iit/payment/getWithholdingVoucherFeedback";
+
+ /**
+ * 缂存鍑瘉浣滃簾
+ */
+ public static final String CANCEL_WITHHOLDING_VOUCHER = "gateway/iit/service/cancelWithholdingVoucher";
+
+ /**
+ * 缂存鍑瘉浣滃簾鍙嶉
+ */
+ public static final String CANCEL_WITHHOLDING_VOUCHER_FEEDBACK = "gateway/iit/service/getCancelWithholdingVoucher";
+
+
+ /**
+ * 瀹岀◣璇佹槑
+ */
+ public static final String GET_WITHHELD_VOUCHER = "gateway/iit/service/getWithheldVoucher";
+
+ /**
+ * 瀹岀◣璇佹槑鍙嶉
+ */
+ public static final String GET_WITHHELD_VOUCHER_FEEDBACK = "gateway/iit/service/getWithheldVoucherFeedback";
+
+ /**
+ * 鏌ヨ缂存鐘舵
+ */
+ public static final String GET_SYNC_WITHHOLDING_FEEDBACK = "gateway/iit/service/getSyncWithholdingFeedback";
+
+ /**
+ * 鏌ヨ缂存鐘舵佸弽棣
+ */
+ public static final String GET_SYNC_WITHHOLDING_FEEDBACK_FEEDBACK = "gateway/iit/service/getSyncWithholding";
+
+
+ /**
+ * 涓汉鍏昏侀噾涓嬭浇
+ */
+ public static final String DOWNLOAD_PERSONAL_PENSION = "gateway/iit/personalPension/download";
+ /**
+ * 鑾峰彇涓汉鍏昏侀噾涓嬭浇鍙嶉
+ */
+ public static final String DOWNLOAD_PERSONAL_PENSION_FEEDBACK = "gateway/iit/personalPension/getDownloadFeedback";
+ /**
+ * 寮傛璁$畻涓◣
+ */
+ public static final String CALCULATE_ASYN_INDIVIDUAL_INCOME_TAX = "gateway/iit/calculateTax/calculateASynIndividualIncomeTax";
+ /**
+ * 鏌ヨ绠楃◣鍙嶉缁撴灉
+ */
+ public static final String ASYN_INDIVIDUAL_INCOME_TAX_FEEDBACK = "gateway/iit/calculateTax/getASynIndividualIncomeTaxFeedback";
+
+
+
+
+ /**
+ * 璇锋眰鎴愬姛鐘舵佺爜
+ */
+ public static final String SUCCESS_CODE = "00000000";
+
+ /**
+ * 澶勭悊涓姸鎬佺爜
+ */
+ public static final String HANDLING_CODE = "000004";
+
+ /**
+ * 寮傛璁$畻浠诲姟杩樻湭缁撴潫
+ */
+ public static final String TASK_HANDLING_CODE = "100004";
+
+ /**
+ * 浼佷笟鏈嶅姟涓嶅彲鐢
+ */
+ public static final String APP_DISABLED_CODE = "990006";
+
+ /**
+ * 浼佷笟鏈嶅姟宸插仠鐢
+ */
+ public static final String APP_PAUSED_CODE = "990007";
+ /**
+ * 閿欒鐮
+ */
+ public static final String ERROR_CODE = "ITGCUS0002";
+ /**
+ * 鏃犵即娆惧嚟璇
+ */
+ public static final String NONE_VOUCHER_CODE = "200028";
+}
diff --git a/src/com/engine/salary/constant/TaxRateDataIndexConstant.java b/src/com/engine/salary/constant/TaxRateDataIndexConstant.java
index f77d025d6..632b95e5c 100644
--- a/src/com/engine/salary/constant/TaxRateDataIndexConstant.java
+++ b/src/com/engine/salary/constant/TaxRateDataIndexConstant.java
@@ -1,12 +1,13 @@
package com.engine.salary.constant;
/**
- * @description: 涓◣绋庣巼琛ㄦ槑缁嗚〃鐨刣ataIndex
- * @author: xiajun
- * @modified By: xiajun
- * @date: Created in 1/17/22 1:58 PM
- * @version:v1.0
- */
+ * 涓◣绋庣巼琛ㄦ槑缁嗚〃鐨刣ataIndex
+ * Copyright: Copyright (c) 2023
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
public class TaxRateDataIndexConstant {
/**
diff --git a/src/com/engine/salary/entity/agency/bo/PaymentAgencyBO.java b/src/com/engine/salary/entity/agency/bo/PaymentAgencyBO.java
index 25956b123..54ec34211 100644
--- a/src/com/engine/salary/entity/agency/bo/PaymentAgencyBO.java
+++ b/src/com/engine/salary/entity/agency/bo/PaymentAgencyBO.java
@@ -7,8 +7,8 @@ import com.engine.salary.enums.sicategory.DeleteTypeEnum;
import com.engine.salary.util.db.IdGenerator;
import org.apache.commons.collections4.CollectionUtils;
-import java.time.LocalDateTime;
import java.util.Collections;
+import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;
@@ -43,14 +43,15 @@ public class PaymentAgencyBO {
}
public static PaymentAgencyPO buildPaymentAgencyPO(PaymentAgencyFormDTO paymentAgencyFormDTO, Long employeeId, String tenantKey) {
+ Date now = new Date();
return PaymentAgencyPO.builder()
.id(IdGenerator.generate())
.agencyName(paymentAgencyFormDTO.getAgencyName())
- .createTime(LocalDateTime.now())
+ .createTime(now)
.creator(employeeId)
.tenantKey(tenantKey)
.deleteType(DeleteTypeEnum.NOT_DELETED.getValue())
- .updateTime(LocalDateTime.now())
+ .updateTime(now)
.remarks(paymentAgencyFormDTO.getRemarks())
.build();
}
diff --git a/src/com/engine/salary/entity/agency/po/PaymentAgencyPO.java b/src/com/engine/salary/entity/agency/po/PaymentAgencyPO.java
index 93045f86e..87626962b 100644
--- a/src/com/engine/salary/entity/agency/po/PaymentAgencyPO.java
+++ b/src/com/engine/salary/entity/agency/po/PaymentAgencyPO.java
@@ -5,7 +5,7 @@ import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
-import java.time.LocalDateTime;
+import java.util.Date;
@Data
@Builder
@@ -32,12 +32,12 @@ public class PaymentAgencyPO {
/**
* 鍒涘缓鏃堕棿
*/
- private LocalDateTime createTime;
+ private Date createTime;
/**
* 鏇存柊鏃堕棿
*/
- private LocalDateTime updateTime;
+ private Date updateTime;
/**
* 鍒涘缓浜
diff --git a/src/com/engine/salary/entity/api/ApiTaskRecordPO.java b/src/com/engine/salary/entity/api/ApiTaskRecordPO.java
new file mode 100644
index 000000000..dbb45bf9d
--- /dev/null
+++ b/src/com/engine/salary/entity/api/ApiTaskRecordPO.java
@@ -0,0 +1,63 @@
+package com.engine.salary.entity.api;
+
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.Collection;
+import java.util.Date;
+
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class ApiTaskRecordPO {
+
+ /**
+ * 涓婚敭id
+ */
+ private Long id;
+
+ /**
+ * 鏉ユ簮
+ */
+ private String source;
+
+ /**
+ * api鎿嶄綔
+ */
+ private String api;
+
+ /**
+ * 鍙傛暟
+ */
+ private String param;
+ /**
+ * 鍙嶉
+ */
+ private String response;
+
+ /**
+ * 鏇存柊鏃堕棿
+ */
+ private Date updateTime;
+
+ /**
+ * 鍒涘缓鏃堕棿
+ */
+ private Date createTime;
+ /**
+ * 鏄惁鍒犻櫎
+ */
+ private Integer deleteType;
+
+ /**
+ * 绉熸埛key
+ */
+ private String tenantKey;
+
+ //涓婚敭id闆嗗悎
+ private Collection ids;
+
+}
\ No newline at end of file
diff --git a/src/com/engine/salary/entity/browser/dto/BrowserDataDTO.java b/src/com/engine/salary/entity/browser/dto/BrowserDataDTO.java
new file mode 100644
index 000000000..193876e79
--- /dev/null
+++ b/src/com/engine/salary/entity/browser/dto/BrowserDataDTO.java
@@ -0,0 +1,30 @@
+package com.engine.salary.entity.browser.dto;
+
+import com.engine.salary.annotation.TableTitle;
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import lombok.experimental.Accessors;
+
+/**
+ * 娴忚鎸夐挳
+ * Copyright: Copyright (c) 2022
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
+@Data
+@Builder
+@AllArgsConstructor
+@NoArgsConstructor
+@Accessors(chain = true)
+public class BrowserDataDTO {
+
+ private Long id;
+
+ @TableTitle(title = "鍚嶇О", dataIndex = "name", key = "name")
+ private String name;
+
+}
diff --git a/src/com/engine/salary/entity/browser/param/BrowserDataQueryParam.java b/src/com/engine/salary/entity/browser/param/BrowserDataQueryParam.java
new file mode 100644
index 000000000..d23be6e5f
--- /dev/null
+++ b/src/com/engine/salary/entity/browser/param/BrowserDataQueryParam.java
@@ -0,0 +1,24 @@
+package com.engine.salary.entity.browser.param;
+
+import com.engine.salary.common.BaseQueryParam;
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * 娴忚鎸夐挳
+ * Copyright: Copyright (c) 2022
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class BrowserDataQueryParam extends BaseQueryParam {
+ private String type;
+ private String jsonParam;
+}
diff --git a/src/com/engine/salary/entity/datacollection/AddUpSituation.java b/src/com/engine/salary/entity/datacollection/AddUpSituation.java
index b9d7278c6..7d0e46a76 100644
--- a/src/com/engine/salary/entity/datacollection/AddUpSituation.java
+++ b/src/com/engine/salary/entity/datacollection/AddUpSituation.java
@@ -2,6 +2,7 @@ package com.engine.salary.entity.datacollection;
import com.engine.salary.annotation.*;
import com.engine.hrmelog.annotation.ElogTransform;
+import com.engine.salary.enums.datacollection.DataCollectionEmployeeTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
@@ -19,7 +20,7 @@ import java.util.Set;
@Builder
@NoArgsConstructor
@AllArgsConstructor
-@SalaryTable(pageId = "a4f83287-e3f9-4275-9527-7d06e54y6238", fields = "id,addUpSubtraction", operates = {@SalaryTableOperate(text = "鍒犻櫎",index = "0")})
+@SalaryTable(pageId = "a4f83287-e3f9-4275-9527-7d06e54y6238", fields = "id,addUpSubtraction", operates = {@SalaryTableOperate(text = "鍒犻櫎", index = "0")})
//hrsa_add_up_situation
@ElogTransform(name = "寰鏈熺疮璁℃儏鍐")
@Auth(page = "addUpSituation")
@@ -55,6 +56,13 @@ public class AddUpSituation {
@ElogTransform(name = "骞翠唤")
private Integer year;
+ /**
+ * 浜哄憳绫诲瀷
+ *
+ * @see DataCollectionEmployeeTypeEnum
+ */
+ private Integer employeeType;
+
/**
* 绱鏀跺叆棰
*/
@@ -82,123 +90,147 @@ public class AddUpSituation {
/**
* 绱鍏Н閲戜釜浜哄悎璁
*/
- @ElogTransform(name = "绱鍏Н閲戜釜浜哄悎璁")
@SalaryFormulaVar(defaultLabel = "绱鍏Н閲戜釜浜哄悎璁", labelId = 86709, dataType = "number")
+ @ElogTransform(name = "绱鍏Н閲戜釜浜哄悎璁")
@Encrypt
private String addUpAccumulationFundTotal;
/**
* 绱瀛愬コ鏁欒偛
*/
- @ElogTransform(name = "绱瀛愬コ鏁欒偛")
- @SalaryFormulaVar(defaultLabel = "绱瀛愬コ鏁欒偛", labelId = 86321, dataType = "number")
+// @SalaryFormulaVar(defaultLabel = "绱瀛愬コ鏁欒偛", labelId = 86321, dataType = "number")
@Encrypt
+ @Deprecated
private String addUpChildEducation;
/**
* 绱缁х画鏁欒偛
*/
- @ElogTransform(name = "绱缁х画鏁欒偛")
- @SalaryFormulaVar(defaultLabel = "绱缁х画鏁欒偛", labelId = 86323, dataType = "number")
+// @SalaryFormulaVar(defaultLabel = "绱缁х画鏁欒偛", labelId = 86323, dataType = "number")
@Encrypt
+ @Deprecated
private String addUpContinuingEducation;
/**
* 绱浣忔埧璐锋鍒╂伅
*/
- @ElogTransform(name = "绱浣忔埧璐锋鍒╂伅")
- @SalaryFormulaVar(defaultLabel = "绱浣忔埧璐锋鍒╂伅", labelId = 86324, dataType = "number")
+// @SalaryFormulaVar(defaultLabel = "绱浣忔埧璐锋鍒╂伅", labelId = 86324, dataType = "number")
@Encrypt
+ @Deprecated
private String addUpHousingLoanInterest;
/**
* 绱浣忔埧绉熼噾
*/
- @ElogTransform(name = "绱浣忔埧绉熼噾")
- @SalaryFormulaVar(defaultLabel = "绱浣忔埧绉熼噾", labelId = 86325, dataType = "number")
+// @SalaryFormulaVar(defaultLabel = "绱浣忔埧绉熼噾", labelId = 86325, dataType = "number")
@Encrypt
+ @Deprecated
private String addUpHousingRent;
/**
* 绱璧″吇鑰佷汉
*/
- @ElogTransform(name = "绱璧″吇鑰佷汉")
- @SalaryFormulaVar(defaultLabel = "绱璧″吇鑰佷汉", labelId = 86326, dataType = "number")
+// @SalaryFormulaVar(defaultLabel = "绱璧″吇鑰佷汉", labelId = 86326, dataType = "number")
@Encrypt
+ @Deprecated
private String addUpSupportElderly;
/**
* 绱澶х梾鍖荤枟
*/
- @ElogTransform(name = "绱澶х梾鍖荤枟")
- @SalaryFormulaVar(defaultLabel = "绱澶х梾鍖荤枟", labelId = 105142, dataType = "number")
+// @SalaryFormulaVar(defaultLabel = "绱澶х梾鍖荤枟", labelId = 105142, dataType = "number")
@Encrypt
+ @Deprecated
private String addUpIllnessMedical;
/**
* 绱濠村辜鍎跨収鎶
*/
- @ElogTransform(name = "绱濠村辜鍎跨収鎶")
- @SalaryFormulaVar(defaultLabel = "绱濠村辜鍎跨収鎶", labelId = 117732, dataType = "number")
+// @SalaryFormulaVar(defaultLabel = "绱濠村辜鍎跨収鎶", labelId = 117732, dataType = "number")
@Encrypt
+ @Deprecated
private String addUpInfantCare;
/**
* 绱濠村辜鍎跨収鎶
*/
- @ElogTransform(name = "绱涓汉鍏昏侀噾")
- @SalaryFormulaVar(defaultLabel = "绱涓汉鍏昏侀噾", labelId = 117732, dataType = "number")
+// @SalaryFormulaVar(defaultLabel = "绱涓汉鍏昏侀噾", labelId = 117732, dataType = "number")
@Encrypt
+ @Deprecated
private String addUpPrivatePension;
/**
* 绱浼佷笟锛堣亴涓氾級骞撮噾鍙婂叾浠栫鍒
*/
- @ElogTransform(name = "绱浼佷笟锛堣亴涓氾級骞撮噾鍙婂叾浠栫鍒")
@SalaryFormulaVar(defaultLabel = "绱浼佷笟锛堣亴涓氾級骞撮噾鍙婂叾浠栫鍒", labelId = 90567, dataType = "number")
+ @ElogTransform(name = "绱浼佷笟锛堣亴涓氾級骞撮噾鍙婂叾浠栫鍒")
@Encrypt
private String addUpEnterpriseAndOther;
/**
* 绱鍏朵粬鍏嶇◣鎵i櫎
*/
- @ElogTransform(name = "绱鍏朵粬鍏嶇◣鎵i櫎")
@SalaryFormulaVar(defaultLabel = "绱鍏朵粬鍏嶇◣鎵i櫎", labelId = 93902, dataType = "number")
+ @ElogTransform(name = "绱鍏朵粬鍏嶇◣鎵i櫎")
@Encrypt
private String addUpOtherDeduction;
/**
* 绱鍏嶇◣鏀跺叆
*/
+ @SalaryFormulaVar(defaultLabel = "绱鍏嶇◣鏀跺叆", labelId = 86704, dataType = "number",alias = "addUpTaxFreeIncome")
@ElogTransform(name = "绱鍏嶇◣鏀跺叆")
- @SalaryFormulaVar(defaultLabel = "绱鍏嶇◣鏀跺叆", labelId = 86704, dataType = "number")
@Encrypt
private String addUpTaxExemptIncome;
/**
* 绱鍑嗕簣鎵i櫎鐨勬崘璧犻
*/
- @ElogTransform(name = "绱鍑嗕簣鎵i櫎鐨勬崘璧犻")
@SalaryFormulaVar(defaultLabel = "绱鍑嗕簣鎵i櫎鐨勬崘璧犻", labelId = 86703, dataType = "number")
+ @ElogTransform(name = "绱鍑嗕簣鎵i櫎鐨勬崘璧犻")
@Encrypt
private String addUpAllowedDonation;
/**
* 绱鍑忓厤绋庨
*/
+ @SalaryFormulaVar(defaultLabel = "绱鍑忓厤绋庨", labelId = 105478, dataType = "number", alias = "addUpTaxDeduction")
@ElogTransform(name = "绱鍑忓厤绋庨")
- @SalaryFormulaVar(defaultLabel = "绱鍑忓厤绋庨", labelId = 105478, dataType = "number")
@Encrypt
private String addUpTaxSavings;
/**
* 绱宸查鎵i缂寸◣棰
*/
- @ElogTransform(name = "绱宸查鎵i缂寸◣棰")
@SalaryFormulaVar(defaultLabel = "绱宸查鎵i缂寸◣棰", labelId = 86702, dataType = "number")
+ @ElogTransform(name = "绱宸查鎵i缂寸◣棰")
@Encrypt
private String addUpAdvanceTax;
+ /**
+ * 瀹為檯绱宸查鎵i缂寸◣棰
+ */
+ @SalaryFormulaVar(defaultLabel = "瀹為檯绱宸查鎵i缂寸◣棰", labelId = 233557, dataType = "number")
+ @ElogTransform(name = "瀹為檯绱宸查鎵i缂寸◣棰")
+ @Encrypt
+ private String actualAddUpAdvanceTax;
+
+ /**
+ * 涓◣璋冨樊
+ */
+ @ElogTransform(name = "涓◣璋冨樊")
+ @SalaryFormulaVar(defaultLabel = "涓◣璋冨樊", labelId = 233559, dataType = "number")
+ @Encrypt
+ private String taxAdjustment;
+
+ /**
+ * 绱搴旂撼绋庢墍寰楅
+ */
+ @ElogTransform(name = "绱搴旂撼绋庢墍寰楅")
+ @SalaryFormulaVar(defaultLabel = "绱搴旂撼绋庢墍寰楅", labelId = 85371, dataType = "number")
+ @Encrypt
+ private String addUpTaxableIncome;
+
/**
* 鍒涘缓鏃堕棿
*/
diff --git a/src/com/engine/salary/entity/datacollection/bo/DataCollectionBO.java b/src/com/engine/salary/entity/datacollection/bo/DataCollectionBO.java
index e216ddc7d..107780888 100644
--- a/src/com/engine/salary/entity/datacollection/bo/DataCollectionBO.java
+++ b/src/com/engine/salary/entity/datacollection/bo/DataCollectionBO.java
@@ -1,17 +1,138 @@
package com.engine.salary.entity.datacollection.bo;
+import com.engine.salary.entity.datacollection.AddUpDeduction;
+import com.engine.salary.entity.datacollection.dto.AddUpDeductionRequestResultDTO;
+import com.engine.salary.entity.datacollection.po.AddUpDeductionRequestFailPO;
+import com.engine.salary.entity.datacollection.po.AddUpDeductionRequestPO;
+import com.engine.salary.entity.datacollection.response.QuerySpecialAmountFeedbackResponse;
+import com.engine.salary.entity.employeedeclare.po.EmployeeDeclarePO;
+import com.engine.salary.entity.taxagent.po.TaxAgentTaxReturnPO;
+import com.engine.salary.enums.SalaryOnOffEnum;
+import com.engine.salary.enums.employeedeclare.CardTypeEnum;
+import com.engine.salary.enums.employeedeclare.EmploymentStatusEnum;
+import com.engine.salary.enums.employeedeclare.EmploymentTypeEnum;
+import com.engine.salary.enums.employeedeclare.GenderEnum;
+import com.engine.salary.enums.sicategory.DeleteTypeEnum;
+import com.engine.salary.enums.taxagent.TaxAgentTaxReturnPasswordTypeEnum;
+import com.engine.salary.service.impl.AddUpDeductionServiceImpl;
+import com.engine.salary.util.SalaryDateUtil;
+import com.engine.salary.util.SalaryI18nUtil;
+import com.engine.salary.util.db.IdGenerator;
+import org.apache.commons.lang3.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.util.*;
+
/**
* @Description: 鏁版嵁閲囬泦
* @Author: wangxiangzhong
* @Date: 2021/11/29 13:28
*/
public class DataCollectionBO {
+ private static final Logger logger = LoggerFactory.getLogger(DataCollectionBO.class);
- @Override
- public String toString() {
- return "DataCollectionBO{}";
- }
-
+// @Override
+// public String toString() {
+// return "DataCollectionBO{}";
+// }
+//
+// /**
+// * PO杞珼TO:绱涓撻」闄勫姞鎵i櫎鍔犲瘑瀛楁璧嬪
+// *
+// * @param po
+// * @param dto
+// */
+// public static void poToDTO4AddUpDeduction(AddUpDeduction po, AddUpDeductionListDTO dto) {
+// if (po == null || dto == null) {
+// return;
+// }
+// dto.setAddUpChildEducation(SalaryEntityUtil.thousandthConvert(po.getAddUpChildEducation()));
+// dto.setAddUpContinuingEducation(SalaryEntityUtil.thousandthConvert(po.getAddUpContinuingEducation()));
+// dto.setAddUpHousingLoanInterest(SalaryEntityUtil.thousandthConvert(po.getAddUpHousingLoanInterest()));
+// dto.setAddUpHousingRent(SalaryEntityUtil.thousandthConvert(po.getAddUpHousingRent()));
+// dto.setAddUpSupportElderly(SalaryEntityUtil.thousandthConvert(po.getAddUpSupportElderly()));
+// dto.setAddUpIllnessMedical(SalaryEntityUtil.thousandthConvert(po.getAddUpIllnessMedical()));
+// dto.setAddUpInfantCare(SalaryEntityUtil.thousandthConvert(po.getAddUpInfantCare()));
+// dto.setLastUpdateTime(po.getLastUpdateTime());
+// dto.setDataSource(Optional.ofNullable(EnumAddUpDeductionDataSource.parseByValue(po.getDataSource()))
+// .map(e -> SalaryI18nUtil.getI18nLabel(e.getLabelId(), e.getDefaultLabel()))
+// .orElse(SalaryI18nUtil.getI18nLabel(EnumAddUpDeductionDataSource.MANUAL.getLabelId(), EnumAddUpDeductionDataSource.MANUAL.getDefaultLabel())));
+// }
+//
+// /**
+// * PO杞珼TO:寰鏈熺疮璁℃儏鍐靛姞瀵嗗瓧娈佃祴鍊
+// *
+// * @param po
+// * @param dto
+// */
+// public static void poToDTO4AddUpSituationPOVal(AddUpSituationPO po, AddUpSituationListDTO dto) {
+// if (po == null || dto == null) {
+// return;
+// }
+// dto.setAddUpIncome(SalaryEntityUtil.thousandthConvert(po.getAddUpIncome()));
+// dto.setAddUpSubtraction(SalaryEntityUtil.thousandthConvert(po.getAddUpSubtraction()));
+// dto.setAddUpSocialSecurityTotal(SalaryEntityUtil.thousandthConvert(po.getAddUpSocialSecurityTotal()));
+// dto.setAddUpAccumulationFundTotal(SalaryEntityUtil.thousandthConvert(po.getAddUpAccumulationFundTotal()));
+// dto.setAddUpEnterpriseAndOther(SalaryEntityUtil.thousandthConvert(po.getAddUpEnterpriseAndOther()));
+// dto.setAddUpOtherDeduction(SalaryEntityUtil.thousandthConvert(po.getAddUpOtherDeduction()));
+// dto.setAddUpTaxExemptIncome(SalaryEntityUtil.thousandthConvert(po.getAddUpTaxExemptIncome()));
+// dto.setAddUpAllowedDonation(SalaryEntityUtil.thousandthConvert(po.getAddUpAllowedDonation()));
+// dto.setAddUpTaxSavings(SalaryEntityUtil.thousandthConvert(po.getAddUpTaxSavings()));
+// dto.setAddUpAdvanceTax(SalaryEntityUtil.thousandthConvert(po.getAddUpAdvanceTax()));
+// dto.setAddUpTaxableIncome(SalaryEntityUtil.thousandthConvert(po.getAddUpTaxableIncome()));
+// }
+//
+// public static void poToDTO4AddUpSituationRecordPOVal(AddUpSituationPO po, AddUpSituationRecordDTO dto) {
+// if (po == null || dto == null) {
+// return;
+// }
+// dto.setAddUpIncome(SalaryEntityUtil.thousandthConvert(po.getAddUpIncome()));
+// dto.setAddUpSubtraction(SalaryEntityUtil.thousandthConvert(po.getAddUpSubtraction()));
+// dto.setAddUpSocialSecurityTotal(SalaryEntityUtil.thousandthConvert(po.getAddUpSocialSecurityTotal()));
+// dto.setAddUpAccumulationFundTotal(SalaryEntityUtil.thousandthConvert(po.getAddUpAccumulationFundTotal()));
+// dto.setAddUpEnterpriseAndOther(SalaryEntityUtil.thousandthConvert(po.getAddUpEnterpriseAndOther()));
+// dto.setAddUpOtherDeduction(SalaryEntityUtil.thousandthConvert(po.getAddUpOtherDeduction()));
+// dto.setAddUpTaxExemptIncome(SalaryEntityUtil.thousandthConvert(po.getAddUpTaxExemptIncome()));
+// dto.setAddUpAllowedDonation(SalaryEntityUtil.thousandthConvert(po.getAddUpAllowedDonation()));
+// dto.setAddUpTaxSavings(SalaryEntityUtil.thousandthConvert(po.getAddUpTaxSavings()));
+// dto.setAddUpAdvanceTax(SalaryEntityUtil.thousandthConvert(po.getAddUpAdvanceTax()));
+// dto.setAddUpTaxableIncome(SalaryEntityUtil.thousandthConvert(po.getAddUpTaxableIncome()));
+// }
+//
+// public static void convert2Po4UpdateSituation(AddUpSituationPO po, AddUpSituationUpdateParam param) {
+// if (param == null || po == null) {
+// return;
+// }
+// po.setAddUpIncome(param.getAddUpIncome());
+// po.setAddUpSubtraction(param.getAddUpSubtraction());
+// po.setAddUpSocialSecurityTotal(param.getAddUpSocialSecurityTotal());
+// po.setAddUpAccumulationFundTotal(param.getAddUpAccumulationFundTotal());
+// po.setAddUpEnterpriseAndOther(param.getAddUpEnterpriseAndOther());
+// po.setAddUpOtherDeduction(param.getAddUpOtherDeduction());
+// po.setAddUpTaxExemptIncome(param.getAddUpTaxExemptIncome());
+// po.setAddUpAllowedDonation(param.getAddUpAllowedDonation());
+// po.setAddUpTaxSavings(param.getAddUpTaxSavings());
+// po.setAddUpAdvanceTax(param.getAddUpAdvanceTax());
+// po.setAddUpTaxableIncome(param.getAddUpTaxableIncome());
+// }
+//
+// /**
+// * PO杞珼TO:鍏朵粬鍏嶇◣鎵i櫎鍔犲瘑瀛楁璧嬪
+// *
+// * @param po
+// * @param dto
+// */
+// public static void poToDTO4OtherDeductionPOVal(OtherDeductionPO po, OtherDeductionListDTO dto) {
+// if (po == null || dto == null) {
+// return;
+// }
+// dto.setBusinessHealthyInsurance(SalaryEntityUtil.thousandthConvert(po.getBusinessHealthyInsurance()));
+// dto.setTaxDelayEndowmentInsurance(SalaryEntityUtil.thousandthConvert(po.getTaxDelayEndowmentInsurance()));
+// dto.setOtherDeduction(SalaryEntityUtil.thousandthConvert(po.getOtherDeduction()));
+// dto.setDeductionAllowedDonation(SalaryEntityUtil.thousandthConvert(po.getDeductionAllowedDonation()));
+// }
+//
// /**
// * 娣诲姞鏃ユ湡鑼冨洿
// *
@@ -31,22 +152,297 @@ public class DataCollectionBO {
// }
//
// /**
-// * 鑾峰彇韬唤璇佸彿
+// * 蹇界暐韬唤璇佸彿鐮佹悳绱㈡潯浠
// *
-// * @param employeeId
-// * @param simpleUserInfos
+// * @param clazz
// */
-// public static String getIdNo(Long employeeId, List simpleUserInfos) {
-// if (employeeId == null || CollectionUtils.isEmpty(simpleUserInfos)) {
-// return StringUtils.EMPTY;
+// public static void ingoreIdNoSearchCondition(Class clazz) {
+// try {
+// Field idNoField = clazz.getDeclaredField("idNo");
+// SalarySearchCondition targetAnnotation = idNoField.getAnnotation(SalarySearchCondition.class);
+//// boolean oldValue = targetAnnotation.ignore();
+//// System.out.println("淇敼涔嬪墠鐨勬敞瑙e硷細" + oldValue);
+// //鑾峰彇 targetAnnotation 杩欎釜浠g悊瀹炰緥鎵鎸佹湁鐨 InvocationHandler
+// InvocationHandler invocationHandler = Proxy.getInvocationHandler(targetAnnotation);
+// // 鑾峰彇 AnnotationInvocationHandler 鐨 memberValues 瀛楁
+// Field declaredField = invocationHandler.getClass().getDeclaredField("memberValues");
+// // 鍥犱负杩欎釜瀛楁浜 private final 淇グ锛屾墍浠ヨ鎵撳紑鏉冮檺
+// declaredField.setAccessible(true);
+// // 鑾峰彇 memberValues
+// Map memberValues = (Map) declaredField.get(invocationHandler);
+// // 淇敼 ignore 灞炴у
+// memberValues.put("ignore", true);
+//// boolean newValue = targetAnnotation.ignore();
+//// System.out.println("淇敼涔嬪悗鐨勬敞瑙e硷細" + newValue);
+// } catch (Exception e) {
+// logger.error("蹇界暐idNo澶辫触锛歿}", e.getMessage(), e);
// }
-// Optional optionalSimpleUserInfo = simpleUserInfos.stream()
-// .filter(simpleUserInfo -> Objects.nonNull(simpleUserInfo) && Objects.nonNull(simpleUserInfo.getUser())).findFirst();
-// String idNo = StringUtils.EMPTY;
-// if (optionalSimpleUserInfo.isPresent()) {
-// SimpleUserInfo simpleUserInfo = optionalSimpleUserInfo.get();
-// idNo = Optional.of(simpleUserInfo).map(SimpleUserInfo::getIdNo).orElse(StringUtils.EMPTY);
+// }
+//
+// /**
+// * 鏋勫缓鏂板缓鍩虹琛ㄥ崟
+// *
+// * @param taxAgentList
+// * @param employeeId
+// * @param tenantKey
+// * @return
+// */
+// public static WeaForm buildBaseInfoAddForm(Collection taxAgentList, Long employeeId, String tenantKey) {
+// // 鏋勫缓琛ㄥ崟
+// WeaForm baseInfoForm = new WeaForm();
+// // 鎺т欢椤圭洰
+// Map items = baseInfoForm.getItems();
+//
+// WeaFormItem declareMonthItem = new WeaFormItem(WeaFormItemType.DATEPICKER);
+// declareMonthItem.setRequired(true);
+// Map otherParams = new HashMap<>();
+// otherParams.put("type", "month");
+// declareMonthItem.setOtherParams(otherParams);
+// items.put("declareMonth", declareMonthItem);
+//
+// WeaFormItem taxAgentItem = new WeaFormItem(WeaFormItemType.SELECT);
+// taxAgentItem.setRequired(true);
+// taxAgentItem.setOptions(taxAgentList.stream()
+// .map(t -> {
+// WeaFormOption weaFormOption = new WeaFormOption();
+// weaFormOption.setId("" + t.getId());
+// weaFormOption.setContent(t.getName());
+// return weaFormOption;
+// }).collect(Collectors.toList()));
+// items.put("taxAgent", taxAgentItem);
+//
+// WeaFormItem employeeItem = new WeaFormItem(WeaFormItemType.BROWSER);
+// employeeItem.setRequired(true);
+// employeeItem.setBrowserBean(new WeaBrowserBean("hrmsalary", "dataCollectionEmployeeBrowser"));
+// items.put("employee", employeeItem);
+//
+// // 鎺т欢甯冨眬
+// String groupId = "baseInfo";
+// List> layout = baseInfoForm.getLayout();
+// layout.add(Lists.newArrayList(new WeaFormLayout("1", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 86176, "绋庢鎵灞炴湡"), groupId, new String[]{"declareMonth"})));
+// layout.add(Lists.newArrayList(new WeaFormLayout("2", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 86184, "涓◣鎵g即涔夊姟浜"), groupId, new String[]{"taxAgent"})));
+// layout.add(Lists.newArrayList(new WeaFormLayout("3", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 100133, "浜哄憳"), groupId, new String[]{"employee"})));
+// layout.forEach(ll-> ll.forEach(wl-> wl.setLabelSpan(8)));
+// baseInfoForm.setGroups(Collections.singletonList(new WeaFormGroup(groupId, SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 86124, "鍩虹淇℃伅"))));
+// return baseInfoForm;
+// }
+//
+// /**
+// * 鏋勫缓鍩虹淇℃伅琛ㄥ崟
+// *
+// * @param employee
+// * @param taxAgent
+// * @param enableHr
+// * @param declareMonth
+// * @param employeeId
+// * @param tenantKey
+// * @return
+// */
+// public static WeaForm buildBaseInfoForm(SimpleEmployee employee, String taxAgent, boolean enableHr, String idNo, LocalDate declareMonth, Long employeeId, String tenantKey) {
+// // 鏋勫缓琛ㄥ崟
+// WeaForm baseInfoForm = new WeaForm();
+// // 鎺т欢椤圭洰
+// Map items = baseInfoForm.getItems();
+//
+// List itemNames = Arrays.asList("username", "taxAgent", "declareMonth", "department", "position", "hiredate", "mobile", "jobNum", "employeeStatus");
+// itemNames.forEach(itemName -> {
+// WeaFormItem item = new WeaFormItem(WeaFormItemType.INPUT);
+// item.setReadOnly(true);
+// items.put(itemName, item);
+// });
+//
+// if (enableHr) {
+// WeaFormItem idNoItem = new WeaFormItem(WeaFormItemType.INPUT);
+// idNoItem.setReadOnly(true);
+// items.put("idNo", idNoItem);
+// } else {
+// WeaFormItem emptyItem = new WeaFormItem(WeaFormItemType.INPUT);
+// emptyItem.setReadOnly(true);
+// items.put("empty", emptyItem);
// }
-// return idNo;
+//
+// // 鎺т欢甯冨眬
+// List> layout = baseInfoForm.getLayout();
+// String groupId = "baseInfo";
+// layout.add(Lists.newArrayList(new WeaFormLayout("1", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 85429, "濮撳悕"), groupId, new String[]{"username"}), new WeaFormLayout("2", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 86184, "涓◣鎵g即涔夊姟浜"), groupId, new String[]{"taxAgent"})));
+// layout.add(Lists.newArrayList(new WeaFormLayout("3", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 86176, "绋庢鎵灞炴湡"), groupId, new String[]{"declareMonth"}), new WeaFormLayout("4", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 86185, "閮ㄩ棬"), groupId, new String[]{"department"})));
+// layout.add(Lists.newArrayList(new WeaFormLayout("5", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 90633, "宀椾綅"), groupId, new String[]{"position"}), new WeaFormLayout("6", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 86319, "鍏ヨ亴鏃ユ湡"), groupId, new String[]{"hiredate"})));
+// layout.add(Lists.newArrayList(new WeaFormLayout("7", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 86186, "鎵嬫満鍙"), groupId, new String[]{"mobile"}), new WeaFormLayout("8", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 86317, "宸ュ彿"), groupId, new String[]{"jobNum"})));
+// layout.add(Lists.newArrayList(new WeaFormLayout("9", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 109332, "浜轰簨鐘舵"), groupId, new String[]{"employeeStatus"}), enableHr ? new WeaFormLayout("10", SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 106277, "韬唤璇佸彿鐮"), groupId, new String[]{"idNo"}) : new WeaFormLayout("10", " ", new String[]{"empty"})));
+//
+// layout.forEach(ll-> ll.forEach(wl-> wl.setLabelSpan(8)));
+// // 鎺т欢鏁版嵁
+// Map data = baseInfoForm.getData();
+// data.put("username", employee.getUsername());
+// data.put("taxAgent", taxAgent);
+// data.put("declareMonth", declareMonth == null ? "" : declareMonth + "");
+// data.put("department", employee.getDepartment() == null ? "" : employee.getDepartment().getName());
+// data.put("position", employee.getPosition() == null ? "" : employee.getPosition().getName());
+// data.put("hiredate", SalaryDateUtil.getFormatLocalDate(employee.getHiredate()));
+// data.put("mobile", employee.getMobile());
+// data.put("jobNum", employee.getJobNum());
+// data.put("idNo", idNo);
+// data.put("employeeStatus", employee.getPersonnelStatus());
+// baseInfoForm.setData(data);
+// baseInfoForm.setGroups(Collections.singletonList(new WeaFormGroup(groupId, SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 86124, "鍩虹淇℃伅"))));
+//
+// return baseInfoForm;
+// }
+//
+//
+// public static AddUpSituationFormDTO po2AddUpSituationFormDTO(AddUpSituationPO situationPO) {
+// return AddUpSituationFormDTO.builder()
+// .addUpAdvanceTax(situationPO.getAddUpAdvanceTax())
+// .addUpTaxableIncome(situationPO.getAddUpTaxableIncome())
+// .addUpAllowedDonation(situationPO.getAddUpAllowedDonation())
+// .addUpAccumulationFundTotal(situationPO.getAddUpAccumulationFundTotal())
+// .addUpIncome(situationPO.getAddUpIncome())
+// .addUpSubtraction(situationPO.getAddUpSubtraction())
+// .addUpOtherDeduction(situationPO.getAddUpOtherDeduction())
+// .addUpTaxSavings(situationPO.getAddUpTaxSavings())
+// .addUpTaxExemptIncome(situationPO.getAddUpTaxExemptIncome())
+// .addUpEnterpriseAndOther(situationPO.getAddUpEnterpriseAndOther())
+// .addUpSocialSecurityTotal(situationPO.getAddUpSocialSecurityTotal())
+// .id(situationPO.getId())
+// .taxYearMonth(situationPO.getTaxYearMonth())
+// .taxAgent(situationPO.getTaxAgentId())
+// .employeeType(EmployeeTypeEnum.parseByValue(situationPO.getEmployeeType()).toString())
+// .build();
+// }
+
+ public static Map getApiBaseQueryParams(TaxAgentTaxReturnPO returnPO, String taxAgentName, String taxMonth) {
+ Map requestParam = new HashMap<>(32);
+ requestParam.put("bizNo", IdGenerator.generate());
+ requestParam.put("qymc", taxAgentName);
+ requestParam.put("nsrsbh", returnPO.getTaxCode());
+ requestParam.put("areaid", returnPO.getAreaCode());
+ requestParam.put("skssq", taxMonth);
+ requestParam.put("sfrysb", SalaryOnOffEnum.OFF.getValue());
+ requestParam.put("mmlx", returnPO.getPasswordType());
+ requestParam.put("jmsbmm", 1);
+ requestParam.put("jmsmmm", 1);
+ boolean realNamePwd = TaxAgentTaxReturnPasswordTypeEnum.REAL_NAME_PASSWORD.getValue().equals(returnPO.getPasswordType());
+ requestParam.computeIfAbsent("smzh", e -> realNamePwd ? returnPO.getRealAccount() : null);
+ requestParam.computeIfAbsent("smmm", e -> realNamePwd ? returnPO.getPwd() : null);
+ requestParam.computeIfAbsent("sbmm", e -> realNamePwd ? null : returnPO.getPwd());
+ requestParam.computeIfAbsent("djxhid", e -> StringUtils.isNotEmpty(returnPO.getTaxRegistrationNumber()) ? returnPO.getTaxRegistrationNumber() : null);
+ requestParam.computeIfAbsent("bmbh", e -> StringUtils.isNotEmpty(returnPO.getDepartmentCode()) ? returnPO.getDepartmentCode() : null);
+ requestParam.computeIfAbsent("bmmc", e -> StringUtils.isNotEmpty(returnPO.getDepartmentName()) ? returnPO.getDepartmentName() : null);
+ return requestParam;
+ }
+
+ public static List