diff --git a/resource/WEB-INF/lib/hrmelog.jar b/resource/WEB-INF/lib/hrmelog.jar
index 7589cfeae..ba4091f61 100644
Binary files a/resource/WEB-INF/lib/hrmelog.jar and b/resource/WEB-INF/lib/hrmelog.jar differ
diff --git a/resource/WEB-INF/prop/hrmSalary.properties b/resource/WEB-INF/prop/hrmSalary.properties
index e8125608b..c558fd72d 100644
--- a/resource/WEB-INF/prop/hrmSalary.properties
+++ b/resource/WEB-INF/prop/hrmSalary.properties
@@ -1,5 +1,5 @@
log=false
defaultCloseNonStandard149=true
AESEncryptScrect=990EB004A1C862721C1513AE90038C9E
-version=2.19.1.2501.01
+version=3.0.2.2504.04
openFormulaForcedEditing=false
\ No newline at end of file
diff --git a/resource/WEB-INF/salaryoptconfig.xml b/resource/WEB-INF/salaryoptconfig.xml
new file mode 100644
index 000000000..cc4c607b8
--- /dev/null
+++ b/resource/WEB-INF/salaryoptconfig.xml
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resource/sqlupgrade/DM/sql202409240201.sql b/resource/sqlupgrade/DM/sql202409240201.sql
new file mode 100644
index 000000000..36b6745cc
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202409240201.sql
@@ -0,0 +1,24 @@
+delete from HtmlLabelIndex where id = 548105 and ( trim(indexdesc) is null ) ;
+/
+
+insert into HtmlLabelIndex(id,indexdesc) select 548105,'业务线管理' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 548105 and ( trim(indexdesc) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'业务线管理' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'Business Line Management' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'業務線管理' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202409240302.sql b/resource/sqlupgrade/DM/sql202409240302.sql
new file mode 100644
index 000000000..9573a689b
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202409240302.sql
@@ -0,0 +1,15 @@
+Delete from LeftMenuInfo where id=100220;
+/
+
+Delete from LeftMenuConfig where infoid=100220;
+/
+
+call LMConfig_U_ByInfoInsert (2,100181,0);
+/
+
+call LMInfo_Insert (100220,548105,'','',2,100181,5,2);
+/
+
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/roleManagement' where id = 100220;
+/
+
diff --git a/resource/sqlupgrade/DM/sql202409240403.sql b/resource/sqlupgrade/DM/sql202409240403.sql
new file mode 100644
index 000000000..10b2b4813
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202409240403.sql
@@ -0,0 +1,113 @@
+CREATE TABLE hrsa_auth_data
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ link number NOT NULL,
+ target_type number NOT NULL,
+ target varchar2(4000),
+ target_name varchar2(4000),
+ sorted_index number NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_auth_member
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ target_type number NOT NULL,
+ target varchar2(4000) NOT NULL,
+ target_name varchar2(4000) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_auth_opt
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ page varchar2(200) NOT NULL,
+ opt varchar2(200) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_auth_role
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ name varchar2(255) NOT NULL,
+ description varchar2(400),
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+);
+/
+
+CREATE TABLE hrsa_auth_role_data
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ employee_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+);
+/
+
+CREATE TABLE hrsa_auth_role_emp
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ employee_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+);
+/
+
+CREATE TABLE hrsa_auth_resource
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ target_type number NOT NULL,
+ target NUMBER(38,0) NOT NULL,
+ target_name varchar2(255),
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_sob_tax_link
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ sob_id NUMBER(38,0) NOT NULL,
+ tax_agent_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202411190103.sql b/resource/sqlupgrade/DM/sql202411190103.sql
new file mode 100644
index 000000000..a02da0e03
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202411190103.sql
@@ -0,0 +1,34 @@
+CREATE TABLE hrsa_push_setting
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ name varchar2(200),
+ able number,
+ salary_sob_ids varchar2(2000),
+ mode_id number,
+ mode_name varchar2(200),
+ table_name varchar2(200),
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_push_setting_item
+(
+ id NUMBER(38,0) NOT NULL,
+ setting_id NUMBER(38,0),
+ source varchar2(100),
+ item varchar2(200),
+ item_name varchar2(200),
+ field_name varchar2(200),
+ field_type number,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202504020203.sql b/resource/sqlupgrade/DM/sql202504020203.sql
new file mode 100644
index 000000000..fb88e05b0
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202504020203.sql
@@ -0,0 +1,42 @@
+CREATE TABLE hrsa_push_record
+(
+ id NUMBER(38,0) NOT NULL,
+ name varchar2(200),
+ setting_id NUMBER(38,0),
+ mode_id number,
+ table_name varchar2(100),
+ acct_record_id NUMBER(38,0),
+ type number,
+ status number,
+ start_time date,
+ end_time date,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_push_record_detail
+(
+ id NUMBER(38,0) NOT NULL,
+ record_id NUMBER(38,0),
+ acct_emp_id NUMBER(38,0),
+ formula CLOB,
+ execute_time date,
+ status number,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
+ALTER TABLE hrsa_push_record ADD fail_reason varchar2(4000);
+/
+
+ALTER TABLE hrsa_push_record_detail ADD fail_reason varchar2(4000);
+/
+
diff --git a/resource/sqlupgrade/DM/sql202504030103.sql b/resource/sqlupgrade/DM/sql202504030103.sql
new file mode 100644
index 000000000..013d261c1
--- /dev/null
+++ b/resource/sqlupgrade/DM/sql202504030103.sql
@@ -0,0 +1,6 @@
+ALTER TABLE hrsa_push_setting_item ADD sorted_index NUMBER;
+/
+
+ALTER TABLE hrsa_push_record_detail ADD data_id NUMBER(38,0);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202409240201.sql b/resource/sqlupgrade/GS/sql202409240201.sql
new file mode 100644
index 000000000..36b6745cc
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202409240201.sql
@@ -0,0 +1,24 @@
+delete from HtmlLabelIndex where id = 548105 and ( trim(indexdesc) is null ) ;
+/
+
+insert into HtmlLabelIndex(id,indexdesc) select 548105,'业务线管理' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 548105 and ( trim(indexdesc) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'业务线管理' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'Business Line Management' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'業務線管理' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202409240302.sql b/resource/sqlupgrade/GS/sql202409240302.sql
new file mode 100644
index 000000000..9573a689b
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202409240302.sql
@@ -0,0 +1,15 @@
+Delete from LeftMenuInfo where id=100220;
+/
+
+Delete from LeftMenuConfig where infoid=100220;
+/
+
+call LMConfig_U_ByInfoInsert (2,100181,0);
+/
+
+call LMInfo_Insert (100220,548105,'','',2,100181,5,2);
+/
+
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/roleManagement' where id = 100220;
+/
+
diff --git a/resource/sqlupgrade/GS/sql202409240403.sql b/resource/sqlupgrade/GS/sql202409240403.sql
new file mode 100644
index 000000000..10b2b4813
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202409240403.sql
@@ -0,0 +1,113 @@
+CREATE TABLE hrsa_auth_data
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ link number NOT NULL,
+ target_type number NOT NULL,
+ target varchar2(4000),
+ target_name varchar2(4000),
+ sorted_index number NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_auth_member
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ target_type number NOT NULL,
+ target varchar2(4000) NOT NULL,
+ target_name varchar2(4000) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_auth_opt
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ page varchar2(200) NOT NULL,
+ opt varchar2(200) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_auth_role
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ name varchar2(255) NOT NULL,
+ description varchar2(400),
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+);
+/
+
+CREATE TABLE hrsa_auth_role_data
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ employee_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+);
+/
+
+CREATE TABLE hrsa_auth_role_emp
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ employee_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+);
+/
+
+CREATE TABLE hrsa_auth_resource
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ target_type number NOT NULL,
+ target NUMBER(38,0) NOT NULL,
+ target_name varchar2(255),
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_sob_tax_link
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ sob_id NUMBER(38,0) NOT NULL,
+ tax_agent_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202411190103.sql b/resource/sqlupgrade/GS/sql202411190103.sql
new file mode 100644
index 000000000..a02da0e03
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202411190103.sql
@@ -0,0 +1,34 @@
+CREATE TABLE hrsa_push_setting
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ name varchar2(200),
+ able number,
+ salary_sob_ids varchar2(2000),
+ mode_id number,
+ mode_name varchar2(200),
+ table_name varchar2(200),
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_push_setting_item
+(
+ id NUMBER(38,0) NOT NULL,
+ setting_id NUMBER(38,0),
+ source varchar2(100),
+ item varchar2(200),
+ item_name varchar2(200),
+ field_name varchar2(200),
+ field_type number,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202504020203.sql b/resource/sqlupgrade/GS/sql202504020203.sql
new file mode 100644
index 000000000..fb88e05b0
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202504020203.sql
@@ -0,0 +1,42 @@
+CREATE TABLE hrsa_push_record
+(
+ id NUMBER(38,0) NOT NULL,
+ name varchar2(200),
+ setting_id NUMBER(38,0),
+ mode_id number,
+ table_name varchar2(100),
+ acct_record_id NUMBER(38,0),
+ type number,
+ status number,
+ start_time date,
+ end_time date,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_push_record_detail
+(
+ id NUMBER(38,0) NOT NULL,
+ record_id NUMBER(38,0),
+ acct_emp_id NUMBER(38,0),
+ formula CLOB,
+ execute_time date,
+ status number,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
+ALTER TABLE hrsa_push_record ADD fail_reason varchar2(4000);
+/
+
+ALTER TABLE hrsa_push_record_detail ADD fail_reason varchar2(4000);
+/
+
diff --git a/resource/sqlupgrade/GS/sql202504030103.sql b/resource/sqlupgrade/GS/sql202504030103.sql
new file mode 100644
index 000000000..013d261c1
--- /dev/null
+++ b/resource/sqlupgrade/GS/sql202504030103.sql
@@ -0,0 +1,6 @@
+ALTER TABLE hrsa_push_setting_item ADD sorted_index NUMBER;
+/
+
+ALTER TABLE hrsa_push_record_detail ADD data_id NUMBER(38,0);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202409240201.sql b/resource/sqlupgrade/JC/sql202409240201.sql
new file mode 100644
index 000000000..36b6745cc
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202409240201.sql
@@ -0,0 +1,24 @@
+delete from HtmlLabelIndex where id = 548105 and ( trim(indexdesc) is null ) ;
+/
+
+insert into HtmlLabelIndex(id,indexdesc) select 548105,'业务线管理' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 548105 and ( trim(indexdesc) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'业务线管理' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'Business Line Management' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'業務線管理' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202409240302.sql b/resource/sqlupgrade/JC/sql202409240302.sql
new file mode 100644
index 000000000..9573a689b
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202409240302.sql
@@ -0,0 +1,15 @@
+Delete from LeftMenuInfo where id=100220;
+/
+
+Delete from LeftMenuConfig where infoid=100220;
+/
+
+call LMConfig_U_ByInfoInsert (2,100181,0);
+/
+
+call LMInfo_Insert (100220,548105,'','',2,100181,5,2);
+/
+
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/roleManagement' where id = 100220;
+/
+
diff --git a/resource/sqlupgrade/JC/sql202409240403.sql b/resource/sqlupgrade/JC/sql202409240403.sql
new file mode 100644
index 000000000..10b2b4813
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202409240403.sql
@@ -0,0 +1,113 @@
+CREATE TABLE hrsa_auth_data
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ link number NOT NULL,
+ target_type number NOT NULL,
+ target varchar2(4000),
+ target_name varchar2(4000),
+ sorted_index number NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_auth_member
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ target_type number NOT NULL,
+ target varchar2(4000) NOT NULL,
+ target_name varchar2(4000) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_auth_opt
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ page varchar2(200) NOT NULL,
+ opt varchar2(200) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_auth_role
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ name varchar2(255) NOT NULL,
+ description varchar2(400),
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+);
+/
+
+CREATE TABLE hrsa_auth_role_data
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ employee_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+);
+/
+
+CREATE TABLE hrsa_auth_role_emp
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ employee_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+);
+/
+
+CREATE TABLE hrsa_auth_resource
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ target_type number NOT NULL,
+ target NUMBER(38,0) NOT NULL,
+ target_name varchar2(255),
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_sob_tax_link
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ sob_id NUMBER(38,0) NOT NULL,
+ tax_agent_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202411190103.sql b/resource/sqlupgrade/JC/sql202411190103.sql
new file mode 100644
index 000000000..a02da0e03
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202411190103.sql
@@ -0,0 +1,34 @@
+CREATE TABLE hrsa_push_setting
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ name varchar2(200),
+ able number,
+ salary_sob_ids varchar2(2000),
+ mode_id number,
+ mode_name varchar2(200),
+ table_name varchar2(200),
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_push_setting_item
+(
+ id NUMBER(38,0) NOT NULL,
+ setting_id NUMBER(38,0),
+ source varchar2(100),
+ item varchar2(200),
+ item_name varchar2(200),
+ field_name varchar2(200),
+ field_type number,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202504020203.sql b/resource/sqlupgrade/JC/sql202504020203.sql
new file mode 100644
index 000000000..fb88e05b0
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202504020203.sql
@@ -0,0 +1,42 @@
+CREATE TABLE hrsa_push_record
+(
+ id NUMBER(38,0) NOT NULL,
+ name varchar2(200),
+ setting_id NUMBER(38,0),
+ mode_id number,
+ table_name varchar2(100),
+ acct_record_id NUMBER(38,0),
+ type number,
+ status number,
+ start_time date,
+ end_time date,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_push_record_detail
+(
+ id NUMBER(38,0) NOT NULL,
+ record_id NUMBER(38,0),
+ acct_emp_id NUMBER(38,0),
+ formula CLOB,
+ execute_time date,
+ status number,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
+ALTER TABLE hrsa_push_record ADD fail_reason varchar2(4000);
+/
+
+ALTER TABLE hrsa_push_record_detail ADD fail_reason varchar2(4000);
+/
+
diff --git a/resource/sqlupgrade/JC/sql202504030103.sql b/resource/sqlupgrade/JC/sql202504030103.sql
new file mode 100644
index 000000000..013d261c1
--- /dev/null
+++ b/resource/sqlupgrade/JC/sql202504030103.sql
@@ -0,0 +1,6 @@
+ALTER TABLE hrsa_push_setting_item ADD sorted_index NUMBER;
+/
+
+ALTER TABLE hrsa_push_record_detail ADD data_id NUMBER(38,0);
+/
+
diff --git a/resource/sqlupgrade/Mysql/sql202409240201.sql b/resource/sqlupgrade/Mysql/sql202409240201.sql
new file mode 100644
index 000000000..b81eb2e8d
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202409240201.sql
@@ -0,0 +1,16 @@
+delete from HtmlLabelIndex where id = 548105 and ( indexdesc is null or indexdesc = '' )
+;
+insert into HtmlLabelIndex(id,indexdesc) select 548105,'业务线管理' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 548105 and ( indexdesc is not null and indexdesc <> '' )) limit 1
+;
+delete from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( labelname is null or labelname = '' )
+;
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'业务线管理' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( labelname is not null and labelname <> '' )) limit 1
+;
+delete from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=char_length(labelname) )
+;
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'Business Line Management' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( labelname is not null and labelname <> '' and length(labelname)=char_length(labelname) )) limit 1
+;
+delete from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( labelname is null or labelname = '' )
+;
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'業務線管理' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( labelname is not null and labelname <> '' )) limit 1
+;
diff --git a/resource/sqlupgrade/Mysql/sql202409240302.sql b/resource/sqlupgrade/Mysql/sql202409240302.sql
new file mode 100644
index 000000000..8b215461e
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202409240302.sql
@@ -0,0 +1,10 @@
+Delete from LeftMenuInfo where id=100220
+;
+Delete from LeftMenuConfig where infoid=100220
+;
+call LMConfig_U_ByInfoInsert (2,100181,0)
+;
+call LMInfo_Insert (100220,548105,'','',2,100181,5,2)
+;
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/roleManagement' where id = 100220
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/Mysql/sql202409240403.sql b/resource/sqlupgrade/Mysql/sql202409240403.sql
new file mode 100644
index 000000000..17c461f3c
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202409240403.sql
@@ -0,0 +1,120 @@
+CREATE TABLE hrsa_auth_data
+(
+ id bigint(0) NOT NULL,
+ role_id bigint(0) NOT NULL,
+ link int(0) NOT NULL,
+ target_type int(0) NOT NULL,
+ target varchar(4000),
+ target_name varchar(4000),
+ sorted_index int(0) NOT NULL,
+ creator bigint(0) NOT NULL,
+ create_time datetime(0) NOT NULL,
+ update_time datetime(0) NOT NULL,
+ delete_type int(0) NOT NULL,
+ tenant_key varchar(10),
+ PRIMARY KEY (id) USING BTREE
+);
+
+
+
+CREATE TABLE hrsa_auth_member
+(
+ id bigint(0) NOT NULL,
+ role_id bigint(0) NOT NULL,
+ target_type int(0) NOT NULL,
+ target varchar(4000) NOT NULL,
+ target_name varchar(4000) NOT NULL,
+ creator bigint(0) NOT NULL,
+ create_time datetime(0) NOT NULL,
+ update_time datetime(0) NOT NULL,
+ delete_type int(0) NOT NULL,
+ tenant_key varchar(10),
+ PRIMARY KEY (id) USING BTREE
+);
+
+
+CREATE TABLE hrsa_auth_opt
+(
+ id bigint(0) NOT NULL,
+ role_id bigint(0) NOT NULL,
+ page varchar(200) NOT NULL,
+ opt varchar(200) NOT NULL,
+ creator bigint(0) NOT NULL,
+ create_time datetime(0) NOT NULL,
+ update_time datetime(0) NOT NULL,
+ delete_type int(0) NOT NULL,
+ tenant_key varchar(10),
+ PRIMARY KEY (id) USING BTREE
+);
+
+
+CREATE TABLE hrsa_auth_role
+(
+ id bigint(0) NOT NULL,
+ name varchar(255) NOT NULL,
+ description varchar(400),
+ creator bigint(0) NOT NULL,
+ create_time datetime(0) NOT NULL,
+ update_time datetime(0) NOT NULL,
+ delete_type int(0) NOT NULL,
+ tenant_key varchar(10) NOT NULL,
+ PRIMARY KEY (id) USING BTREE
+);
+
+
+CREATE TABLE hrsa_auth_role_data
+(
+ id bigint(0) NOT NULL,
+ role_id bigint(0) NOT NULL,
+ employee_id bigint(0) NOT NULL,
+ creator bigint(0) NOT NULL,
+ create_time datetime(0) NOT NULL,
+ update_time datetime(0) NOT NULL,
+ delete_type int(0) NOT NULL,
+ tenant_key varchar(10) NOT NULL,
+ PRIMARY KEY (id) USING BTREE
+);
+
+
+CREATE TABLE hrsa_auth_role_emp
+(
+ id bigint(0) NOT NULL,
+ role_id bigint(0) NOT NULL,
+ employee_id bigint(0) NOT NULL,
+ creator bigint(0) NOT NULL,
+ create_time datetime(0) NOT NULL,
+ update_time datetime(0) NOT NULL,
+ delete_type int(0) NOT NULL,
+ tenant_key varchar(10) NOT NULL,
+ PRIMARY KEY (id) USING BTREE
+);
+
+
+CREATE TABLE hrsa_auth_resource
+(
+ id bigint(0) NOT NULL,
+ role_id bigint(0) NOT NULL,
+ target_type int(0) NOT NULL,
+ target bigint(0) NOT NULL,
+ target_name varchar(255),
+ creator bigint(0) NOT NULL,
+ create_time datetime(0) NOT NULL,
+ update_time datetime(0) NOT NULL,
+ delete_type int(0) NOT NULL,
+ tenant_key varchar(10),
+ PRIMARY KEY (id) USING BTREE
+);
+
+
+CREATE TABLE hrsa_sob_tax_link
+(
+ id bigint(0) NOT NULL,
+ sob_id bigint(0) NOT NULL,
+ tax_agent_id bigint(0) NOT NULL,
+ creator bigint(0) NOT NULL,
+ create_time datetime(0) NOT NULL,
+ update_time datetime(0) NOT NULL,
+ delete_type int(0) NOT NULL,
+ tenant_key varchar(10) ,
+ PRIMARY KEY (id) USING BTREE
+) ;
diff --git a/resource/sqlupgrade/Mysql/sql202411190103.sql b/resource/sqlupgrade/Mysql/sql202411190103.sql
new file mode 100644
index 000000000..9ceb2c5b9
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202411190103.sql
@@ -0,0 +1,35 @@
+CREATE TABLE hrsa_push_setting
+(
+ id bigint(0) NOT NULL,
+ name varchar(200),
+ able int(0),
+ salary_sob_ids varchar(2000),
+ mode_id int(0),
+ mode_name varchar(200),
+ table_name varchar(200),
+ creator bigint(0),
+ create_time datetime(0),
+ update_time datetime(0),
+ delete_type int(0),
+ tenant_key varchar(10),
+ PRIMARY KEY (id) USING BTREE
+);
+
+
+CREATE TABLE hrsa_push_setting_item
+(
+ id bigint(0) NOT NULL,
+ setting_id bigint(0),
+ source varchar(100),
+ item varchar(200),
+ item_name varchar(200),
+ field_name varchar(200),
+ field_type int(0),
+ creator bigint(0),
+ create_time datetime(0),
+ update_time datetime(0),
+ delete_type int(0),
+ tenant_key varchar(10),
+ PRIMARY KEY (id) USING BTREE
+);
+
diff --git a/resource/sqlupgrade/Mysql/sql202504020203.sql b/resource/sqlupgrade/Mysql/sql202504020203.sql
new file mode 100644
index 000000000..43798afc8
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202504020203.sql
@@ -0,0 +1,39 @@
+CREATE TABLE hrsa_push_record
+(
+ id bigint(0) NOT NULL,
+ name varchar(200),
+ setting_id bigint(0),
+ mode_id int(0),
+ table_name varchar(100),
+ acct_record_id bigint(0),
+ type int(0),
+ status int(0),
+ start_time datetime(0),
+ end_time datetime(0),
+ creator bigint(0),
+ create_time datetime(0),
+ update_time datetime(0),
+ delete_type int(0),
+ tenant_key varchar(10),
+ PRIMARY KEY (id) USING BTREE
+);
+
+CREATE TABLE hrsa_push_record_detail
+(
+ id bigint(0) NOT NULL,
+ record_id bigint(0),
+ acct_emp_id bigint(0),
+ formula text,
+ execute_time datetime(0),
+ status int(0),
+ creator bigint(0),
+ create_time datetime(0),
+ update_time datetime(0),
+ delete_type int(0),
+ tenant_key varchar(10),
+ PRIMARY KEY (id) USING BTREE
+);
+
+ALTER TABLE hrsa_push_record ADD COLUMN fail_reason varchar(4000);
+
+ALTER TABLE hrsa_push_record_detail ADD COLUMN fail_reason varchar(4000) ;
diff --git a/resource/sqlupgrade/Mysql/sql202504030103.sql b/resource/sqlupgrade/Mysql/sql202504030103.sql
new file mode 100644
index 000000000..f21868d14
--- /dev/null
+++ b/resource/sqlupgrade/Mysql/sql202504030103.sql
@@ -0,0 +1,3 @@
+ALTER TABLE hrsa_push_setting_item ADD COLUMN sorted_index int(0);
+
+ALTER TABLE hrsa_push_record_detail ADD COLUMN data_id bigint(0);
diff --git a/resource/sqlupgrade/Oracle/sql202409240201.sql b/resource/sqlupgrade/Oracle/sql202409240201.sql
new file mode 100644
index 000000000..83a4826ec
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202409240201.sql
@@ -0,0 +1,16 @@
+delete from HtmlLabelIndex where id = 548105 and ( trim(indexdesc) is null )
+/
+insert into HtmlLabelIndex(id,indexdesc) select 548105,'业务线管理' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 548105 and ( trim(indexdesc) is not null )) and rownum = 1
+/
+delete from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( trim(labelname) is null )
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'业务线管理' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1
+/
+delete from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) )
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'Business Line Management' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1
+/
+delete from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( trim(labelname) is null )
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'業務線管理' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202409240302.sql b/resource/sqlupgrade/Oracle/sql202409240302.sql
new file mode 100644
index 000000000..8435e8635
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202409240302.sql
@@ -0,0 +1,10 @@
+Delete from LeftMenuInfo where id=100220
+/
+Delete from LeftMenuConfig where infoid=100220
+/
+call LMConfig_U_ByInfoInsert (2,100181,0)
+/
+call LMInfo_Insert (100220,548105,'','',2,100181,5,2)
+/
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/roleManagement' where id = 100220
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202409240403.sql b/resource/sqlupgrade/Oracle/sql202409240403.sql
new file mode 100644
index 000000000..cf2f25c2e
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202409240403.sql
@@ -0,0 +1,120 @@
+CREATE TABLE hrsa_auth_data
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ link number NOT NULL,
+ target_type number NOT NULL,
+ target varchar2(4000),
+ target_name varchar2(4000),
+ sorted_index number NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+)
+/
+
+
+
+CREATE TABLE hrsa_auth_member
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ target_type number NOT NULL,
+ target varchar2(4000) NOT NULL,
+ target_name varchar2(4000) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+)
+/
+
+
+CREATE TABLE hrsa_auth_opt
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ page varchar2(200) NOT NULL,
+ opt varchar2(200) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+)
+/
+
+
+CREATE TABLE hrsa_auth_role
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ name varchar2(255) NOT NULL,
+ description varchar2(400),
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+)
+/
+
+
+CREATE TABLE hrsa_auth_role_data
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ employee_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+)
+/
+
+
+CREATE TABLE hrsa_auth_role_emp
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ employee_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+)
+/
+
+
+CREATE TABLE hrsa_auth_resource
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ target_type number NOT NULL,
+ target NUMBER(38,0) NOT NULL,
+ target_name varchar2(255),
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+)
+/
+
+
+CREATE TABLE hrsa_sob_tax_link
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ sob_id NUMBER(38,0) NOT NULL,
+ tax_agent_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202411190103.sql b/resource/sqlupgrade/Oracle/sql202411190103.sql
new file mode 100644
index 000000000..68b19ec3e
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202411190103.sql
@@ -0,0 +1,34 @@
+CREATE TABLE hrsa_push_setting
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ name varchar2(200),
+ able number,
+ salary_sob_ids varchar2(2000),
+ mode_id number,
+ mode_name varchar2(200),
+ table_name varchar2(200),
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+)
+/
+
+
+CREATE TABLE hrsa_push_setting_item
+(
+ id NUMBER(38,0) NOT NULL,
+ setting_id NUMBER(38,0),
+ source varchar2(100),
+ item varchar2(200),
+ item_name varchar2(200),
+ field_name varchar2(200),
+ field_type number,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202504020203.sql b/resource/sqlupgrade/Oracle/sql202504020203.sql
new file mode 100644
index 000000000..b6737d61f
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202504020203.sql
@@ -0,0 +1,41 @@
+CREATE TABLE hrsa_push_record
+(
+ id NUMBER(38,0) NOT NULL,
+ name varchar2(200),
+ setting_id NUMBER(38,0),
+ mode_id number,
+ table_name varchar2(100),
+ acct_record_id NUMBER(38,0),
+ type number,
+ status number,
+ start_time date,
+ end_time date,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+)
+/
+
+CREATE TABLE hrsa_push_record_detail
+(
+ id NUMBER(38,0) NOT NULL,
+ record_id NUMBER(38,0),
+ acct_emp_id NUMBER(38,0),
+ formula CLOB,
+ execute_time date,
+ status number,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+)
+/
+
+ALTER TABLE hrsa_push_record ADD fail_reason varchar2(4000)
+/
+
+ALTER TABLE hrsa_push_record_detail ADD fail_reason varchar2(4000)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/Oracle/sql202504030103.sql b/resource/sqlupgrade/Oracle/sql202504030103.sql
new file mode 100644
index 000000000..37869d261
--- /dev/null
+++ b/resource/sqlupgrade/Oracle/sql202504030103.sql
@@ -0,0 +1,5 @@
+ALTER TABLE hrsa_push_setting_item ADD sorted_index NUMBER
+/
+
+ALTER TABLE hrsa_push_record_detail ADD data_id NUMBER(38,0)
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202409240201.sql b/resource/sqlupgrade/PG/sql202409240201.sql
new file mode 100644
index 000000000..42589c50b
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202409240201.sql
@@ -0,0 +1,16 @@
+delete from HtmlLabelIndex where id = 548105 and ( indexdesc is null or indexdesc = '' ) ;
+/
+insert into HtmlLabelIndex(id,indexdesc) select 548105,'业务线管理' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 548105 and ( indexdesc is not null and indexdesc <> '' )) limit 1 ;
+/
+delete from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( labelname is null or labelname = '' ) ;
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'业务线管理' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( labelname is not null and labelname <> '' )) limit 1 ;
+/
+delete from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=octet_length(labelname) ) ;
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'Business Line Management' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( labelname is not null and labelname <> '' and length(labelname)=octet_length(labelname) )) limit 1 ;
+/
+delete from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( labelname is null or labelname = '' ) ;
+/
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'業務線管理' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( labelname is not null and labelname <> '' )) limit 1 ;
+/
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202409240302.sql b/resource/sqlupgrade/PG/sql202409240302.sql
new file mode 100644
index 000000000..755116704
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202409240302.sql
@@ -0,0 +1,10 @@
+Delete from LeftMenuInfo where id=100220
+;
+Delete from LeftMenuConfig where infoid=100220
+;
+select LMConfig_U_ByInfoInsert (2,100181,0)
+;
+select LMInfo_Insert (100220,548105,'','',2,100181,5,2)
+;
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/roleManagement' where id = 100220
+;
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202409240403.sql b/resource/sqlupgrade/PG/sql202409240403.sql
new file mode 100644
index 000000000..1e8fb2d15
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202409240403.sql
@@ -0,0 +1,120 @@
+CREATE TABLE hrsa_auth_data
+(
+ id bigint NOT NULL,
+ role_id bigint NOT NULL,
+ link int NOT NULL,
+ target_type int NOT NULL,
+ target varchar(4000),
+ target_name varchar(4000),
+ sorted_index int NOT NULL,
+ creator bigint NOT NULL,
+ create_time timestamp NOT NULL,
+ update_time timestamp NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10),
+ PRIMARY KEY (id)
+);
+
+
+
+CREATE TABLE hrsa_auth_member
+(
+ id bigint NOT NULL,
+ role_id bigint NOT NULL,
+ target_type int NOT NULL,
+ target varchar(4000) NOT NULL,
+ target_name varchar(4000) NOT NULL,
+ creator bigint NOT NULL,
+ create_time timestamp NOT NULL,
+ update_time timestamp NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10),
+ PRIMARY KEY (id)
+);
+
+
+CREATE TABLE hrsa_auth_opt
+(
+ id bigint NOT NULL,
+ role_id bigint NOT NULL,
+ page varchar(200) NOT NULL,
+ opt varchar(200) NOT NULL,
+ creator bigint NOT NULL,
+ create_time timestamp NOT NULL,
+ update_time timestamp NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10),
+ PRIMARY KEY (id)
+);
+
+
+CREATE TABLE hrsa_auth_role
+(
+ id bigint NOT NULL,
+ name varchar(255) NOT NULL,
+ description varchar(400),
+ creator bigint NOT NULL,
+ create_time timestamp NOT NULL,
+ update_time timestamp NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10) NOT NULL,
+ PRIMARY KEY (id)
+);
+
+
+CREATE TABLE hrsa_auth_role_data
+(
+ id bigint NOT NULL,
+ role_id bigint NOT NULL,
+ employee_id bigint NOT NULL,
+ creator bigint NOT NULL,
+ create_time timestamp NOT NULL,
+ update_time timestamp NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10) NOT NULL,
+ PRIMARY KEY (id)
+);
+
+
+CREATE TABLE hrsa_auth_role_emp
+(
+ id bigint NOT NULL,
+ role_id bigint NOT NULL,
+ employee_id bigint NOT NULL,
+ creator bigint NOT NULL,
+ create_time timestamp NOT NULL,
+ update_time timestamp NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10) NOT NULL,
+ PRIMARY KEY (id)
+);
+
+
+CREATE TABLE hrsa_auth_resource
+(
+ id bigint NOT NULL,
+ role_id bigint NOT NULL,
+ target_type int NOT NULL,
+ target bigint NOT NULL,
+ target_name varchar(255),
+ creator bigint NOT NULL,
+ create_time timestamp NOT NULL,
+ update_time timestamp NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10),
+ PRIMARY KEY (id)
+);
+
+
+CREATE TABLE hrsa_sob_tax_link
+(
+ id bigint NOT NULL,
+ sob_id bigint NOT NULL,
+ tax_agent_id bigint NOT NULL,
+ creator bigint NOT NULL,
+ create_time timestamp NOT NULL,
+ update_time timestamp NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10) ,
+ PRIMARY KEY (id)
+) ;
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202411190103.sql b/resource/sqlupgrade/PG/sql202411190103.sql
new file mode 100644
index 000000000..3874c397f
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202411190103.sql
@@ -0,0 +1,34 @@
+CREATE TABLE hrsa_push_setting
+(
+ id bigint NOT NULL,
+ name varchar(200),
+ able int,
+ salary_sob_ids varchar(2000),
+ mode_id int,
+ mode_name varchar(200),
+ table_name varchar(200),
+ creator bigint,
+ create_time timestamp,
+ update_time timestamp,
+ delete_type int,
+ tenant_key varchar(10),
+ PRIMARY KEY (id)
+);
+
+
+CREATE TABLE hrsa_push_setting_item
+(
+ id bigint NOT NULL,
+ setting_id bigint,
+ source varchar(100),
+ item varchar(200),
+ item_name varchar(200),
+ field_name varchar(200),
+ field_type int,
+ creator bigint,
+ create_time timestamp,
+ update_time timestamp,
+ delete_type int,
+ tenant_key varchar(10),
+ PRIMARY KEY (id)
+);
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202504020203.sql b/resource/sqlupgrade/PG/sql202504020203.sql
new file mode 100644
index 000000000..6643f1adf
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202504020203.sql
@@ -0,0 +1,39 @@
+CREATE TABLE hrsa_push_record
+(
+ id bigint NOT NULL,
+ name varchar(200),
+ setting_id bigint,
+ mode_id int,
+ table_name varchar(100),
+ acct_record_id bigint,
+ type int,
+ status int,
+ start_time timestamp,
+ end_time timestamp,
+ creator bigint,
+ create_time timestamp,
+ update_time timestamp,
+ delete_type int,
+ tenant_key varchar(10),
+ PRIMARY KEY (id)
+);
+
+CREATE TABLE hrsa_push_record_detail
+(
+ id bigint NOT NULL,
+ record_id bigint,
+ acct_emp_id bigint,
+ formula text,
+ execute_time timestamp,
+ status int,
+ creator bigint,
+ create_time timestamp,
+ update_time timestamp,
+ delete_type int,
+ tenant_key varchar(10),
+ PRIMARY KEY (id)
+);
+
+alter table hrsa_push_record add fail_reason VARCHAR(4000) ;
+
+alter table hrsa_push_record_detail add fail_reason VARCHAR(4000) ;
\ No newline at end of file
diff --git a/resource/sqlupgrade/PG/sql202504030103.sql b/resource/sqlupgrade/PG/sql202504030103.sql
new file mode 100644
index 000000000..a0bda613d
--- /dev/null
+++ b/resource/sqlupgrade/PG/sql202504030103.sql
@@ -0,0 +1,3 @@
+alter table hrsa_push_setting_item add sorted_index int ;
+
+alter table hrsa_push_record_detail add data_id bigint ;
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202409240201.sql b/resource/sqlupgrade/SQLServer/sql202409240201.sql
new file mode 100644
index 000000000..1aa307c31
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202409240201.sql
@@ -0,0 +1,16 @@
+delete from HtmlLabelIndex where id = 548105 and ( indexdesc is null or indexdesc = '' )
+GO
+insert into HtmlLabelIndex(id,indexdesc) select top 1 548105,'业务线管理' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 548105 and ( indexdesc is not null and indexdesc <> '' ))
+GO
+delete from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( labelname is null or labelname = '' )
+GO
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 548105 as indexid ,'业务线管理' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( labelname is not null and labelname <> '' ))
+GO
+delete from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[吖-座]%' )
+GO
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 548105 as indexid ,'Business Line Management' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( labelname is not null and labelname <> '' and labelname not like '%[吖-座]%' ))
+GO
+delete from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( labelname is null or labelname = '' )
+GO
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 548105 as indexid ,'業務線管理' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( labelname is not null and labelname <> '' ))
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202409240302.sql b/resource/sqlupgrade/SQLServer/sql202409240302.sql
new file mode 100644
index 000000000..718a8538f
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202409240302.sql
@@ -0,0 +1,10 @@
+Delete from LeftMenuInfo where id=100220
+GO
+Delete from LeftMenuConfig where infoid=100220
+GO
+EXECUTE LMConfig_U_ByInfoInsert 2,100181,0
+GO
+EXECUTE LMInfo_Insert 100220,548105,'','',2,100181,5,2
+GO
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/roleManagement' where id = 100220
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202409240403.sql b/resource/sqlupgrade/SQLServer/sql202409240403.sql
new file mode 100644
index 000000000..6edd92d19
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202409240403.sql
@@ -0,0 +1,117 @@
+CREATE TABLE hrsa_auth_data
+(
+ id bigint primary key,
+ role_id bigint NOT NULL,
+ link int NOT NULL,
+ target_type int NOT NULL,
+ target varchar(4000),
+ target_name varchar(4000),
+ sorted_index int NOT NULL,
+ creator bigint NOT NULL,
+ create_time datetime NOT NULL,
+ update_time datetime NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10)
+)
+GO
+
+
+CREATE TABLE hrsa_auth_member
+(
+ id bigint primary key,
+ role_id bigint NOT NULL,
+ target_type int NOT NULL,
+ target varchar(4000) NOT NULL,
+ target_name varchar(4000) NOT NULL,
+ creator bigint NOT NULL,
+ create_time datetime NOT NULL,
+ update_time datetime NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10)
+)
+GO
+
+
+CREATE TABLE hrsa_auth_opt
+(
+ id bigint primary key,
+ role_id bigint NOT NULL,
+ page varchar(200) NOT NULL,
+ opt varchar(200) NOT NULL,
+ creator bigint NOT NULL,
+ create_time datetime NOT NULL,
+ update_time datetime NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10)
+)
+GO
+
+
+CREATE TABLE hrsa_auth_role
+(
+ id bigint primary key,
+ name varchar(255) NOT NULL,
+ description varchar(400),
+ creator bigint NOT NULL,
+ create_time datetime NOT NULL,
+ update_time datetime NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10) NOT NULL
+)
+GO
+
+
+CREATE TABLE hrsa_auth_role_data
+(
+ id bigint primary key,
+ role_id bigint NOT NULL,
+ employee_id bigint NOT NULL,
+ creator bigint NOT NULL,
+ create_time datetime NOT NULL,
+ update_time datetime NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10) NOT NULL
+)
+GO
+
+
+CREATE TABLE hrsa_auth_role_emp
+(
+ id bigint primary key,
+ role_id bigint NOT NULL,
+ employee_id bigint NOT NULL,
+ creator bigint NOT NULL,
+ create_time datetime NOT NULL,
+ update_time datetime NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10) NOT NULL
+)
+GO
+
+CREATE TABLE hrsa_auth_resource
+(
+ id bigint NOT NULL,
+ role_id bigint NOT NULL,
+ target_type int NOT NULL,
+ target bigint NOT NULL,
+ target_name varchar(255),
+ creator bigint NOT NULL,
+ create_time datetime NOT NULL,
+ update_time datetime NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10)
+)
+GO
+
+CREATE TABLE hrsa_sob_tax_link
+(
+ id bigint NOT NULL,
+ sob_id bigint NOT NULL,
+ tax_agent_id bigint NOT NULL,
+ creator bigint NOT NULL,
+ create_time datetime NOT NULL,
+ update_time datetime NOT NULL,
+ delete_type int NOT NULL,
+ tenant_key varchar(10)
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202411190103.sql b/resource/sqlupgrade/SQLServer/sql202411190103.sql
new file mode 100644
index 000000000..334e78b42
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202411190103.sql
@@ -0,0 +1,36 @@
+CREATE TABLE hrsa_push_setting
+(
+ id bigint NOT NULL,
+ name varchar(200),
+ able int,
+ salary_sob_ids varchar(2000),
+ mode_id int,
+ mode_name varchar(200),
+ table_name varchar(200),
+ creator bigint,
+ create_time datetime,
+ update_time datetime,
+ delete_type int,
+ tenant_key varchar(10),
+ PRIMARY KEY (id)
+)
+GO
+
+
+CREATE TABLE hrsa_push_setting_item
+(
+ id bigint NOT NULL,
+ setting_id bigint,
+ source varchar(100),
+ item varchar(200),
+ item_name varchar(200),
+ field_name varchar(200),
+ field_type int,
+ creator bigint,
+ create_time datetime,
+ update_time datetime,
+ delete_type int,
+ tenant_key varchar(10),
+ PRIMARY KEY (id)
+)
+GO
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202504020203.sql b/resource/sqlupgrade/SQLServer/sql202504020203.sql
new file mode 100644
index 000000000..fbedb9edd
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202504020203.sql
@@ -0,0 +1,43 @@
+CREATE TABLE hrsa_push_record
+(
+ id bigint NOT NULL,
+ name varchar(200),
+ setting_id bigint,
+ mode_id int,
+ table_name varchar(100),
+ acct_record_id bigint,
+ type int,
+ status int,
+ start_time datetime,
+ end_time datetime,
+ creator bigint,
+ create_time datetime,
+ update_time datetime,
+ delete_type int,
+ tenant_key varchar(10),
+ PRIMARY KEY (id)
+)
+GO
+
+CREATE TABLE hrsa_push_record_detail
+(
+ id bigint NOT NULL,
+ record_id bigint,
+ acct_emp_id bigint,
+ formula text,
+ execute_time datetime,
+ status int,
+ creator bigint,
+ create_time datetime,
+ update_time datetime,
+ delete_type int,
+ tenant_key varchar(10),
+ PRIMARY KEY (id)
+)
+GO
+
+alter table hrsa_push_record add fail_reason VARCHAR(4000)
+go
+
+alter table hrsa_push_record_detail add fail_reason VARCHAR(4000)
+go
\ No newline at end of file
diff --git a/resource/sqlupgrade/SQLServer/sql202504030103.sql b/resource/sqlupgrade/SQLServer/sql202504030103.sql
new file mode 100644
index 000000000..db030fdb3
--- /dev/null
+++ b/resource/sqlupgrade/SQLServer/sql202504030103.sql
@@ -0,0 +1,5 @@
+alter table hrsa_push_setting_item add sorted_index int
+go
+
+alter table hrsa_push_record_detail add data_id bigint
+go
\ No newline at end of file
diff --git a/resource/sqlupgrade/ST/sql202409240201.sql b/resource/sqlupgrade/ST/sql202409240201.sql
new file mode 100644
index 000000000..36b6745cc
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202409240201.sql
@@ -0,0 +1,24 @@
+delete from HtmlLabelIndex where id = 548105 and ( trim(indexdesc) is null ) ;
+/
+
+insert into HtmlLabelIndex(id,indexdesc) select 548105,'业务线管理' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 548105 and ( trim(indexdesc) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'业务线管理' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'Business Line Management' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
+/
+
+delete from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( trim(labelname) is null ) ;
+/
+
+insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 548105 as indexid ,'業務線管理' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 548105 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202409240302.sql b/resource/sqlupgrade/ST/sql202409240302.sql
new file mode 100644
index 000000000..9573a689b
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202409240302.sql
@@ -0,0 +1,15 @@
+Delete from LeftMenuInfo where id=100220;
+/
+
+Delete from LeftMenuConfig where infoid=100220;
+/
+
+call LMConfig_U_ByInfoInsert (2,100181,0);
+/
+
+call LMInfo_Insert (100220,548105,'','',2,100181,5,2);
+/
+
+update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrmSalary/static/index.html#/main/hrmSalary/roleManagement' where id = 100220;
+/
+
diff --git a/resource/sqlupgrade/ST/sql202409240403.sql b/resource/sqlupgrade/ST/sql202409240403.sql
new file mode 100644
index 000000000..10b2b4813
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202409240403.sql
@@ -0,0 +1,113 @@
+CREATE TABLE hrsa_auth_data
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ link number NOT NULL,
+ target_type number NOT NULL,
+ target varchar2(4000),
+ target_name varchar2(4000),
+ sorted_index number NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_auth_member
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ target_type number NOT NULL,
+ target varchar2(4000) NOT NULL,
+ target_name varchar2(4000) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_auth_opt
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ page varchar2(200) NOT NULL,
+ opt varchar2(200) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_auth_role
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ name varchar2(255) NOT NULL,
+ description varchar2(400),
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+);
+/
+
+CREATE TABLE hrsa_auth_role_data
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ employee_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+);
+/
+
+CREATE TABLE hrsa_auth_role_emp
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ employee_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10) NOT NULL
+);
+/
+
+CREATE TABLE hrsa_auth_resource
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ role_id NUMBER(38,0) NOT NULL,
+ target_type number NOT NULL,
+ target NUMBER(38,0) NOT NULL,
+ target_name varchar2(255),
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_sob_tax_link
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ sob_id NUMBER(38,0) NOT NULL,
+ tax_agent_id NUMBER(38,0) NOT NULL,
+ creator NUMBER(38,0) NOT NULL,
+ create_time DATE NOT NULL,
+ update_time DATE NOT NULL,
+ delete_type number NOT NULL,
+ tenant_key varchar2(10)
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202411190103.sql b/resource/sqlupgrade/ST/sql202411190103.sql
new file mode 100644
index 000000000..a02da0e03
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202411190103.sql
@@ -0,0 +1,34 @@
+CREATE TABLE hrsa_push_setting
+(
+ id NUMBER(38,0) primary key NOT NULL,
+ name varchar2(200),
+ able number,
+ salary_sob_ids varchar2(2000),
+ mode_id number,
+ mode_name varchar2(200),
+ table_name varchar2(200),
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_push_setting_item
+(
+ id NUMBER(38,0) NOT NULL,
+ setting_id NUMBER(38,0),
+ source varchar2(100),
+ item varchar2(200),
+ item_name varchar2(200),
+ field_name varchar2(200),
+ field_type number,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202504020203.sql b/resource/sqlupgrade/ST/sql202504020203.sql
new file mode 100644
index 000000000..fb88e05b0
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202504020203.sql
@@ -0,0 +1,42 @@
+CREATE TABLE hrsa_push_record
+(
+ id NUMBER(38,0) NOT NULL,
+ name varchar2(200),
+ setting_id NUMBER(38,0),
+ mode_id number,
+ table_name varchar2(100),
+ acct_record_id NUMBER(38,0),
+ type number,
+ status number,
+ start_time date,
+ end_time date,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
+CREATE TABLE hrsa_push_record_detail
+(
+ id NUMBER(38,0) NOT NULL,
+ record_id NUMBER(38,0),
+ acct_emp_id NUMBER(38,0),
+ formula CLOB,
+ execute_time date,
+ status number,
+ creator NUMBER(38,0),
+ create_time date,
+ update_time date,
+ delete_type number,
+ tenant_key varchar2(10)
+);
+/
+
+ALTER TABLE hrsa_push_record ADD fail_reason varchar2(4000);
+/
+
+ALTER TABLE hrsa_push_record_detail ADD fail_reason varchar2(4000);
+/
+
diff --git a/resource/sqlupgrade/ST/sql202504030103.sql b/resource/sqlupgrade/ST/sql202504030103.sql
new file mode 100644
index 000000000..013d261c1
--- /dev/null
+++ b/resource/sqlupgrade/ST/sql202504030103.sql
@@ -0,0 +1,6 @@
+ALTER TABLE hrsa_push_setting_item ADD sorted_index NUMBER;
+/
+
+ALTER TABLE hrsa_push_record_detail ADD data_id NUMBER(38,0);
+/
+
diff --git a/resource/wiki/甯哥敤鏌ヨ.md b/resource/wiki/甯哥敤鏌ヨ.md
index 637ebc08f..1d72b1e99 100644
--- a/resource/wiki/甯哥敤鏌ヨ.md
+++ b/resource/wiki/甯哥敤鏌ヨ.md
@@ -20,10 +20,27 @@ where item.name = '宸ヨ祫钖噾鍚堣'
# 鑾峰彇妗f淇℃伅
- select i.item_value from hrsa_salary_archive_item i
- left join hrsa_salary_archive a on a.id = i.salary_archive_id
- left join hrsa_salary_item c on c.id=i.salary_item_id
- left join hrsa_tax_agent t on a.tax_agent_id=t.id
- where a.delete_type=0 and i.delete_type=0 and t.delete_type=0 and c.delete_type=0
- and a.employee_id=浜哄憳id and t.name=鎵g即涔夊姟浜哄悕绉
- and c.name='鍩烘湰宸ヨ祫' order by effective_time desc
\ No newline at end of file
+select i.item_value from hrsa_salary_archive_item i
+left join hrsa_salary_archive a on a.id = i.salary_archive_id
+left join hrsa_salary_item c on c.id=i.salary_item_id
+left join hrsa_tax_agent t on a.tax_agent_id=t.id
+where a.delete_type=0 and i.delete_type=0 and t.delete_type=0 and c.delete_type=0
+and a.employee_id=浜哄憳id and t.name=鎵g即涔夊姟浜哄悕绉
+ and c.name='鍩烘湰宸ヨ祫' order by effective_time desc
+
+
+# 鍒犻櫎绯荤粺椤圭洰
+UPDATE set hrsa_sys_salary_item where delete_type =3 where delete_type =0;
+
+update hrsa_salary_sob_default_item set delete_type =3 where delete_type =0;
+
+
+update hrsa_salary_sob_item set delete_type= 3 where delete_type =0 and salary_item_id in (select id from hrsa_salary_item where delete_type=0 and system_type=1 and use_in_employee_salary =0 and code not in('ressueTotal','issuedTotal')
+);
+
+UPDATE hrsa_salary_item set delete_type = 3 where delete_type=0 and system_type=1 and use_in_employee_salary =0 and code not in('ressueTotal','issuedTotal');
+
+
+# 寮鍚郴缁熺畻绋
+update hrsa_salary_sys_conf set conf_value = '1' where conf_key = 'taxDeclarationFunction'
+
diff --git a/resource/wiki/钖叕杩樺師鑴氭湰.sql b/resource/wiki/钖叕杩樺師鑴氭湰.sql
index cf29ff247..62e7bae3c 100644
--- a/resource/wiki/钖叕杩樺師鑴氭湰.sql
+++ b/resource/wiki/钖叕杩樺師鑴氭湰.sql
@@ -64,8 +64,8 @@ delete from hrsa_salary_archive_item where 1=1
;
delete from hrsa_salary_archive_tax_agent where 1=1
;
-delete from hrsa_salary_item where 1=1
-;
+--delete from hrsa_salary_item where 1=1;
+
delete from hrsa_salary_send where 1=1
;
delete from hrsa_salary_send_info where 1=1
diff --git a/src/com/api/salary/web/AuthController.java b/src/com/api/salary/web/AuthController.java
new file mode 100644
index 000000000..3a2c0374c
--- /dev/null
+++ b/src/com/api/salary/web/AuthController.java
@@ -0,0 +1,8 @@
+package com.api.salary.web;
+
+import javax.ws.rs.Path;
+
+@Path("/bs/hrmsalary/auth")
+public class AuthController extends com.engine.salary.web.AuthController {
+
+}
diff --git a/src/com/api/salary/web/PushController.java b/src/com/api/salary/web/PushController.java
new file mode 100644
index 000000000..854a3b9b7
--- /dev/null
+++ b/src/com/api/salary/web/PushController.java
@@ -0,0 +1,8 @@
+package com.api.salary.web;
+
+import javax.ws.rs.Path;
+
+@Path("/bs/hrmsalary/push")
+public class PushController extends com.engine.salary.web.PushController{
+
+}
diff --git a/src/com/engine/salary/annotation/Auth.java b/src/com/engine/salary/annotation/Auth.java
new file mode 100644
index 000000000..78cc19097
--- /dev/null
+++ b/src/com/engine/salary/annotation/Auth.java
@@ -0,0 +1,29 @@
+package com.engine.salary.annotation;
+
+import com.engine.salary.enums.auth.AuthCheckTypeEnum;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * 鏉冮檺楠岃瘉瀛楁
+ *