2546 lines
196 KiB
Transact-SQL
2546 lines
196 KiB
Transact-SQL
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_acct_result_temp](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[calculate_key] [varchar](50) NOT NULL CONSTRAINT [DF__hrsa_acct__calcu__6A4606AC] DEFAULT (''),
|
|
[salary_sob_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_acct__salar__6B3A2AE5] DEFAULT ('0'),
|
|
[salary_acct_emp_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_acct__salar__6C2E4F1E] DEFAULT ('0'),
|
|
[salary_acct_record_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_acct__salar__6D227357] DEFAULT ('0'),
|
|
[employee_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_acct__emplo__6E169790] DEFAULT ('0'),
|
|
[tax_agent_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_acct__tax_a__6F0ABBC9] DEFAULT ('0'),
|
|
[salary_item_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_acct__salar__6FFEE002] DEFAULT ('0'),
|
|
[result_value] [varchar](1000) NOT NULL CONSTRAINT [DF__hrsa_acct__resul__70F3043B] DEFAULT (''),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_acct__creat__71E72874] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_acct__creat__72DB4CAD] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_acct__updat__73CF70E6] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_acct__delet__74C3951F] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_acct__tenan__75B7B958] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_acc__3213E83F98FE0324] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_add_up_deduction](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[employee_id] [bigint] NOT NULL,
|
|
[tax_agent_id] [bigint] NOT NULL,
|
|
[declare_month] [datetime] NOT NULL CONSTRAINT [DF__hrsa_add___decla__5F7E5F76] DEFAULT (getdate()),
|
|
[add_up_child_education] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__607283AF] DEFAULT (''),
|
|
[add_up_continuing_education] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__6166A7E8] DEFAULT (''),
|
|
[add_up_housing_loan_interest] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__625ACC21] DEFAULT (''),
|
|
[add_up_housing_rent] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__634EF05A] DEFAULT (''),
|
|
[add_up_support_elderly] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__64431493] DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_add___creat__653738CC] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_add___updat__662B5D05] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_add___creat__671F813E] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_add___delet__6813A577] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_add___tenan__6907C9B0] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_add__3213E83F754CE0DB] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_add_up_situation](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[employee_id] [bigint] NOT NULL,
|
|
[tax_agent_id] [bigint] NOT NULL,
|
|
[tax_year_month] [datetime] NOT NULL CONSTRAINT [DF__hrsa_add___tax_y__6BE4365B] DEFAULT (getdate()),
|
|
[year] [bigint] NOT NULL CONSTRAINT [DF__hrsa_add_u__year__6CD85A94] DEFAULT ('0'),
|
|
[add_up_income] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__6DCC7ECD] DEFAULT (''),
|
|
[add_up_subtraction] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__6EC0A306] DEFAULT (''),
|
|
[add_up_social_security_total] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__6FB4C73F] DEFAULT (''),
|
|
[add_up_accumulation_fund_total] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__70A8EB78] DEFAULT (''),
|
|
[add_up_child_education] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__719D0FB1] DEFAULT (''),
|
|
[add_up_continuing_education] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__729133EA] DEFAULT (''),
|
|
[add_up_housing_loan_interest] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__73855823] DEFAULT (''),
|
|
[add_up_housing_rent] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__74797C5C] DEFAULT (''),
|
|
[add_up_support_elderly] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__756DA095] DEFAULT (''),
|
|
[add_up_enterprise_and_other] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__7661C4CE] DEFAULT (''),
|
|
[add_up_other_deduction] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__7755E907] DEFAULT ('0.00000'),
|
|
[add_up_tax_exempt_income] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__784A0D40] DEFAULT (''),
|
|
[add_up_allowed_donation] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__793E3179] DEFAULT (''),
|
|
[add_up_advance_tax] [varchar](255) NULL CONSTRAINT [DF__hrsa_add___add_u__7A3255B2] DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_add___creat__7B2679EB] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_add___updat__7C1A9E24] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_add___creat__7D0EC25D] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_add___delet__7E02E696] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_add___tenan__7EF70ACF] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_add__3213E83FF1708F0E] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_attend_quote](
|
|
[id] [bigint] NOT NULL,
|
|
[salary_year_month] [datetime] NOT NULL,
|
|
[year] [int] NOT NULL CONSTRAINT [DF__hrsa_atten__year__7F611F23] DEFAULT ('0'),
|
|
[month] [int] NOT NULL CONSTRAINT [DF__hrsa_atte__month__0055435C] DEFAULT ('0'),
|
|
[salary_sob_id] [bigint] NOT NULL,
|
|
[source_type] [int] NOT NULL CONSTRAINT [DF__hrsa_atte__sourc__01496795] DEFAULT ('0'),
|
|
[salary_accounting_status] [int] NOT NULL CONSTRAINT [DF__hrsa_atte__salar__023D8BCE] DEFAULT ('0'),
|
|
[attend_cycle] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_atte__atten__0331B007] DEFAULT (''),
|
|
[salary_cycle] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_atte__salar__0425D440] DEFAULT (''),
|
|
[description] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_atte__descr__0519F879] DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_atte__creat__060E1CB2] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_atte__updat__070240EB] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_atte__creat__07F66524] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_atte__delet__08EA895D] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_atte__tenan__09DEAD96] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_att__3213E83FDCC28845] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_attend_quote_data](
|
|
[id] [bigint] NOT NULL,
|
|
[employee_id] [bigint] NOT NULL,
|
|
[attend_quote_id] [bigint] NOT NULL,
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_atte__creat__0CBB1A41] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_atte__updat__0DAF3E7A] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_atte__creat__0EA362B3] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_atte__delet__0F9786EC] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_atte__tenan__108BAB25] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_att__3213E83F1A2D1D25] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_attend_quote_data_value](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[employee_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_atte__emplo__136817D0] DEFAULT ('0'),
|
|
[attend_quote_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_atte__atten__145C3C09] DEFAULT ('0'),
|
|
[attend_quote_data_id] [bigint] NOT NULL,
|
|
[attend_quote_field_id] [bigint] NOT NULL,
|
|
[data_value] [varchar](250) NOT NULL,
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_atte__creat__15506042] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_atte__updat__1644847B] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_atte__creat__1738A8B4] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_atte__delet__182CCCED] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_atte__tenan__1920F126] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_att__3213E83F6335B55A] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_attend_quote_field](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[field_name] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_atte__field__1BFD5DD1] DEFAULT (''),
|
|
[source_type] [int] NOT NULL CONSTRAINT [DF__hrsa_atte__sourc__1CF1820A] DEFAULT ('0'),
|
|
[field_type] [int] NOT NULL CONSTRAINT [DF__hrsa_atte__field__1DE5A643] DEFAULT ('0'),
|
|
[enable_status] [int] NOT NULL CONSTRAINT [DF__hrsa_atte__enabl__1ED9CA7C] DEFAULT ('0'),
|
|
[code] [varchar](50) NOT NULL CONSTRAINT [DF__hrsa_atten__code__1FCDEEB5] DEFAULT (''),
|
|
[description] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_atte__descr__20C212EE] DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_atte__creat__21B63727] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_atte__updat__22AA5B60] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_atte__creat__239E7F99] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_atte__delet__2492A3D2] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_atte__tenan__2586C80B] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_att__3213E83FF3039E8C] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_attend_quote_sync_set](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[source_type] [int] NOT NULL CONSTRAINT [DF__hrsa_atte__sourc__286334B6] DEFAULT ('0'),
|
|
[current_setting_content] [varchar](4000) NOT NULL CONSTRAINT [DF__hrsa_atte__curre__295758EF] DEFAULT (''),
|
|
[default_setting_content] [varchar](4000) NOT NULL CONSTRAINT [DF__hrsa_atte__defau__2A4B7D28] DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_atte__creat__2B3FA161] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_atte__updat__2C33C59A] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_atte__creat__2D27E9D3] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_atte__delet__2E1C0E0C] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_atte__tenan__2F103245] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_att__3213E83F9F9A93E6] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_bill_batch](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[bill_month] [varchar](30) NOT NULL,
|
|
[bill_status] [int] NOT NULL,
|
|
[social_num] [int] NULL CONSTRAINT [DF__hrsa_bill__socia__0D3A3D2E] DEFAULT ((0)),
|
|
[fund_num] [int] NULL CONSTRAINT [DF__hrsa_bill__fund___0E2E6167] DEFAULT ((0)),
|
|
[other_num] [int] NULL CONSTRAINT [DF__hrsa_bill__other__0F2285A0] DEFAULT ((0)),
|
|
[social_pay] [varchar](4000) NULL,
|
|
[fund_pay] [varchar](4000) NULL,
|
|
[other_pay] [varchar](4000) NULL,
|
|
[accountant] [varchar](20) NOT NULL,
|
|
[remarks] [varchar](60) NULL,
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_bill__creat__1016A9D9] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_bill__creat__110ACE12] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_bill__updat__11FEF24B] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_bill__delet__12F31684] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_bill__tenan__13E73ABD] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_bil__3213E83F11B70E7B] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_bill_batch_encdata](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[tablename] [varchar](50) NOT NULL,
|
|
[fieldname] [varchar](50) NOT NULL,
|
|
[enc_value] [varchar](4000) NOT NULL,
|
|
[skey] [varchar](4000) NOT NULL,
|
|
[crc] [varchar](4000) NULL,
|
|
[creater] [bigint] NULL,
|
|
[created] [varchar](50) NULL,
|
|
[MODIFIER] [bigint] NULL,
|
|
[modified] [varchar](50) NULL,
|
|
[tenant_key] [varchar](10) NULL,
|
|
CONSTRAINT [PK__hrsa_bil__3213E83FA94B00E2] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_bill_detail](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[employee_id] [bigint] NOT NULL,
|
|
[bill_month] [varchar](30) NOT NULL,
|
|
[bill_status] [int] NOT NULL,
|
|
[payment_status] [int] NOT NULL,
|
|
[supplementary_month] [varchar](50) NULL,
|
|
[supplementary_projects] [varchar](50) NULL,
|
|
[resource_from] [int] NOT NULL,
|
|
[social_pay_org] [int] NULL,
|
|
[social_account] [varchar](50) NULL,
|
|
[social_scheme_id] [bigint] NULL,
|
|
[social_payment_base_string] [varchar](512) NULL,
|
|
[fund_pay_org] [int] NULL,
|
|
[fund_account] [varchar](50) NULL,
|
|
[supplement_fund_account] [varchar](50) NULL,
|
|
[fund_scheme_id] [int] NULL,
|
|
[fund_payment_base_string] [varchar](512) NULL,
|
|
[other_pay_org] [int] NULL,
|
|
[other_scheme_id] [bigint] NULL,
|
|
[other_payment_base_string] [varchar](512) NULL,
|
|
[social_per_json] [varchar](512) NULL,
|
|
[social_per_sum] [varchar](512) NULL,
|
|
[fund_per_json] [varchar](512) NULL,
|
|
[fund_per_sum] [varchar](512) NULL,
|
|
[other_per_json] [varchar](512) NULL,
|
|
[other_per_sum] [varchar](512) NULL,
|
|
[per_sum] [varchar](512) NULL,
|
|
[social_com_json] [varchar](512) NULL,
|
|
[social_com_sum] [varchar](512) NULL,
|
|
[fund_com_json] [varchar](512) NULL,
|
|
[fund_com_sum] [varchar](512) NULL,
|
|
[other_com_json] [varchar](512) NULL,
|
|
[other_com_sum] [varchar](512) NULL,
|
|
[com_sum] [varchar](512) NULL,
|
|
[social_sum] [varchar](512) NULL,
|
|
[fund_sum] [varchar](512) NULL,
|
|
[other_sum] [varchar](512) NULL,
|
|
[total] [varchar](512) 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,
|
|
CONSTRAINT [PK__hrsa_bil__3213E83F75293F9D] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_bill_detail_temp](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[employee_id] [bigint] NOT NULL,
|
|
[bill_month] [varchar](30) NOT NULL,
|
|
[bill_status] [int] NOT NULL,
|
|
[payment_status] [int] NOT NULL,
|
|
[supplementary_month] [varchar](50) NULL,
|
|
[supplementary_projects] [varchar](50) NULL,
|
|
[resource_from] [int] NOT NULL,
|
|
[social_pay_org] [int] NULL,
|
|
[social_account] [varchar](50) NULL,
|
|
[social_scheme_id] [bigint] NULL,
|
|
[social_payment_base_string] [varchar](512) NULL,
|
|
[fund_pay_org] [int] NULL,
|
|
[fund_account] [varchar](50) NULL,
|
|
[supplement_fund_account] [varchar](50) NULL,
|
|
[fund_scheme_id] [bigint] NULL,
|
|
[fund_payment_base_string] [varchar](512) NULL,
|
|
[other_pay_org] [int] NULL,
|
|
[other_scheme_id] [int] NULL,
|
|
[other_payment_base_string] [varchar](512) NULL,
|
|
[social_per_json] [varchar](512) NULL,
|
|
[social_per_sum] [varchar](512) NULL,
|
|
[fund_per_json] [varchar](512) NULL,
|
|
[fund_per_sum] [varchar](512) NULL,
|
|
[other_per_json] [varchar](512) NULL,
|
|
[other_per_sum] [varchar](512) NULL,
|
|
[per_sum] [varchar](512) NULL,
|
|
[social_com_json] [varchar](512) NULL,
|
|
[social_com_sum] [varchar](512) NULL,
|
|
[fund_com_json] [varchar](512) NULL,
|
|
[fund_com_sum] [varchar](512) NULL,
|
|
[other_com_json] [varchar](512) NULL,
|
|
[other_com_sum] [varchar](512) NULL,
|
|
[com_sum] [varchar](512) NULL,
|
|
[social_sum] [varchar](512) NULL,
|
|
[fund_sum] [varchar](512) NULL,
|
|
[other_sum] [varchar](512) NULL,
|
|
[total] [varchar](512) 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,
|
|
CONSTRAINT [PK__hrsa_bil__3213E83F976CD15A] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_bill_inspect](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[employee_id] [bigint] NOT NULL,
|
|
[bill_month] [varchar](30) NOT NULL,
|
|
[payment_status] [int] NOT NULL,
|
|
[supplementary_month] [varchar](50) NULL,
|
|
[supplementary_projects] [varchar](50) NULL,
|
|
[inspect_status] [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) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_bil__3213E83F4F416886] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_check_result](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_acct_record_id] [bigint] NOT NULL,
|
|
[salary_check_rule_id] [bigint] NOT NULL,
|
|
[formula_id] [bigint] NOT NULL,
|
|
[ignore_type] [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) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_che__3213E83F9C546AE2] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_check_result_record](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_acct_record_id] [bigint] NOT NULL,
|
|
[salary_check_rule_id] [bigint] NOT NULL,
|
|
[formula_id] [bigint] NOT NULL,
|
|
[check_result_id] [bigint] NOT NULL,
|
|
[salary_acct_emp_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,
|
|
CONSTRAINT [PK__hrsa_che__3213E83F8CCEE0D3] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_ck_result_detail_temp](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_acct_emp_id] [bigint] NOT NULL,
|
|
[salary_acct_record_id] [bigint] NOT NULL,
|
|
[employee_id] [bigint] NOT NULL,
|
|
[salary_check_rule_id] [bigint] NOT NULL,
|
|
[formula_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,
|
|
[calculate_key] [varchar](50) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_ck___3213E83F363196B8] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_excel_acct_result](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_sob_id] [bigint] NOT NULL,
|
|
[salary_acct_emp_id] [bigint] NOT NULL,
|
|
[salary_acct_record_id] [bigint] NOT NULL,
|
|
[employee_id] [bigint] NOT NULL,
|
|
[salary_item_id] [bigint] NOT NULL,
|
|
[result_value] [varchar](1000) 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,
|
|
[tax_agent_id] [bigint] NOT NULL,
|
|
CONSTRAINT [PK__hrsa_exc__3213E83FC4CBA4B0] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_formula](
|
|
[id] [bigint] NOT NULL,
|
|
[name] [varchar](255) NOT NULL,
|
|
[description] [varchar](255) NULL CONSTRAINT [DF__hrsa_form__descr__40C4CE2C] DEFAULT (NULL),
|
|
[module] [varchar](255) NOT NULL,
|
|
[use_for] [varchar](255) NULL CONSTRAINT [DF__hrsa_form__use_f__41B8F265] DEFAULT (NULL),
|
|
[reference_type] [varchar](255) NULL CONSTRAINT [DF__hrsa_form__refer__42AD169E] DEFAULT (NULL),
|
|
[return_type] [varchar](255) NOT NULL,
|
|
[validate_type] [varchar](255) NOT NULL,
|
|
[extend_param] [varchar](255) NULL CONSTRAINT [DF__hrsa_form__exten__43A13AD7] DEFAULT (NULL),
|
|
[formula] [varchar](4000) NOT NULL,
|
|
[formulaRunScript] [varchar](4000) NOT NULL,
|
|
[creator] [bigint] NOT NULL,
|
|
[delete_type] [int] NOT NULL,
|
|
[create_time] [datetime] NOT NULL,
|
|
[update_time] [datetime] NOT NULL,
|
|
CONSTRAINT [PK__hrsa_for__3213E83FAFC8E740] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_formula_var](
|
|
[id] [bigint] NOT NULL,
|
|
[name] [varchar](255) NOT NULL,
|
|
[formula_id] [bigint] NOT NULL,
|
|
[field_id] [varchar](255) NOT NULL,
|
|
[field_name] [varchar](500) NOT NULL,
|
|
[field_type] [varchar](255) NOT NULL,
|
|
[source] [varchar](255) NOT NULL,
|
|
[order_index] [int] NOT NULL,
|
|
[creator] [bigint] NOT NULL,
|
|
[delete_type] [int] NOT NULL,
|
|
[create_time] [datetime] NOT NULL,
|
|
[update_time] [datetime] NOT NULL,
|
|
CONSTRAINT [PK__hrsa_for__3213E83FB8D3F2C3] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_fund_archives](
|
|
[id] [int] IDENTITY(1,1) NOT NULL,
|
|
[employee_id] [int] NOT NULL,
|
|
[non_payment] [int] NULL,
|
|
[welfare_type] [int] NOT NULL,
|
|
[fund_start_time] [varchar](20) NULL,
|
|
[fund_end_time] [varchar](20) NULL,
|
|
[fund_scheme_id] [int] NULL,
|
|
[fund_account] [varchar](50) NULL,
|
|
[supplement_fund_account] [varchar](50) NULL,
|
|
[payment_organization] [int] NULL,
|
|
[under_take] [int] NULL,
|
|
[fund_payment_base_string] [varchar](4000) NULL,
|
|
[create_time] [datetime] NOT NULL,
|
|
[update_time] [datetime] NOT NULL,
|
|
[creator] [int] NOT NULL,
|
|
[delete_type] [int] NOT NULL,
|
|
[tenant_key] [varchar](10) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_fun__3213E83F58E4771D] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_insurance_category](
|
|
[id] [bigint] NOT NULL,
|
|
[insurance_name] [varchar](50) NOT NULL,
|
|
[welfare_type] [int] NOT NULL,
|
|
[is_use] [int] NOT NULL CONSTRAINT [DF__hrsa_insu__is_us__17F7C2C3] DEFAULT ('1'),
|
|
[payment_scope] [varchar](10) NULL,
|
|
[data_type] [int] NOT NULL CONSTRAINT [DF__hrsa_insu__data___18EBE6FC] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_insu__creat__19E00B35] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_insu__updat__1AD42F6E] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_insu__creat__1BC853A7] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_insu__delet__1CBC77E0] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_insu__tenan__1DB09C19] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_ins__3213E83FE9A41C6E] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_other_archives](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[employee_id] [bigint] NOT NULL,
|
|
[non_payment] [int] NULL,
|
|
[welfare_type] [int] NOT NULL,
|
|
[other_start_time] [varchar](20) NULL,
|
|
[other_end_time] [varchar](20) NULL,
|
|
[other_scheme_id] [bigint] NULL,
|
|
[payment_organization] [int] NULL,
|
|
[under_take] [int] NULL,
|
|
[other_payment_base_string] [varchar](4000) NULL,
|
|
[create_time] [datetime] NOT NULL,
|
|
[update_time] [datetime] NOT NULL,
|
|
[creator] [bigint] NOT NULL,
|
|
[delete_type] [int] NOT NULL,
|
|
[tenant_key] [varchar](10) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_oth__3213E83FB9A7B1A7] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_other_deduction](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[employee_id] [bigint] NOT NULL,
|
|
[tax_agent_id] [bigint] NOT NULL,
|
|
[declare_month] [datetime] NOT NULL CONSTRAINT [DF__hrsa_othe__decla__01D3777A] DEFAULT (getdate()),
|
|
[business_healthy_insurance] [varchar](255) NULL CONSTRAINT [DF__hrsa_othe__busin__02C79BB3] DEFAULT ('0.00000'),
|
|
[tax_delay_endowment_insurance] [varchar](255) NULL CONSTRAINT [DF__hrsa_othe__tax_d__03BBBFEC] DEFAULT (''),
|
|
[other_deduction] [varchar](255) NULL CONSTRAINT [DF__hrsa_othe__other__04AFE425] DEFAULT (''),
|
|
[deduction_allowed_donation] [varchar](255) NULL CONSTRAINT [DF__hrsa_othe__deduc__05A4085E] DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_othe__creat__06982C97] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_othe__updat__078C50D0] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_othe__creat__08807509] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_othe__delet__09749942] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_othe__tenan__0A68BD7B] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_oth__3213E83F0A76309A] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_acct_emp](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_acct_record_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__517A58E2] DEFAULT ('0'),
|
|
[salary_sob_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__526E7D1B] DEFAULT ('0'),
|
|
[employee_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__emplo__5362A154] DEFAULT ('0'),
|
|
[tax_agent_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__tax_a__5456C58D] DEFAULT ('0'),
|
|
[salary_month] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__554AE9C6] DEFAULT ('0000-01-01'),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__563F0DFF] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__57333238] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__58275671] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__591B7AAA] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__5A0F9EE3] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F1984A7A3] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_acct_record](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_month] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__451481FD] DEFAULT ('0000-01-01'),
|
|
[tax_cycle] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__tax_c__4608A636] DEFAULT ('0000-01-01'),
|
|
[salary_sob_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__46FCCA6F] DEFAULT ('0'),
|
|
[status] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__statu__47F0EEA8] DEFAULT ('1'),
|
|
[acct_times] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__acct___48E512E1] DEFAULT ('0'),
|
|
[description] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_sala__descr__49D9371A] DEFAULT (''),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__4ACD5B53] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__4BC17F8C] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__4CB5A3C5] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__4DA9C7FE] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__4E9DEC37] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F0DF292EA] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_acct_result](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_sob_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__5CEC0B8E] DEFAULT ('0'),
|
|
[salary_acct_emp_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__5DE02FC7] DEFAULT ('0'),
|
|
[salary_acct_record_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__5ED45400] DEFAULT ('0'),
|
|
[employee_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__emplo__5FC87839] DEFAULT ('0'),
|
|
[tax_agent_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__tax_a__60BC9C72] DEFAULT ('0'),
|
|
[salary_item_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__61B0C0AB] DEFAULT ('0'),
|
|
[result_value] [varchar](1000) NOT NULL CONSTRAINT [DF__hrsa_sala__resul__62A4E4E4] DEFAULT (''),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__6399091D] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__648D2D56] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__6581518F] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__667575C8] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__67699A01] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F855BF743] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_archive](
|
|
[id] [bigint] NOT NULL,
|
|
[employee_id] [bigint] NOT NULL,
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__3D5E519C] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__3E5275D5] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__3F469A0E] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__403ABE47] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__412EE280] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F7203A9DD] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_archive_dimission](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[dimission_time_interval] [varchar](20) NOT NULL,
|
|
[create_time] [datetime] NOT NULL,
|
|
[update_time] [datetime] NOT NULL,
|
|
[creator] [bigint] NOT NULL,
|
|
[delete_type] [int] NOT NULL,
|
|
[tenant_key] [varchar](10) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_sal__3213E83FE557B23A] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_archive_item](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_archive_id] [bigint] NOT NULL,
|
|
[employee_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__emplo__4AB84CBA] DEFAULT ('0'),
|
|
[effective_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__effec__4BAC70F3] DEFAULT (getdate()),
|
|
[adjust_reason] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_sala__adjus__4CA0952C] DEFAULT (''),
|
|
[salary_item_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__4D94B965] DEFAULT ('0'),
|
|
[item_value] [varchar](200) NOT NULL CONSTRAINT [DF__hrsa_sala__item___4E88DD9E] DEFAULT (''),
|
|
[description] [varchar](200) NOT NULL CONSTRAINT [DF__hrsa_sala__descr__4F7D01D7] DEFAULT (''),
|
|
[operator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__opera__50712610] DEFAULT ('0'),
|
|
[operate_time] [datetime] NULL CONSTRAINT [DF__hrsa_sala__opera__51654A49] DEFAULT (NULL),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__52596E82] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__534D92BB] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__5441B6F4] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__5535DB2D] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__5629FF66] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F9832BF34] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_archive_tax_agent](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_archive_id] [bigint] NOT NULL,
|
|
[employee_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__emplo__59066C11] DEFAULT ('0'),
|
|
[effective_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__effec__59FA904A] DEFAULT (getdate()),
|
|
[adjust_reason] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_sala__adjus__5AEEB483] DEFAULT (''),
|
|
[tax_agent_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__tax_a__5BE2D8BC] DEFAULT ('0'),
|
|
[operator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__opera__5CD6FCF5] DEFAULT ('0'),
|
|
[operate_time] [datetime] NULL CONSTRAINT [DF__hrsa_sala__opera__5DCB212E] DEFAULT (NULL),
|
|
[description] [varchar](200) NULL CONSTRAINT [DF__hrsa_sala__descr__5EBF4567] DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__5FB369A0] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__60A78DD9] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__619BB212] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__628FD64B] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__6383FA84] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F055B7B1F] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_item](
|
|
[id] [bigint] NOT NULL,
|
|
[name] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_salar__name__4178FB43] DEFAULT (''),
|
|
[code] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_salar__code__426D1F7C] DEFAULT (''),
|
|
[system_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__syste__436143B5] DEFAULT ('0'),
|
|
[sys_salary_item_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__sys_s__445567EE] DEFAULT ('0'),
|
|
[category] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__categ__45498C27] DEFAULT ('7'),
|
|
[item_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__item___463DB060] DEFAULT ('1'),
|
|
[use_default] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__use_d__4731D499] DEFAULT ('0'),
|
|
[use_in_employee_salary] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__use_i__4825F8D2] DEFAULT ('0'),
|
|
[rounding_mode] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__round__491A1D0B] DEFAULT ('1'),
|
|
[pattern] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__patte__4A0E4144] DEFAULT ('5'),
|
|
[value_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__value__4B02657D] DEFAULT ('1'),
|
|
[datasource] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__datas__4BF689B6] DEFAULT ('0'),
|
|
[formula_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__formu__4CEAADEF] DEFAULT ('0'),
|
|
[description] [varchar](1000) NOT NULL CONSTRAINT [DF__hrsa_sala__descr__4DDED228] DEFAULT (''),
|
|
[can_edit] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__can_e__4ED2F661] DEFAULT ('1'),
|
|
[can_delete] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__can_d__4FC71A9A] DEFAULT ('1'),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__50BB3ED3] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__51AF630C] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__52A38745] DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__5397AB7E] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__548BCFB7] DEFAULT (getdate()),
|
|
[data_type] [varchar](20) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F0EFFA183] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_send](
|
|
[id] [bigint] NOT NULL,
|
|
[salary_month] [datetime] NOT NULL,
|
|
[salary_accounting_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__6660672F] DEFAULT ('0'),
|
|
[salary_sob_id] [bigint] NOT NULL,
|
|
[send_num] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__send___67548B68] DEFAULT ('0'),
|
|
[send_total] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__send___6848AFA1] DEFAULT ('0'),
|
|
[last_send_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__last___693CD3DA] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__6A30F813] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__6B251C4C] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__6C194085] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__6D0D64BE] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__6E0188F7] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F5083B115] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_send_info](
|
|
[id] [bigint] NOT NULL,
|
|
[salary_send_id] [bigint] NOT NULL,
|
|
[salary_month] [datetime] NOT NULL,
|
|
[salary_acct_record_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__70DDF5A2] DEFAULT ('0'),
|
|
[tax_agent_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__tax_a__71D219DB] DEFAULT ('0'),
|
|
[employee_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__emplo__72C63E14] DEFAULT ('0'),
|
|
[send_status] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__send___73BA624D] DEFAULT ('0'),
|
|
[send_time] [datetime] NULL CONSTRAINT [DF__hrsa_sala__send___74AE8686] DEFAULT (NULL),
|
|
[salary_template] [text] NULL,
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__75A2AABF] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__7696CEF8] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__778AF331] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__787F176A] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NULL CONSTRAINT [DF__hrsa_sala__tenan__79733BA3] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F9E9C15DE] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_sob](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[name] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_salar__name__6C635948] DEFAULT (''),
|
|
[income_category] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__incom__6D577D81] DEFAULT ('1'),
|
|
[salary_cycle_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__6E4BA1BA] DEFAULT ('3'),
|
|
[salary_cycle_from_day] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__6F3FC5F3] DEFAULT ('1'),
|
|
[tax_cycle_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__tax_c__7033EA2C] DEFAULT ('3'),
|
|
[attend_cycle_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__atten__71280E65] DEFAULT ('3'),
|
|
[attend_cycle_from_day] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__atten__721C329E] DEFAULT ('1'),
|
|
[social_security_cycle_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__socia__731056D7] DEFAULT ('3'),
|
|
[disable] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__disab__74047B10] DEFAULT ('0'),
|
|
[description] [varchar](1000) NOT NULL CONSTRAINT [DF__hrsa_sala__descr__74F89F49] DEFAULT (''),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__75ECC382] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__76E0E7BB] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__77D50BF4] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__78C9302D] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__79BD5466] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F909B5ECF] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_sob_adjust_rule](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_sob_id] [bigint] NOT NULL,
|
|
[salary_item_id] [bigint] NOT NULL,
|
|
[day_of_month] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__day_o__310D8950] DEFAULT ('0'),
|
|
[before_adjustment_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__befor__3201AD89] DEFAULT ('1'),
|
|
[after_adjustment_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__after__32F5D1C2] DEFAULT ('1'),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__33E9F5FB] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__34DE1A34] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__35D23E6D] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__36C662A6] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__37BA86DF] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83FFA5F62D1] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_sob_check_rule](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_sob_id] [bigint] NOT NULL,
|
|
[name] [varchar](100) NOT NULL,
|
|
[formula_id] [bigint] NOT NULL,
|
|
[description] [varchar](1000) NOT NULL,
|
|
[create_time] [datetime] NOT NULL,
|
|
[update_time] [datetime] NOT NULL,
|
|
[creator] [bigint] NOT NULL,
|
|
[delete_type] [int] NOT NULL,
|
|
[tenant_key] [varchar](10) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F9D65480A] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_sob_default_item](
|
|
[id] [bigint] NOT NULL,
|
|
[income_category] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__incom__1194DDF7] DEFAULT ('1'),
|
|
[sys_salary_item_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__sys_s__12890230] DEFAULT ('0'),
|
|
[can_edit] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__can_e__137D2669] DEFAULT ('1'),
|
|
[can_delete] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__can_d__14714AA2] DEFAULT ('1'),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__15656EDB] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__16599314] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__174DB74D] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__1841DB86] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__1935FFBF] DEFAULT (''),
|
|
[sob_default_item_group_id] [bigint] NOT NULL,
|
|
[sorted_index] [int] NOT NULL,
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F6FE1E230] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_sob_emp_field](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_sob_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__1C126C6A] DEFAULT ('0'),
|
|
[field_code] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_sala__field__1D0690A3] DEFAULT (''),
|
|
[sorted_index] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__sorte__1DFAB4DC] DEFAULT ('0'),
|
|
[can_delete] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__can_d__1EEED915] DEFAULT ('1'),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__1FE2FD4E] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__20D72187] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__21CB45C0] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__22BF69F9] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__23B38E32] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83FB29D77D7] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_sob_item](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_sob_id] [bigint] NOT NULL,
|
|
[salary_item_id] [bigint] NOT NULL,
|
|
[salary_sob_item_group_id] [bigint] NOT NULL,
|
|
[formula_id] [bigint] NOT NULL,
|
|
[sorted_index] [int] NOT NULL,
|
|
[description] [varchar](1000) NOT NULL DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL,
|
|
[update_time] [datetime] NOT NULL,
|
|
[creator] [bigint] NOT NULL,
|
|
[delete_type] [int] NOT NULL,
|
|
[tenant_key] [varchar](10) NOT NULL,
|
|
PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_sob_item_group](
|
|
[id] [bigint] NOT NULL,
|
|
[salary_sob_id] [bigint] NOT NULL,
|
|
[name] [varchar](100) NOT NULL,
|
|
[sorted_index] [int] NOT NULL,
|
|
[description] [varchar](1000) NOT NULL,
|
|
[create_time] [datetime] NOT NULL,
|
|
[update_time] [datetime] NOT NULL,
|
|
[creator] [bigint] NOT NULL,
|
|
[delete_type] [int] NOT NULL,
|
|
[tenant_key] [varchar](10) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_sal__3213E83F839D353B] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_sob_range](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[salary_sob_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__7C99C111] DEFAULT ('0'),
|
|
[target_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__targe__7D8DE54A] DEFAULT ('1'),
|
|
[target_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__targe__7E820983] DEFAULT ('0'),
|
|
[employee_status] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__emplo__7F762DBC] DEFAULT ('0'),
|
|
[include_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__inclu__006A51F5] DEFAULT ('1'),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__015E762E] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__02529A67] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__0346BEA0] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__043AE2D9] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__052F0712] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83FBDD1FEE0] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_salary_template](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[name] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_salar__name__7C4FA84E] DEFAULT (''),
|
|
[salary_sob_id] [bigint] NOT NULL,
|
|
[use_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__use_t__7D43CC87] DEFAULT ('0'),
|
|
[description] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_sala__descr__7E37F0C0] DEFAULT (''),
|
|
[email_status] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__email__7F2C14F9] DEFAULT ('0'),
|
|
[send_email_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__send___00203932] DEFAULT ('0'),
|
|
[msg_status] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__msg_s__01145D6B] DEFAULT ('0'),
|
|
[theme] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_sala__theme__020881A4] DEFAULT (''),
|
|
[background] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_sala__backg__02FCA5DD] DEFAULT (''),
|
|
[text_content] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_sala__text___03F0CA16] DEFAULT (''),
|
|
[text_content_position] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__text___04E4EE4F] DEFAULT ('0'),
|
|
[salary_item_null_status] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__05D91288] DEFAULT ('0'),
|
|
[salary_item_zero_status] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__salar__06CD36C1] DEFAULT ('0'),
|
|
[salary_item_setting] [text] NOT NULL,
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__07C15AFA] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sala__updat__08B57F33] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sala__creat__09A9A36C] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sala__delet__0A9DC7A5] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sala__tenan__0B91EBDE] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sal__3213E83FA7A62303] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_scheme_detail](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[insurance_id] [bigint] NOT NULL,
|
|
[primary_id] [bigint] NOT NULL,
|
|
[effective_time] [varchar](20) NULL,
|
|
[expiration_time] [varchar](20) NULL,
|
|
[is_payment] [int] NOT NULL CONSTRAINT [DF__hrsa_sche__is_pa__2A1672FE] DEFAULT ('1'),
|
|
[payment_scope] [int] NOT NULL,
|
|
[upper_limit] [varchar](1024) NULL,
|
|
[lower_limit] [varchar](1024) NULL,
|
|
[payment_proportion] [varchar](1024) NULL,
|
|
[fixed_cost] [varchar](1024) NULL,
|
|
[valid_num] [int] NULL CONSTRAINT [DF__hrsa_sche__valid__2B0A9737] DEFAULT ((2)),
|
|
[rentention_rule] [int] NULL,
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sche__creat__2BFEBB70] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sche__updat__2CF2DFA9] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sche__creat__2DE703E2] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sche__delet__2EDB281B] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sche__tenan__2FCF4C54] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sch__3213E83FC3CBA3DC] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_sob_default_emp_field](
|
|
[id] [bigint] NOT NULL,
|
|
[field_code] [varchar](30) NOT NULL CONSTRAINT [DF__hrsa_sob___field__080B73BD] DEFAULT (''),
|
|
[sorted_index] [int] NOT NULL CONSTRAINT [DF__hrsa_sob___sorte__08FF97F6] DEFAULT ('0'),
|
|
[can_delete] [int] NOT NULL CONSTRAINT [DF__hrsa_sob___can_d__09F3BC2F] DEFAULT ('0'),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sob___creat__0AE7E068] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sob___creat__0BDC04A1] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sob___updat__0CD028DA] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sob___delet__0DC44D13] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sob___tenan__0EB8714C] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sob__3213E83F544D67E9] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_sob_default_item_group](
|
|
[id] [bigint] NOT NULL,
|
|
[income_category] [tinyint] NOT NULL CONSTRAINT [DF__hrsa_sob___incom__1214CC3B] DEFAULT ('1'),
|
|
[name] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_sob_d__name__1308F074] DEFAULT (''),
|
|
[sorted_index] [int] NOT NULL CONSTRAINT [DF__hrsa_sob___sorte__13FD14AD] DEFAULT ('0'),
|
|
[description] [varchar](1000) NOT NULL CONSTRAINT [DF__hrsa_sob___descr__14F138E6] DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL,
|
|
[update_time] [datetime] NOT NULL,
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sob___creat__15E55D1F] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sob___delet__16D98158] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sob___tenan__17CDA591] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_sob__3213E83F56BCC134] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_social_archives](
|
|
[id] [int] IDENTITY(1,1) NOT NULL,
|
|
[employee_id] [int] NOT NULL,
|
|
[non_payment] [int] NULL,
|
|
[welfare_type] [int] NOT NULL,
|
|
[social_start_time] [varchar](20) NULL,
|
|
[social_end_time] [varchar](20) NULL,
|
|
[social_scheme_id] [int] NULL,
|
|
[social_account] [varchar](50) NULL,
|
|
[payment_organization] [int] NULL,
|
|
[under_take] [int] NULL,
|
|
[social_payment_base_string] [varchar](4000) NULL,
|
|
[create_time] [datetime] NOT NULL,
|
|
[update_time] [datetime] NOT NULL,
|
|
[creator] [int] NOT NULL,
|
|
[delete_type] [int] NOT NULL,
|
|
[tenant_key] [varchar](10) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_soc__3213E83F17F97C9A] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_social_archives_encdata](
|
|
[id] [int] IDENTITY(1,1) NOT NULL,
|
|
[tablename] [varchar](50) NOT NULL,
|
|
[fieldname] [varchar](50) NOT NULL,
|
|
[enc_value] [varchar](4000) NOT NULL,
|
|
[skey] [varchar](4000) NOT NULL,
|
|
[crc] [varchar](4000) NULL,
|
|
[creater] [int] NULL,
|
|
[created] [varchar](50) NULL,
|
|
[MODIFIER] [int] NULL,
|
|
[modified] [varchar](50) NULL,
|
|
[tenant_key] [varchar](10) NULL,
|
|
CONSTRAINT [PK__hrsa_soc__3213E83F9CDA95A1] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_social_security_scheme](
|
|
[id] [int] IDENTITY(1,1) NOT NULL,
|
|
[payment_area] [varchar](100) NOT NULL,
|
|
[payment_type] [int] NOT NULL DEFAULT ('1'),
|
|
[scheme_name] [varchar](100) NOT NULL,
|
|
[welfare_type] [int] NOT NULL,
|
|
[is_use] [int] NOT NULL DEFAULT ('1'),
|
|
[remarks] [varchar](30) NULL DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL DEFAULT (getdate()),
|
|
[creator] [int] NOT NULL DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL DEFAULT (''),
|
|
PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_sys_salary_item](
|
|
[id] [bigint] NOT NULL,
|
|
[name] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_sys_s__name__57683C62] DEFAULT (''),
|
|
[code] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_sys_s__code__585C609B] DEFAULT (''),
|
|
[system_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sys___syste__595084D4] DEFAULT ('0'),
|
|
[category] [int] NOT NULL CONSTRAINT [DF__hrsa_sys___categ__5A44A90D] DEFAULT ('7'),
|
|
[item_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sys___item___5B38CD46] DEFAULT ('1'),
|
|
[use_default] [int] NOT NULL CONSTRAINT [DF__hrsa_sys___use_d__5C2CF17F] DEFAULT ('0'),
|
|
[use_in_employee_salary] [int] NOT NULL CONSTRAINT [DF__hrsa_sys___use_i__5D2115B8] DEFAULT ('0'),
|
|
[rounding_mode] [int] NOT NULL CONSTRAINT [DF__hrsa_sys___round__5E1539F1] DEFAULT ('1'),
|
|
[pattern] [int] NOT NULL CONSTRAINT [DF__hrsa_sys___patte__5F095E2A] DEFAULT ('5'),
|
|
[value_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sys___value__5FFD8263] DEFAULT ('1'),
|
|
[datasource] [int] NOT NULL CONSTRAINT [DF__hrsa_sys___datas__60F1A69C] DEFAULT ('0'),
|
|
[formula_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sys___formu__61E5CAD5] DEFAULT ('0'),
|
|
[description] [varchar](1000) NOT NULL CONSTRAINT [DF__hrsa_sys___descr__62D9EF0E] DEFAULT (''),
|
|
[can_edit] [int] NOT NULL CONSTRAINT [DF__hrsa_sys___can_e__63CE1347] DEFAULT ('1'),
|
|
[can_delete] [int] NOT NULL CONSTRAINT [DF__hrsa_sys___can_d__64C23780] DEFAULT ('1'),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_sys___creat__65B65BB9] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_sys___delet__66AA7FF2] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_sys___tenan__679EA42B] DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sys___creat__6892C864] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_sys___updat__6986EC9D] DEFAULT (getdate()),
|
|
[data_type] [varchar](20) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_sys__3213E83F40265439] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_sys_tax_rate_base](
|
|
[id] [int] IDENTITY(1,1) NOT NULL,
|
|
[name] [varchar](100) NOT NULL,
|
|
[system_type] [int] NOT NULL,
|
|
[description] [varchar](100) NOT NULL,
|
|
[create_time] [datetime] NOT NULL,
|
|
[update_time] [datetime] NOT NULL,
|
|
[creator] [int] NOT NULL,
|
|
[delete_type] [int] NOT NULL,
|
|
[tenant_key] [varchar](10) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_sys__3213E83FB932A396] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_sys_tax_rate_detail](
|
|
[id] [int] IDENTITY(1,1) NOT NULL,
|
|
[base_id] [int] NOT NULL,
|
|
[index_num] [int] NOT NULL,
|
|
[income_lower_limit] [decimal](15, 5) NULL,
|
|
[income_upper_limit] [decimal](15, 5) NULL,
|
|
[duty_free_value] [decimal](15, 5) NULL,
|
|
[duty_free_rate] [decimal](15, 5) NULL,
|
|
[taxable_income_ll] [decimal](15, 5) NULL,
|
|
[taxable_income_ul] [decimal](15, 5) NOT NULL,
|
|
[tax_rate] [decimal](15, 5) NOT NULL,
|
|
[tax_deduction] [decimal](15, 5) NOT NULL,
|
|
[create_time] [datetime] NOT NULL,
|
|
[update_time] [datetime] NOT NULL,
|
|
[creator] [int] NOT NULL,
|
|
[delete_type] [int] NOT NULL,
|
|
[tenant_key] [varchar](10) NOT NULL,
|
|
CONSTRAINT [PK__hrsa_sys__3213E83F199760C3] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_tax_agent](
|
|
[id] [int] IDENTITY(1,1) NOT NULL,
|
|
[name] [varchar](100) NOT NULL DEFAULT (''),
|
|
[description] [varchar](100) NOT NULL DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL DEFAULT (getdate()),
|
|
[creator] [int] NOT NULL DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL DEFAULT (''),
|
|
PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_tax_declaration](
|
|
[id] [bigint] NOT NULL,
|
|
[salary_month] [datetime] NOT NULL CONSTRAINT [DF__hrsa_tax___salar__274F14EC] DEFAULT ('0000-01-01'),
|
|
[tax_cycle] [datetime] NOT NULL CONSTRAINT [DF__hrsa_tax___tax_c__28433925] DEFAULT ('0000-01-01'),
|
|
[tax_agent_id] [int] NOT NULL CONSTRAINT [DF__hrsa_tax___tax_a__29375D5E] DEFAULT ('0'),
|
|
[description] [varchar](1000) NOT NULL CONSTRAINT [DF__hrsa_tax___descr__2A2B8197] DEFAULT (''),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_tax___creat__2B1FA5D0] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_tax___creat__2C13CA09] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_tax___updat__2D07EE42] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_tax___delet__2DFC127B] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_tax___tenan__2EF036B4] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_tax__3213E83FD035FA00] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_tax_declaration_detail](
|
|
[id] [bigint] NOT NULL,
|
|
[tax_declaration_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_tax___tax_d__31CCA35F] DEFAULT ('0'),
|
|
[employee_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_tax___emplo__32C0C798] DEFAULT ('0'),
|
|
[field_code] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_tax___field__33B4EBD1] DEFAULT (''),
|
|
[field_value] [varchar](1000) NOT NULL CONSTRAINT [DF__hrsa_tax___field__34A9100A] DEFAULT (''),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_tax___creat__359D3443] DEFAULT ('0'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_tax___creat__3691587C] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_tax___updat__37857CB5] DEFAULT (getdate()),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_tax___delet__3879A0EE] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_tax___tenan__396DC527] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_tax__3213E83F85996709] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_tax_rate_base](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[name] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_tax_r__name__43D64501] DEFAULT (''),
|
|
[system_type] [int] NOT NULL CONSTRAINT [DF__hrsa_tax___syste__44CA693A] DEFAULT ('0'),
|
|
[description] [varchar](100) NOT NULL CONSTRAINT [DF__hrsa_tax___descr__45BE8D73] DEFAULT (''),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_tax___creat__46B2B1AC] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_tax___updat__47A6D5E5] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_tax___creat__489AFA1E] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_tax___delet__498F1E57] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_tax___tenan__4A834290] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_tax__3213E83F362744F7] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
CREATE TABLE [hrsa_tax_rate_detail](
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
[base_id] [bigint] NOT NULL CONSTRAINT [DF__hrsa_tax___base___4D5FAF3B] DEFAULT ('0'),
|
|
[index_num] [int] NOT NULL CONSTRAINT [DF__hrsa_tax___index__4E53D374] DEFAULT ('0'),
|
|
[income_upper_limit] [decimal](15, 5) NULL CONSTRAINT [DF__hrsa_tax___incom__4F47F7AD] DEFAULT ('0.00000'),
|
|
[income_lower_limit] [decimal](15, 5) NULL CONSTRAINT [DF__hrsa_tax___incom__503C1BE6] DEFAULT ('0.00000'),
|
|
[duty_free_value] [decimal](15, 5) NULL CONSTRAINT [DF__hrsa_tax___duty___5130401F] DEFAULT ('0.00000'),
|
|
[duty_free_rate] [decimal](15, 5) NULL CONSTRAINT [DF__hrsa_tax___duty___52246458] DEFAULT ('0.00000'),
|
|
[taxable_income_ul] [decimal](15, 5) NULL CONSTRAINT [DF__hrsa_tax___taxab__53188891] DEFAULT ('0.00000'),
|
|
[taxable_income_ll] [decimal](15, 5) NOT NULL CONSTRAINT [DF__hrsa_tax___taxab__540CACCA] DEFAULT ('0.00000'),
|
|
[tax_rate] [decimal](15, 5) NOT NULL CONSTRAINT [DF__hrsa_tax___tax_r__5500D103] DEFAULT ('0.00000'),
|
|
[tax_deduction] [decimal](15, 5) NOT NULL CONSTRAINT [DF__hrsa_tax___tax_d__55F4F53C] DEFAULT ('0.00000'),
|
|
[create_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_tax___creat__56E91975] DEFAULT (getdate()),
|
|
[update_time] [datetime] NOT NULL CONSTRAINT [DF__hrsa_tax___updat__57DD3DAE] DEFAULT (getdate()),
|
|
[creator] [bigint] NOT NULL CONSTRAINT [DF__hrsa_tax___creat__58D161E7] DEFAULT ('0'),
|
|
[delete_type] [int] NOT NULL CONSTRAINT [DF__hrsa_tax___delet__59C58620] DEFAULT ('0'),
|
|
[tenant_key] [varchar](10) NOT NULL CONSTRAINT [DF__hrsa_tax___tenan__5AB9AA59] DEFAULT (''),
|
|
CONSTRAINT [PK__hrsa_tax__3213E83FB7D41B39] PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
GO
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
ALTER TABLE [hrsa_bill_batch_encdata] ADD CONSTRAINT [DF__hrsa_bill_b__crc__41AE056D] DEFAULT (NULL) FOR [crc]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_batch_encdata] ADD CONSTRAINT [DF__hrsa_bill__creat__42A229A6] DEFAULT (NULL) FOR [creater]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_batch_encdata] ADD CONSTRAINT [DF__hrsa_bill__creat__43964DDF] DEFAULT (NULL) FOR [created]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_batch_encdata] ADD CONSTRAINT [DF__hrsa_bill__MODIF__448A7218] DEFAULT (NULL) FOR [MODIFIER]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_batch_encdata] ADD CONSTRAINT [DF__hrsa_bill__modif__457E9651] DEFAULT (NULL) FOR [modified]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_batch_encdata] ADD CONSTRAINT [DF__hrsa_bill__tenan__4672BA8A] DEFAULT (NULL) FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_detail] ADD CONSTRAINT [DF__hrsa_bill__creat__16C3A768] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_detail] ADD CONSTRAINT [DF__hrsa_bill__creat__17B7CBA1] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_detail] ADD CONSTRAINT [DF__hrsa_bill__updat__18ABEFDA] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_detail] ADD CONSTRAINT [DF__hrsa_bill__delet__19A01413] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_detail] ADD CONSTRAINT [DF__hrsa_bill__tenan__1A94384C] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_detail_temp] ADD CONSTRAINT [DF__hrsa_bill__creat__1D70A4F7] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_detail_temp] ADD CONSTRAINT [DF__hrsa_bill__creat__1E64C930] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_detail_temp] ADD CONSTRAINT [DF__hrsa_bill__updat__1F58ED69] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_detail_temp] ADD CONSTRAINT [DF__hrsa_bill__delet__204D11A2] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_detail_temp] ADD CONSTRAINT [DF__hrsa_bill__tenan__214135DB] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_inspect] ADD CONSTRAINT [DF__hrsa_bill__creat__241DA286] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_inspect] ADD CONSTRAINT [DF__hrsa_bill__creat__2511C6BF] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_inspect] ADD CONSTRAINT [DF__hrsa_bill__updat__2605EAF8] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_inspect] ADD CONSTRAINT [DF__hrsa_bill__delet__26FA0F31] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_bill_inspect] ADD CONSTRAINT [DF__hrsa_bill__tenan__27EE336A] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result] ADD CONSTRAINT [DF__hrsa_chec__salar__78942603] DEFAULT ('0') FOR [salary_acct_record_id]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result] ADD CONSTRAINT [DF__hrsa_chec__salar__79884A3C] DEFAULT ('0') FOR [salary_check_rule_id]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result] ADD CONSTRAINT [DF__hrsa_chec__formu__7A7C6E75] DEFAULT ('0') FOR [formula_id]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result] ADD CONSTRAINT [DF__hrsa_chec__ignor__7B7092AE] DEFAULT ('0') FOR [ignore_type]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result] ADD CONSTRAINT [DF__hrsa_chec__creat__7C64B6E7] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result] ADD CONSTRAINT [DF__hrsa_chec__creat__7D58DB20] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result] ADD CONSTRAINT [DF__hrsa_chec__updat__7E4CFF59] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result] ADD CONSTRAINT [DF__hrsa_chec__delet__7F412392] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result] ADD CONSTRAINT [DF__hrsa_chec__tenan__003547CB] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result_record] ADD CONSTRAINT [DF__hrsa_chec__salar__0311B476] DEFAULT ('0') FOR [salary_check_rule_id]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result_record] ADD CONSTRAINT [DF__hrsa_chec__formu__0405D8AF] DEFAULT ('0') FOR [formula_id]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result_record] ADD CONSTRAINT [DF__hrsa_chec__check__04F9FCE8] DEFAULT ('0') FOR [check_result_id]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result_record] ADD CONSTRAINT [DF__hrsa_chec__salar__05EE2121] DEFAULT ('0') FOR [salary_acct_emp_id]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result_record] ADD CONSTRAINT [DF__hrsa_chec__emplo__06E2455A] DEFAULT ('0') FOR [employee_id]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result_record] ADD CONSTRAINT [DF__hrsa_chec__creat__07D66993] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result_record] ADD CONSTRAINT [DF__hrsa_chec__creat__08CA8DCC] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result_record] ADD CONSTRAINT [DF__hrsa_chec__updat__09BEB205] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result_record] ADD CONSTRAINT [DF__hrsa_chec__delet__0AB2D63E] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_check_result_record] ADD CONSTRAINT [DF__hrsa_chec__tenan__0BA6FA77] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_ck_result_detail_temp] ADD CONSTRAINT [DF__hrsa_ck_r__salar__0E836722] DEFAULT ('0') FOR [salary_acct_emp_id]
|
|
GO
|
|
ALTER TABLE [hrsa_ck_result_detail_temp] ADD CONSTRAINT [DF__hrsa_ck_r__salar__0F778B5B] DEFAULT ('0') FOR [salary_acct_record_id]
|
|
GO
|
|
ALTER TABLE [hrsa_ck_result_detail_temp] ADD CONSTRAINT [DF__hrsa_ck_r__emplo__106BAF94] DEFAULT ('0') FOR [employee_id]
|
|
GO
|
|
ALTER TABLE [hrsa_ck_result_detail_temp] ADD CONSTRAINT [DF__hrsa_ck_r__salar__115FD3CD] DEFAULT ('0') FOR [salary_check_rule_id]
|
|
GO
|
|
ALTER TABLE [hrsa_ck_result_detail_temp] ADD CONSTRAINT [DF__hrsa_ck_r__formu__1253F806] DEFAULT ('0') FOR [formula_id]
|
|
GO
|
|
ALTER TABLE [hrsa_ck_result_detail_temp] ADD CONSTRAINT [DF__hrsa_ck_r__creat__13481C3F] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_ck_result_detail_temp] ADD CONSTRAINT [DF__hrsa_ck_r__creat__143C4078] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_ck_result_detail_temp] ADD CONSTRAINT [DF__hrsa_ck_r__updat__153064B1] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_ck_result_detail_temp] ADD CONSTRAINT [DF__hrsa_ck_r__delet__162488EA] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_ck_result_detail_temp] ADD CONSTRAINT [DF__hrsa_ck_r__tenan__1718AD23] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_excel_acct_result] ADD CONSTRAINT [DF__hrsa_exce__salar__19F519CE] DEFAULT ('0') FOR [salary_sob_id]
|
|
GO
|
|
ALTER TABLE [hrsa_excel_acct_result] ADD CONSTRAINT [DF__hrsa_exce__salar__1AE93E07] DEFAULT ('0') FOR [salary_acct_emp_id]
|
|
GO
|
|
ALTER TABLE [hrsa_excel_acct_result] ADD CONSTRAINT [DF__hrsa_exce__salar__1BDD6240] DEFAULT ('0') FOR [salary_acct_record_id]
|
|
GO
|
|
ALTER TABLE [hrsa_excel_acct_result] ADD CONSTRAINT [DF__hrsa_exce__emplo__1CD18679] DEFAULT ('0') FOR [employee_id]
|
|
GO
|
|
ALTER TABLE [hrsa_excel_acct_result] ADD CONSTRAINT [DF__hrsa_exce__salar__1DC5AAB2] DEFAULT ('0') FOR [salary_item_id]
|
|
GO
|
|
ALTER TABLE [hrsa_excel_acct_result] ADD CONSTRAINT [DF__hrsa_exce__resul__1EB9CEEB] DEFAULT ('') FOR [result_value]
|
|
GO
|
|
ALTER TABLE [hrsa_excel_acct_result] ADD CONSTRAINT [DF__hrsa_exce__creat__1FADF324] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_excel_acct_result] ADD CONSTRAINT [DF__hrsa_exce__creat__20A2175D] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_excel_acct_result] ADD CONSTRAINT [DF__hrsa_exce__updat__21963B96] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_excel_acct_result] ADD CONSTRAINT [DF__hrsa_exce__delet__228A5FCF] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_excel_acct_result] ADD CONSTRAINT [DF__hrsa_exce__tenan__237E8408] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_excel_acct_result] ADD CONSTRAINT [DF__hrsa_exce__tax_a__2472A841] DEFAULT ('0') FOR [tax_agent_id]
|
|
GO
|
|
ALTER TABLE [hrsa_fund_archives] ADD CONSTRAINT [DF__hrsa_fund__non_p__5F936E0F] DEFAULT ((0)) FOR [non_payment]
|
|
GO
|
|
ALTER TABLE [hrsa_fund_archives] ADD CONSTRAINT [DF__hrsa_fund__under__60879248] DEFAULT ('2') FOR [under_take]
|
|
GO
|
|
ALTER TABLE [hrsa_fund_archives] ADD CONSTRAINT [DF__hrsa_fund__creat__617BB681] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_fund_archives] ADD CONSTRAINT [DF__hrsa_fund__updat__626FDABA] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_fund_archives] ADD CONSTRAINT [DF__hrsa_fund__creat__6363FEF3] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_fund_archives] ADD CONSTRAINT [DF__hrsa_fund__delet__6458232C] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_fund_archives] ADD CONSTRAINT [DF__hrsa_fund__tenan__654C4765] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_other_archives] ADD CONSTRAINT [DF__hrsa_othe__non_p__6828B410] DEFAULT ('0') FOR [non_payment]
|
|
GO
|
|
ALTER TABLE [hrsa_other_archives] ADD CONSTRAINT [DF__hrsa_othe__under__691CD849] DEFAULT ('2') FOR [under_take]
|
|
GO
|
|
ALTER TABLE [hrsa_other_archives] ADD CONSTRAINT [DF__hrsa_othe__creat__6A10FC82] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_other_archives] ADD CONSTRAINT [DF__hrsa_othe__updat__6B0520BB] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_other_archives] ADD CONSTRAINT [DF__hrsa_othe__creat__6BF944F4] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_other_archives] ADD CONSTRAINT [DF__hrsa_othe__delet__6CED692D] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_other_archives] ADD CONSTRAINT [DF__hrsa_othe__tenan__6DE18D66] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_archive_dimission] ADD CONSTRAINT [DF__hrsa_sala__creat__440B4F2B] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_archive_dimission] ADD CONSTRAINT [DF__hrsa_sala__updat__44FF7364] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_archive_dimission] ADD CONSTRAINT [DF__hrsa_sala__creat__45F3979D] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_archive_dimission] ADD CONSTRAINT [DF__hrsa_sala__delet__46E7BBD6] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_archive_dimission] ADD CONSTRAINT [DF__hrsa_sala__tenan__47DBE00F] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_check_rule] ADD CONSTRAINT [DF__hrsa_sala__salar__3A96F38A] DEFAULT ('0') FOR [salary_sob_id]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_check_rule] ADD CONSTRAINT [DF__hrsa_salar__name__3B8B17C3] DEFAULT ('') FOR [name]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_check_rule] ADD CONSTRAINT [DF__hrsa_sala__formu__3C7F3BFC] DEFAULT ('0') FOR [formula_id]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_check_rule] ADD CONSTRAINT [DF__hrsa_sala__descr__3D736035] DEFAULT ('') FOR [description]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_check_rule] ADD CONSTRAINT [DF__hrsa_sala__creat__3E67846E] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_check_rule] ADD CONSTRAINT [DF__hrsa_sala__updat__3F5BA8A7] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_check_rule] ADD CONSTRAINT [DF__hrsa_sala__creat__404FCCE0] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_check_rule] ADD CONSTRAINT [DF__hrsa_sala__delet__4143F119] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_check_rule] ADD CONSTRAINT [DF__hrsa_sala__tenan__42381552] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_item_group] ADD CONSTRAINT [DF__hrsa_sala__salar__268FFADD] DEFAULT ('0') FOR [salary_sob_id]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_item_group] ADD CONSTRAINT [DF__hrsa_salar__name__27841F16] DEFAULT ('') FOR [name]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_item_group] ADD CONSTRAINT [DF__hrsa_sala__sorte__2878434F] DEFAULT ('0') FOR [sorted_index]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_item_group] ADD CONSTRAINT [DF__hrsa_sala__descr__296C6788] DEFAULT ('') FOR [description]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_item_group] ADD CONSTRAINT [DF__hrsa_sala__creat__2A608BC1] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_item_group] ADD CONSTRAINT [DF__hrsa_sala__updat__2B54AFFA] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_item_group] ADD CONSTRAINT [DF__hrsa_sala__creat__2C48D433] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_item_group] ADD CONSTRAINT [DF__hrsa_sala__delet__2D3CF86C] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_salary_sob_item_group] ADD CONSTRAINT [DF__hrsa_sala__tenan__2E311CA5] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives] ADD CONSTRAINT [DF__hrsa_soci__non_p__56FE280E] DEFAULT ((0)) FOR [non_payment]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives] ADD CONSTRAINT [DF__hrsa_soci__under__57F24C47] DEFAULT ('2') FOR [under_take]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives] ADD CONSTRAINT [DF__hrsa_soci__creat__58E67080] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives] ADD CONSTRAINT [DF__hrsa_soci__updat__59DA94B9] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives] ADD CONSTRAINT [DF__hrsa_soci__creat__5ACEB8F2] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives] ADD CONSTRAINT [DF__hrsa_soci__delet__5BC2DD2B] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives] ADD CONSTRAINT [DF__hrsa_soci__tenan__5CB70164] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives_encdata] ADD CONSTRAINT [DF__hrsa_social__crc__7EB713AD] DEFAULT (NULL) FOR [crc]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives_encdata] ADD CONSTRAINT [DF__hrsa_soci__creat__7FAB37E6] DEFAULT (NULL) FOR [creater]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives_encdata] ADD CONSTRAINT [DF__hrsa_soci__creat__009F5C1F] DEFAULT (NULL) FOR [created]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives_encdata] ADD CONSTRAINT [DF__hrsa_soci__MODIF__01938058] DEFAULT (NULL) FOR [MODIFIER]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives_encdata] ADD CONSTRAINT [DF__hrsa_soci__modif__0287A491] DEFAULT (NULL) FOR [modified]
|
|
GO
|
|
ALTER TABLE [hrsa_social_archives_encdata] ADD CONSTRAINT [DF__hrsa_soci__tenan__037BC8CA] DEFAULT (NULL) FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_base] ADD CONSTRAINT [DF__hrsa_sys_t__name__27B92940] DEFAULT ('') FOR [name]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_base] ADD CONSTRAINT [DF__hrsa_sys___syste__28AD4D79] DEFAULT ('0') FOR [system_type]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_base] ADD CONSTRAINT [DF__hrsa_sys___descr__29A171B2] DEFAULT ('') FOR [description]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_base] ADD CONSTRAINT [DF__hrsa_sys___creat__2A9595EB] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_base] ADD CONSTRAINT [DF__hrsa_sys___updat__2B89BA24] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_base] ADD CONSTRAINT [DF__hrsa_sys___creat__2C7DDE5D] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_base] ADD CONSTRAINT [DF__hrsa_sys___delet__2D720296] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_base] ADD CONSTRAINT [DF__hrsa_sys___tenan__2E6626CF] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___base___3142937A] DEFAULT ('0') FOR [base_id]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___index__3236B7B3] DEFAULT ('0') FOR [index_num]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___incom__332ADBEC] DEFAULT ('0.00000') FOR [income_lower_limit]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___incom__341F0025] DEFAULT ('0.00000') FOR [income_upper_limit]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___duty___3513245E] DEFAULT ('0.00000') FOR [duty_free_value]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___duty___36074897] DEFAULT ('0.00000') FOR [duty_free_rate]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___taxab__36FB6CD0] DEFAULT ('0.00000') FOR [taxable_income_ll]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___taxab__37EF9109] DEFAULT ('0.00000') FOR [taxable_income_ul]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___tax_r__38E3B542] DEFAULT ('0.00000') FOR [tax_rate]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___tax_d__39D7D97B] DEFAULT ('0.00000') FOR [tax_deduction]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___creat__3ACBFDB4] DEFAULT (getdate()) FOR [create_time]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___updat__3BC021ED] DEFAULT (getdate()) FOR [update_time]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___creat__3CB44626] DEFAULT ('0') FOR [creator]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___delet__3DA86A5F] DEFAULT ('0') FOR [delete_type]
|
|
GO
|
|
ALTER TABLE [hrsa_sys_tax_rate_detail] ADD CONSTRAINT [DF__hrsa_sys___tenan__3E9C8E98] DEFAULT ('') FOR [tenant_key]
|
|
GO
|
|
|
|
|
|
|
|
|
|
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214787, '工资薪金合计', 'wagesTotal', 1, 5, 22, 1, 0, 2, 2, 2, 1, 1651736817711, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:32:58', '2022-05-10 16:03:02', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214788, '全年一次性奖金合计', 'annualBonusTotal', 1, 5, 22, 0, 0, 2, 2, 2, 1, 1651737358294, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:32:58', '2022-05-10 16:03:07', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214789, '税前扣款合计', 'preTaxDeductionsTotal', 1, 5, 22, 1, 0, 2, 2, 2, 1, 1651737635353, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:32:58', '2022-05-10 16:03:22', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214790, '本月(次)应税收入合计', 'income', 1, 5, 22, 1, 0, 2, 2, 2, 0, 1651737859216, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:32:58', '2022-05-10 16:03:25', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214791, '当前累计应税收入合计', 'addUpIncome', 1, 5, 22, 1, 0, 2, 2, 2, 0, 1651738034028, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:32:58', '2022-05-10 16:03:28', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214792, '养老个人', 'endowmentInsurance', 1, 2, 10, 1, 0, 2, 2, 2, 7, 1651749914746, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214793, '医疗个人', 'medicalInsurance', 1, 2, 10, 1, 0, 2, 2, 2, 7, 1651749958879, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214795, '失业个人', 'unemploymentInsurance', 1, 2, 10, 1, 0, 2, 2, 2, 7, 1651750005281, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214796, '公积金个人', 'housingProvidentFund', 1, 2, 10, 1, 0, 2, 2, 2, 7, 1651750034689, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214797, '本月(次)专项扣除合计', 'specialDeduction', 1, 5, 22, 1, 0, 2, 2, 2, 7, 1651738826550, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 16:03:40', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214798, '当前累计专项扣除合计', 'addUpSpecialDeduction', 1, 5, 22, 1, 0, 2, 2, 2, 7, 1651739000845, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214799, '累计子女教育', 'addUpChildEducation', 1, 2, 11, 1, 0, 2, 2, 2, 6, 1651739053212, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214800, '累计住房贷款利息', 'addUpHousingLoanInterest', 1, 2, 11, 1, 0, 2, 2, 2, 6, 1651739100651, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214801, '累计住房租金', 'addUpHousingRent', 1, 2, 11, 1, 0, 2, 2, 2, 6, 1651739151122, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214802, '累计继续教育', 'addUpContinuingEducation', 1, 2, 11, 1, 0, 2, 2, 2, 6, 1651739212437, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214803, '累计赡养老人', 'addUpSupportElderly', 1, 2, 11, 1, 0, 2, 2, 2, 6, 1651739310959, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214804, '当前累计专项附加扣除合计', 'addUpSpeAddiDeduction', 1, 5, 22, 1, 0, 2, 2, 2, 6, 1651739411365, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214805, '本月(次)其他扣除合计', 'otherDeduction', 1, 5, 22, 0, 0, 2, 2, 2, 8, 1651739815651, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214806, '当前累计其他扣除合计', 'addUpOtherDeduction', 1, 5, 22, 0, 0, 2, 2, 2, 5, 1651740238860, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214807, '本月(次)减除费用', 'subtraction', 1, 7, 19, 1, 0, 2, 2, 2, 1, 1651740311026, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:56:11', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214808, '当前累计减除费用', 'addUpSubtraction', 1, 5, 22, 1, 0, 2, 2, 2, 5, 1651740397225, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:32:59', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214809, '本月(次)工资薪金税税率', 'taxRate', 1, 7, 19, 1, 0, 2, 2, 2, 1, 1651742185837, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214810, '本月(次)工资薪金税速算扣除数', 'quickDeductionFactor', 1, 7, 19, 1, 0, 2, 2, 2, 1, 1651742702735, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214811, '当前累计应纳税所得额', 'addUpTaxableIncome', 1, 5, 22, 1, 0, 2, 2, 2, 5, 1651745445982, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 16:04:12', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214812, '当前累计应纳税额', 'addUpTaxPayable', 1, 7, 19, 1, 0, 2, 2, 2, 1, 1651748888864, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 16:04:14', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214813, '当前累计已扣缴税额合计', 'addUpAdvanceTax', 1, 5, 22, 1, 0, 2, 2, 2, 5, 1651748978482, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 16:04:18', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214814, '本月(次)应补税额', 'refundedOrSupplementedTax', 1, 6, 16, 1, 0, 2, 2, 2, 1, 1651749111981, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674853617092214815, '本月(次)实发薪资合计', 'netSalaryTotal', 1, 5, 22, 1, 0, 2, 2, 2, 1, 1651749240004, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 16:04:24', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674861648655892480, '基本工资', 'baseSalary', 1, 1, 1, 1, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:57:46', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674861768948531201, '岗位工资', 'postSalary', 1, 1, 1, 1, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:57:57', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674861880508628992, '考勤扣款', 'attendanceDeduction', 1, 2, 9, 1, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:58:04', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674914626953093121, '税后报销合计', 'afterTaxReimbursementTotal', 1, 5, 22, 0, 0, 3, 2, 1, 1, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:58:06', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674914626953093122, '年金个人', 'annuity', 1, 2, 12, 0, 0, 2, 2, 2, 7, 1651749398360, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674914626953093123, '商业健康保险', 'commercialHealthInsurance', 1, 2, 12, 0, 0, 2, 2, 2, 8, 1651749448800, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674914626953093124, '税延养老保险', 'taxDeferredEndowmentInsurance', 1, 2, 12, 0, 0, 2, 2, 2, 8, 1651749487187, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:33:01', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674914626953093125, '财产原值', 'originalValueOfProperty', 1, 2, 12, 0, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:01', '2022-05-10 15:58:29', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674914626953093126, '允许扣除的税费', 'deductedTax', 1, 2, 12, 0, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:01', '2022-05-10 15:58:42', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674914626953093127, '其他', 'other', 1, 2, 12, 0, 0, 2, 2, 2, 8, 1651749540147, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:33:01', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674914626953093128, '本月(次)费用', 'fee', 1, 7, 19, 0, 0, 2, 2, 1, 0, 0, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:33:01', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674914626953093129, '本月(次)免税收入', 'taxFreeIncome', 1, 7, 19, 0, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:01', '2022-05-10 15:58:54', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674914626953093130, '减按计税比例', 'lessTaxProportion', 1, 7, 19, 0, 0, 2, 2, 1, 0, 0, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:33:01', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674916065864646657, '税后调整合计', 'afterTaxAdjustmentTotal', 1, 5, 22, 0, 0, 2, 2, 1, 1, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:01', '2022-05-10 15:59:09', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674916065864646658, '当前累计减免税额合计', 'addUpTaxDeduction', 1, 5, 22, 0, 0, 2, 2, 1, 5, 0, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:33:01', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674916065864646659, '本月(次)准允扣除的捐赠额', 'allowedDonation', 1, 5, 22, 0, 0, 2, 2, 2, 8, 1651749595061, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:33:01', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674916065864646660, '当前累计准备扣除的捐赠额', 'addUpAllowedDonation', 1, 5, 22, 0, 0, 2, 2, 2, 5, 1651749675268, '', 0, 1, 0, 0, 'all_teams', '2022-03-28 10:33:01', '2022-05-10 15:54:31', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674916065864646661, '本月(次)减免税额', 'taxDeduction', 1, 5, 22, 0, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:01', '2022-05-10 16:00:25', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674916065864646662, '税后扣款合计', 'afterTaxDeductionsTotal', 1, 5, 22, 0, 0, 2, 2, 1, 1, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:02', '2022-05-10 16:00:37', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674919424520683521, '税后扣款', 'afterTaxDeductions', 1, 4, 15, 0, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:02', '2022-05-10 16:00:39', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674919682288984064, '税后报销', 'afterTaxReimbursement', 1, 3, 13, 0, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:02', '2022-05-10 16:00:40', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674919776783499264, '税后调整', 'afterTaxAdjustment', 1, 3, 14, 0, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:02', '2022-05-10 16:00:48', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674920588574261248, '年终奖', 'annualBonus', 1, 1, 2, 0, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:02', '2022-05-10 16:00:51', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (697532371614588928, '当前累计社保个人合计', 'addUpSocialSecurityTotal', 1, 7, 1, 1, 0, 2, 2, 2, 0, 1651801433504, '', 0, 1, 0, 0, 'all_teams', '2022-03-07 10:22:55', '2022-05-06 09:44:23', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (697532667749400576, '当前累计公积金个人合计', 'addUpAccumulationFundTotal', 1, 7, 1, 1, 0, 2, 2, 2, 0, 1651801586972, '', 0, 1, 0, 0, 'all_teams', '2022-03-07 10:22:55', '2022-05-06 09:46:40', 'number')
|
|
GO
|
|
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (697536344384012289, '当前累计企业(职业)年金及其他福利个人合计', 'addUpEnterpriseAndOther', 1, 7, 1, 1, 0, 2, 2, 2, 0, 1651801667770, '', 0, 1, 0, 0, 'all_teams', '2022-03-07 10:22:56', '2022-05-06 09:48:07', 'number')
|
|
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 (1651736817711, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.基本工资}+{薪资项目.岗位工资}', 'salaryItem_baseSalary+salaryItem_postSalary', 1, 0, '2022-05-05 15:46:58', '2022-05-05 15:46:58')
|
|
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 (1651737358294, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.年终奖}', 'salaryItem_annualBonus', 1, 0, '2022-05-05 15:55:58', '2022-05-05 15:55:58')
|
|
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 (1651737635353, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.考勤扣款}', 'salaryItem_attendanceDeduction', 1, 0, '2022-05-05 16:00:35', '2022-05-05 16:00:35')
|
|
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 (1651737859216, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.工资薪金合计}+{薪资项目.全年一次性奖金合计}-{薪资项目.税前扣款合计}', 'salaryItem_wagesTotal+salaryItem_annualBonusTotal-salaryItem_preTaxDeductionsTotal', 1, 0, '2022-05-05 16:04:19', '2022-05-05 16:04:19')
|
|
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 (1651738034028, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.本月(次)应税收入合计}+{往期累计情况.累计收入额}', 'salaryItem_income+addUpSituation_addUpIncome', 1, 0, '2022-05-05 16:07:14', '2022-05-05 16:07:14')
|
|
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 (1651749914746, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{社保福利.养老保险个人}', 'welfare_9001socialPer', 1, 0, '2022-05-05 19:25:15', '2022-05-05 19:25:15')
|
|
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 (1651749958879, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{社保福利.医疗保险个人}', 'welfare_9002socialPer', 1, 0, '2022-05-05 19:25:59', '2022-05-05 19:25:59')
|
|
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 (1651750005281, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{社保福利.失业保险个人}', 'welfare_9004socialPer', 1, 0, '2022-05-05 19:26:45', '2022-05-05 19:26:45')
|
|
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 (1651750034689, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{社保福利.住房公积金个人}', 'welfare_9006fundPer', 1, 0, '2022-05-05 19:27:15', '2022-05-05 19:27:15')
|
|
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 (1651738826550, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.养老个人}+{薪资项目.医疗个人}+{薪资项目.失业个人}+{薪资项目.公积金个人}', 'salaryItem_endowmentInsurance+salaryItem_medicalInsurance+salaryItem_unemploymentInsurance+salaryItem_housingProvidentFund', 1, 0, '2022-05-05 16:20:27', '2022-05-05 16:20:27')
|
|
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 (1651739000845, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.本月(次)专项扣除合计}+{往期累计情况.累计社保个人合计}+{往期累计情况.累计公积金个人合计}', 'salaryItem_specialDeduction+addUpSituation_addUpSocialSecurityTotal+addUpSituation_addUpAccumulationFundTotal', 1, 0, '2022-05-05 16:23:21', '2022-05-05 16:23:21')
|
|
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 (1651739053212, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{累计专项附加扣除.累计子女教育}', 'addUpDeductions_addUpChildEducation', 1, 0, '2022-05-05 16:24:13', '2022-05-05 16:24:13')
|
|
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 (1651739100651, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{往期累计情况.累计住房贷款利息}', 'addUpSituation_addUpHousingLoanInterest', 1, 0, '2022-05-05 16:25:01', '2022-05-05 16:25:01')
|
|
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 (1651739151122, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{往期累计情况.累计住房租金}', 'addUpSituation_addUpHousingRent', 1, 0, '2022-05-05 16:25:51', '2022-05-05 16:25:51')
|
|
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 (1651739212437, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{往期累计情况.累计继续教育}', 'addUpSituation_addUpContinuingEducation', 1, 0, '2022-05-05 16:26:52', '2022-05-05 16:26:52')
|
|
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 (1651739310959, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{往期累计情况.累计赡养老人}', 'addUpSituation_addUpSupportElderly', 1, 0, '2022-05-05 16:28:31', '2022-05-05 16:28:31')
|
|
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 (1651739411365, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.累计子女教育}+{薪资项目.累计住房贷款利息}+{薪资项目.累计住房租金}+{薪资项目.累计继续教育}+{薪资项目.累计赡养老人}', 'salaryItem_addUpChildEducation+salaryItem_addUpHousingLoanInterest+salaryItem_addUpHousingRent+salaryItem_addUpContinuingEducation+salaryItem_addUpSupportElderly', 1, 0, '2022-05-05 16:30:11', '2022-05-05 16:30:11')
|
|
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 (1651739815651, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.年金个人}+{薪资项目.商业健康保险}+{薪资项目.税延养老保险}+{薪资项目.财产原值}+{薪资项目.允许扣除的税费}+{薪资项目.其他}', 'salaryItem_annuity+salaryItem_commercialHealthInsurance+salaryItem_taxDeferredEndowmentInsurance+salaryItem_originalValueOfProperty+salaryItem_deductedTax+salaryItem_other', 1, 0, '2022-05-05 16:36:56', '2022-05-05 16:36:56')
|
|
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 (1651740238860, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.本月(次)其他扣除合计}+{往期累计情况.累计其他免税扣除}+{往期累计情况.累计企业(职业)年金及其他福利}', 'salaryItem_otherDeduction+addUpSituation_addUpOtherDeduction+addUpSituation_addUpEnterpriseAndOther', 1, 0, '2022-05-05 16:43:59', '2022-05-05 16:43:59')
|
|
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 (1651740311026, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '5000', '5000', 1, 0, '2022-05-05 16:45:11', '2022-05-05 16:45:11')
|
|
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 (1651740397225, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.本月(次)减除费用}+{往期累计情况.累计减除费用}', 'salaryItem_subtraction+addUpSituation_addUpSubtraction', 1, 0, '2022-05-05 16:46:37', '2022-05-05 16:46:37')
|
|
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 (1651742185837, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', 'if({薪资项目.当前累计应纳税所得额}<=0){0 GO}else if({薪资项目.当前累计应纳税所得额}<=36000){0.03 GO}else if({薪资项目.当前累计应纳税所得额}<=144000){0.1 GO}else if({薪资项目.当前累计应纳税所得额}<=300000){0.2 GO}else if({薪资项目.当前累计应纳税所得额}<=420000){0.25 GO}else if({薪资项目.当前累计应纳税所得额}<=660000){0.3 GO}else if({薪资项目.当前累计应纳税所得额}<=960000){0.35 GO}else{0.45 GO}', 'if(salaryItem_addUpTaxableIncome<=0){0 GO}else if(salaryItem_addUpTaxableIncome<=36000){0.03 GO}else if(salaryItem_addUpTaxableIncome<=144000){0.1 GO}else if(salaryItem_addUpTaxableIncome<=300000){0.2 GO}else if(salaryItem_addUpTaxableIncome<=420000){0.25 GO}else if(salaryItem_addUpTaxableIncome<=660000){0.3 GO}else if(salaryItem_addUpTaxableIncome<=960000){0.35 GO}else{0.45 GO}', 1, 0, '2022-05-05 17:16:26', '2022-05-05 17:16:26')
|
|
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 (1651742702735, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', 'if(<=36000){{薪资项目.当前累计应纳税所得额}<=36000){0 GO}else if({薪资项目.当前累计应纳税所得额}<=144000){2520 GO}else if({薪资项目.当前累计应纳税所得额}<=300000){16920 GO}else if({薪资项目.当前累计应纳税所得额}<=420000){31920 GO}else if({薪资项目.当前累计应纳税所得额}<=660000){52920 GO}else if({薪资项目.当前累计应纳税所得额}<=960000){85920 GO}else{181920 GO}', 'if(<=36000){salaryItem_addUpTaxableIncome<=36000){0 GO}else if(salaryItem_addUpTaxableIncome<=144000){2520 GO}else if(salaryItem_addUpTaxableIncome<=300000){16920 GO}else if(salaryItem_addUpTaxableIncome<=420000){31920 GO}else if(salaryItem_addUpTaxableIncome<=660000){52920 GO}else if(salaryItem_addUpTaxableIncome<=960000){85920 GO}else{181920 GO}', 1, 0, '2022-05-05 17:25:03', '2022-05-05 17:25:03')
|
|
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 (1651745445982, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.当前累计应税收入合计}-{薪资项目.当前累计专项扣除合计}-{薪资项目.当前累计专项附加扣除合计}-{薪资项目.当前累计其他扣除合计}-{薪资项目.当前累计减除费用}-{薪资项目.当前累计准备扣除的捐赠额}', 'salaryItem_addUpIncome-salaryItem_addUpSpecialDeduction-salaryItem_addUpSpeAddiDeduction-salaryItem_addUpOtherDeduction-salaryItem_addUpSubtraction-salaryItem_addUpAllowedDonation', 1, 0, '2022-05-05 18:10:46', '2022-05-05 18:10:46')
|
|
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 (1651748888864, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.当前累计应纳税所得额}*{薪资项目.本月(次)工资薪金税税率}-{薪资项目.本月(次)工资薪金税速算扣除数}', 'salaryItem_addUpTaxableIncome*salaryItem_taxRate-salaryItem_quickDeductionFactor', 1, 0, '2022-05-05 19:08:09', '2022-05-05 19:08:09')
|
|
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 (1651748978482, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{往期累计情况.累计已预扣预缴税额}', 'addUpSituation_addUpAdvanceTax', 1, 0, '2022-05-05 19:09:38', '2022-05-05 19:09:38')
|
|
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 (1651749111981, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.当前累计应纳税额}-{薪资项目.当前累计已扣缴税额合计}-{薪资项目.当前累计减免税额合计}', 'salaryItem_addUpTaxPayable-salaryItem_addUpAdvanceTax-salaryItem_addUpTaxDeduction', 1, 0, '2022-05-05 19:11:52', '2022-05-05 19:11:52')
|
|
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 (1651749240004, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.本月(次)应税收入合计}-{薪资项目.本月(次)专项扣除合计}-{薪资项目.本月(次)应补税额}+{薪资项目.税后调整合计}+{薪资项目.税后报销合计}-{薪资项目.税后扣款合计}', 'salaryItem_income-salaryItem_specialDeduction-salaryItem_refundedOrSupplementedTax+salaryItem_afterTaxAdjustmentTotal+salaryItem_afterTaxReimbursementTotal-salaryItem_afterTaxDeductionsTotal', 1, 0, '2022-05-05 19:14:00', '2022-05-05 19:14:00')
|
|
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 (1651749398360, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{社保福利.企业年金个人}', 'welfare_9007otherPer', 1, 0, '2022-05-05 19:16:38', '2022-05-05 19:16:38')
|
|
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 (1651749448800, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{其他免税扣除.商业健康保险}', 'otherDeduction_businessHealthyInsurance', 1, 0, '2022-05-05 19:17:29', '2022-05-05 19:17:29')
|
|
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 (1651749487187, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{其他免税扣除.税延养老保险}', 'otherDeduction_taxDelayEndowmentInsurance', 1, 0, '2022-05-05 19:18:07', '2022-05-05 19:18:07')
|
|
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 (1651749540147, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{其他免税扣除.其他}', 'otherDeduction_otherDeduction', 1, 0, '2022-05-05 19:19:00', '2022-05-05 19:19:00')
|
|
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 (1651749595061, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{其他免税扣除.准予扣除的捐赠额}', 'otherDeduction_deductionAllowedDonation', 1, 0, '2022-05-05 19:19:55', '2022-05-05 19:19:55')
|
|
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 (1651749675268, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{薪资项目.本月(次)准允扣除的捐赠额}+{往期累计情况.累计准予扣除的捐赠额}', 'salaryItem_allowedDonation+addUpSituation_addUpAllowedDonation', 1, 0, '2022-05-05 19:21:15', '2022-05-05 19:21:15')
|
|
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 (1651801433504, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{社保福利.社保个人合计}+{往期累计情况.累计社保个人合计}', 'welfare_socialPerSum+addUpSituation_addUpSocialSecurityTotal', 1, 0, '2022-05-06 09:43:54', '2022-05-06 09:43:54')
|
|
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 (1651801586972, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{社保福利.公积金个人合计}+{往期累计情况.累计公积金个人合计}', 'welfare_fundPerSum+addUpSituation_addUpAccumulationFundTotal', 1, 0, '2022-05-06 09:46:27', '2022-05-06 09:46:27')
|
|
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 (1651801667770, '公式1', '备注', 'salary', 'salaryitem', 'formula', 'number', 'number', '{}', '{社保福利.其他福利个人合计}+{往期累计情况.累计企业(职业)年金及其他福利}', 'welfare_otherPerSum+addUpSituation_addUpEnterpriseAndOther', 1, 0, '2022-05-06 09:47:48', '2022-05-06 09:47:48')
|
|
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 (1651736818266, '基本工资', 1651736817711, 'salaryItem_baseSalary', '{薪资项目.基本工资}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 15:46:58', '2022-05-05 15:46:58')
|
|
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 (1651736818329, '岗位工资', 1651736817711, 'salaryItem_postSalary', '{薪资项目.岗位工资}', 'number', 'salaryItem', 1, 1, 0, '2022-05-05 15:46:58', '2022-05-05 15:46:58')
|
|
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 (1651737360610, '年终奖', 1651737358294, 'salaryItem_annualBonus', '{薪资项目.年终奖}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 15:55:58', '2022-05-05 15:55:58')
|
|
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 (1651737636061, '考勤扣款', 1651737635353, 'salaryItem_attendanceDeduction', '{薪资项目.考勤扣款}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 16:00:35', '2022-05-05 16:00:35')
|
|
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 (1651737859281, '工资薪金合计', 1651737859216, 'salaryItem_wagesTotal', '{薪资项目.工资薪金合计}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 16:04:19', '2022-05-05 16:04:19')
|
|
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 (1651737859342, '全年一次性奖金合计', 1651737859216, 'salaryItem_annualBonusTotal', '{薪资项目.全年一次性奖金合计}', 'number', 'salaryItem', 1, 1, 0, '2022-05-05 16:04:19', '2022-05-05 16:04:19')
|
|
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 (1651737859401, '税前扣款合计', 1651737859216, 'salaryItem_preTaxDeductionsTotal', '{薪资项目.税前扣款合计}', 'number', 'salaryItem', 2, 1, 0, '2022-05-05 16:04:19', '2022-05-05 16:04:19')
|
|
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 (1651738035450, '本月(次)应税收入合计', 1651738034028, 'salaryItem_income', '{薪资项目.本月(次)应税收入合计}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 16:07:14', '2022-05-05 16:07:14')
|
|
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 (1651738035488, '累计收入额', 1651738034028, 'addUpSituation_addUpIncome', '{往期累计情况.累计收入额}', 'number', 'addUpSituation', 1, 1, 0, '2022-05-05 16:07:14', '2022-05-05 16:07:14')
|
|
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 (1651738832854, '养老个人', 1651738826550, 'salaryItem_endowmentInsurance', '{薪资项目.养老个人}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 16:20:27', '2022-05-05 16:20:27')
|
|
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 (1651738837363, '医疗个人', 1651738826550, 'salaryItem_medicalInsurance', '{薪资项目.医疗个人}', 'number', 'salaryItem', 1, 1, 0, '2022-05-05 16:20:27', '2022-05-05 16:20:27')
|
|
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 (1651738837909, '失业个人', 1651738826550, 'salaryItem_unemploymentInsurance', '{薪资项目.失业个人}', 'number', 'salaryItem', 2, 1, 0, '2022-05-05 16:20:27', '2022-05-05 16:20:27')
|
|
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 (1651738838429, '公积金个人', 1651738826550, 'salaryItem_housingProvidentFund', '{薪资项目.公积金个人}', 'number', 'salaryItem', 3, 1, 0, '2022-05-05 16:20:27', '2022-05-05 16:20:27')
|
|
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 (1651739002623, '本月(次)专项扣除合计', 1651739000845, 'salaryItem_specialDeduction', '{薪资项目.本月(次)专项扣除合计}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 16:23:21', '2022-05-05 16:23:21')
|
|
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 (1651739002682, '累计社保个人合计', 1651739000845, 'addUpSituation_addUpSocialSecurityTotal', '{往期累计情况.累计社保个人合计}', 'number', 'addUpSituation', 1, 1, 0, '2022-05-05 16:23:21', '2022-05-05 16:23:21')
|
|
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 (1651739003139, '累计公积金个人合计', 1651739000845, 'addUpSituation_addUpAccumulationFundTotal', '{往期累计情况.累计公积金个人合计}', 'number', 'addUpSituation', 2, 1, 0, '2022-05-05 16:23:21', '2022-05-05 16:23:21')
|
|
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 (1651739054270, '累计子女教育', 1651739053212, 'addUpDeductions_addUpChildEducation', '{累计专项附加扣除.累计子女教育}', 'number', 'addUpDeductions', 0, 1, 0, '2022-05-05 16:24:13', '2022-05-05 16:24:13')
|
|
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 (1651739101122, '累计住房贷款利息', 1651739100651, 'addUpSituation_addUpHousingLoanInterest', '{往期累计情况.累计住房贷款利息}', 'number', 'addUpSituation', 0, 1, 0, '2022-05-05 16:25:01', '2022-05-05 16:25:01')
|
|
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 (1651739151221, '累计住房租金', 1651739151122, 'addUpSituation_addUpHousingRent', '{往期累计情况.累计住房租金}', 'number', 'addUpSituation', 0, 1, 0, '2022-05-05 16:25:51', '2022-05-05 16:25:51')
|
|
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 (1651739213082, '累计继续教育', 1651739212437, 'addUpSituation_addUpContinuingEducation', '{往期累计情况.累计继续教育}', 'number', 'addUpSituation', 0, 1, 0, '2022-05-05 16:26:52', '2022-05-05 16:26:52')
|
|
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 (1651739311009, '累计赡养老人', 1651739310959, 'addUpSituation_addUpSupportElderly', '{往期累计情况.累计赡养老人}', 'number', 'addUpSituation', 0, 1, 0, '2022-05-05 16:28:31', '2022-05-05 16:28:31')
|
|
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 (1651739411502, '累计子女教育', 1651739411365, 'salaryItem_addUpChildEducation', '{薪资项目.累计子女教育}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 16:30:11', '2022-05-05 16:30:11')
|
|
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 (1651739411637, '累计住房贷款利息', 1651739411365, 'salaryItem_addUpHousingLoanInterest', '{薪资项目.累计住房贷款利息}', 'number', 'salaryItem', 1, 1, 0, '2022-05-05 16:30:11', '2022-05-05 16:30:11')
|
|
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 (1651739411715, '累计住房租金', 1651739411365, 'salaryItem_addUpHousingRent', '{薪资项目.累计住房租金}', 'number', 'salaryItem', 2, 1, 0, '2022-05-05 16:30:11', '2022-05-05 16:30:11')
|
|
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 (1651739411773, '累计继续教育', 1651739411365, 'salaryItem_addUpContinuingEducation', '{薪资项目.累计继续教育}', 'number', 'salaryItem', 3, 1, 0, '2022-05-05 16:30:11', '2022-05-05 16:30:11')
|
|
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 (1651739412718, '累计赡养老人', 1651739411365, 'salaryItem_addUpSupportElderly', '{薪资项目.累计赡养老人}', 'number', 'salaryItem', 4, 1, 0, '2022-05-05 16:30:11', '2022-05-05 16:30:11')
|
|
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 (1651739819892, '年金个人', 1651739815651, 'salaryItem_annuity', '{薪资项目.年金个人}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 16:36:56', '2022-05-05 16:36:56')
|
|
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 (1651739822564, '商业健康保险', 1651739815651, 'salaryItem_commercialHealthInsurance', '{薪资项目.商业健康保险}', 'number', 'salaryItem', 1, 1, 0, '2022-05-05 16:36:56', '2022-05-05 16:36:56')
|
|
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 (1651739826637, '税延养老保险', 1651739815651, 'salaryItem_taxDeferredEndowmentInsurance', '{薪资项目.税延养老保险}', 'number', 'salaryItem', 2, 1, 0, '2022-05-05 16:36:56', '2022-05-05 16:36:56')
|
|
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 (1651739828954, '财产原值', 1651739815651, 'salaryItem_originalValueOfProperty', '{薪资项目.财产原值}', 'number', 'salaryItem', 3, 1, 0, '2022-05-05 16:36:56', '2022-05-05 16:36:56')
|
|
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 (1651739829915, '允许扣除的税费', 1651739815651, 'salaryItem_deductedTax', '{薪资项目.允许扣除的税费}', 'number', 'salaryItem', 4, 1, 0, '2022-05-05 16:36:56', '2022-05-05 16:36:56')
|
|
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 (1651739830465, '其他', 1651739815651, 'salaryItem_other', '{薪资项目.其他}', 'number', 'salaryItem', 5, 1, 0, '2022-05-05 16:36:56', '2022-05-05 16:36:56')
|
|
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 (1651740240713, '本月(次)其他扣除合计', 1651740238860, 'salaryItem_otherDeduction', '{薪资项目.本月(次)其他扣除合计}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 16:43:59', '2022-05-05 16:43:59')
|
|
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 (1651740241221, '累计其他免税扣除', 1651740238860, 'addUpSituation_addUpOtherDeduction', '{往期累计情况.累计其他免税扣除}', 'number', 'addUpSituation', 1, 1, 0, '2022-05-05 16:43:59', '2022-05-05 16:43:59')
|
|
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 (1651740241717, '累计企业(职业)年金及其他福利', 1651740238860, 'addUpSituation_addUpEnterpriseAndOther', '{往期累计情况.累计企业(职业)年金及其他福利}', 'number', 'addUpSituation', 2, 1, 0, '2022-05-05 16:43:59', '2022-05-05 16:43:59')
|
|
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 (1651740397497, '本月(次)减除费用', 1651740397225, 'salaryItem_subtraction', '{薪资项目.本月(次)减除费用}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 16:46:37', '2022-05-05 16:46:37')
|
|
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 (1651740397989, '累计减除费用', 1651740397225, 'addUpSituation_addUpSubtraction', '{往期累计情况.累计减除费用}', 'number', 'addUpSituation', 1, 1, 0, '2022-05-05 16:46:37', '2022-05-05 16:46:37')
|
|
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 (1651742185950, '当前累计应纳税所得额', 1651742185837, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 17:16:26', '2022-05-05 17:16:26')
|
|
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 (1651742185995, '当前累计应纳税所得额', 1651742185837, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 1, 1, 0, '2022-05-05 17:16:26', '2022-05-05 17:16:26')
|
|
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 (1651742186035, '当前累计应纳税所得额', 1651742185837, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 2, 1, 0, '2022-05-05 17:16:26', '2022-05-05 17:16:26')
|
|
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 (1651742186085, '当前累计应纳税所得额', 1651742185837, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 3, 1, 0, '2022-05-05 17:16:26', '2022-05-05 17:16:26')
|
|
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 (1651742186122, '当前累计应纳税所得额', 1651742185837, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 4, 1, 0, '2022-05-05 17:16:26', '2022-05-05 17:16:26')
|
|
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 (1651742186155, '当前累计应纳税所得额', 1651742185837, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 5, 1, 0, '2022-05-05 17:16:26', '2022-05-05 17:16:26')
|
|
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 (1651742186199, '当前累计应纳税所得额', 1651742185837, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 6, 1, 0, '2022-05-05 17:16:26', '2022-05-05 17:16:26')
|
|
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 (1651742704826, '当前累计应纳税所得额', 1651742702735, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 17:25:03', '2022-05-05 17:25:03')
|
|
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 (1651742705308, '当前累计应纳税所得额', 1651742702735, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 1, 1, 0, '2022-05-05 17:25:03', '2022-05-05 17:25:03')
|
|
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 (1651742705782, '当前累计应纳税所得额', 1651742702735, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 2, 1, 0, '2022-05-05 17:25:03', '2022-05-05 17:25:03')
|
|
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 (1651742705831, '当前累计应纳税所得额', 1651742702735, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 3, 1, 0, '2022-05-05 17:25:03', '2022-05-05 17:25:03')
|
|
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 (1651742706306, '当前累计应纳税所得额', 1651742702735, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 4, 1, 0, '2022-05-05 17:25:03', '2022-05-05 17:25:03')
|
|
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 (1651742706368, '当前累计应纳税所得额', 1651742702735, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 5, 1, 0, '2022-05-05 17:25:03', '2022-05-05 17:25:03')
|
|
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 (1651745446904, '当前累计应税收入合计', 1651745445982, 'salaryItem_addUpIncome', '{薪资项目.当前累计应税收入合计}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 18:10:46', '2022-05-05 18:10:46')
|
|
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 (1651745447442, '当前累计专项扣除合计', 1651745445982, 'salaryItem_addUpSpecialDeduction', '{薪资项目.当前累计专项扣除合计}', 'number', 'salaryItem', 1, 1, 0, '2022-05-05 18:10:46', '2022-05-05 18:10:46')
|
|
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 (1651745447969, '当前累计专项附加扣除合计', 1651745445982, 'salaryItem_addUpSpeAddiDeduction', '{薪资项目.当前累计专项附加扣除合计}', 'number', 'salaryItem', 2, 1, 0, '2022-05-05 18:10:46', '2022-05-05 18:10:46')
|
|
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 (1651745448475, '当前累计其他扣除合计', 1651745445982, 'salaryItem_addUpOtherDeduction', '{薪资项目.当前累计其他扣除合计}', 'number', 'salaryItem', 3, 1, 0, '2022-05-05 18:10:46', '2022-05-05 18:10:46')
|
|
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 (1651745451616, '当前累计减除费用', 1651745445982, 'salaryItem_addUpSubtraction', '{薪资项目.当前累计减除费用}', 'number', 'salaryItem', 4, 1, 0, '2022-05-05 18:10:46', '2022-05-05 18:10:46')
|
|
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 (1651745452097, '当前累计准备扣除的捐赠额', 1651745445982, 'salaryItem_addUpAllowedDonation', '{薪资项目.当前累计准备扣除的捐赠额}', 'number', 'salaryItem', 5, 1, 0, '2022-05-05 18:10:46', '2022-05-05 18:10:46')
|
|
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 (1651748888918, '当前累计应纳税所得额', 1651748888864, 'salaryItem_addUpTaxableIncome', '{薪资项目.当前累计应纳税所得额}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 19:08:09', '2022-05-05 19:08:09')
|
|
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 (1651748888952, '本月(次)工资薪金税税率', 1651748888864, 'salaryItem_taxRate', '{薪资项目.本月(次)工资薪金税税率}', 'number', 'salaryItem', 1, 1, 0, '2022-05-05 19:08:09', '2022-05-05 19:08:09')
|
|
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 (1651748888989, '本月(次)工资薪金税速算扣除数', 1651748888864, 'salaryItem_quickDeductionFactor', '{薪资项目.本月(次)工资薪金税速算扣除数}', 'number', 'salaryItem', 2, 1, 0, '2022-05-05 19:08:09', '2022-05-05 19:08:09')
|
|
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 (1651748978520, '累计已预扣预缴税额', 1651748978482, 'addUpSituation_addUpAdvanceTax', '{往期累计情况.累计已预扣预缴税额}', 'number', 'addUpSituation', 0, 1, 0, '2022-05-05 19:09:38', '2022-05-05 19:09:38')
|
|
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 (1651749112037, '当前累计应纳税额', 1651749111981, 'salaryItem_addUpTaxPayable', '{薪资项目.当前累计应纳税额}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 19:11:52', '2022-05-05 19:11:52')
|
|
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 (1651749112068, '当前累计已扣缴税额合计', 1651749111981, 'salaryItem_addUpAdvanceTax', '{薪资项目.当前累计已扣缴税额合计}', 'number', 'salaryItem', 1, 1, 0, '2022-05-05 19:11:52', '2022-05-05 19:11:52')
|
|
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 (1651749112116, '当前累计减免税额合计', 1651749111981, 'salaryItem_addUpTaxDeduction', '{薪资项目.当前累计减免税额合计}', 'number', 'salaryItem', 2, 1, 0, '2022-05-05 19:11:52', '2022-05-05 19:11:52')
|
|
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 (1651749240040, '本月(次)应税收入合计', 1651749240004, 'salaryItem_income', '{薪资项目.本月(次)应税收入合计}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 19:14:00', '2022-05-05 19:14:00')
|
|
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 (1651749240082, '本月(次)专项扣除合计', 1651749240004, 'salaryItem_specialDeduction', '{薪资项目.本月(次)专项扣除合计}', 'number', 'salaryItem', 1, 1, 0, '2022-05-05 19:14:00', '2022-05-05 19:14:00')
|
|
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 (1651749240117, '本月(次)应补税额', 1651749240004, 'salaryItem_refundedOrSupplementedTax', '{薪资项目.本月(次)应补税额}', 'number', 'salaryItem', 2, 1, 0, '2022-05-05 19:14:00', '2022-05-05 19:14:00')
|
|
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 (1651749240164, '税后调整合计', 1651749240004, 'salaryItem_afterTaxAdjustmentTotal', '{薪资项目.税后调整合计}', 'number', 'salaryItem', 3, 1, 0, '2022-05-05 19:14:00', '2022-05-05 19:14:00')
|
|
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 (1651749240199, '税后报销合计', 1651749240004, 'salaryItem_afterTaxReimbursementTotal', '{薪资项目.税后报销合计}', 'number', 'salaryItem', 4, 1, 0, '2022-05-05 19:14:00', '2022-05-05 19:14:00')
|
|
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 (1651749240245, '税后扣款合计', 1651749240004, 'salaryItem_afterTaxDeductionsTotal', '{薪资项目.税后扣款合计}', 'number', 'salaryItem', 5, 1, 0, '2022-05-05 19:14:00', '2022-05-05 19:14:00')
|
|
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 (1651749398399, '企业年金个人', 1651749398360, 'welfare_9007otherPer', '{社保福利.企业年金个人}', 'number', 'welfare', 0, 1, 0, '2022-05-05 19:16:38', '2022-05-05 19:16:38')
|
|
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 (1651749448843, '商业健康保险', 1651749448800, 'otherDeduction_businessHealthyInsurance', '{其他免税扣除.商业健康保险}', 'number', 'otherDeduction', 0, 1, 0, '2022-05-05 19:17:29', '2022-05-05 19:17:29')
|
|
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 (1651749487225, '税延养老保险', 1651749487187, 'otherDeduction_taxDelayEndowmentInsurance', '{其他免税扣除.税延养老保险}', 'number', 'otherDeduction', 0, 1, 0, '2022-05-05 19:18:07', '2022-05-05 19:18:07')
|
|
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 (1651749540213, '其他', 1651749540147, 'otherDeduction_otherDeduction', '{其他免税扣除.其他}', 'number', 'otherDeduction', 0, 1, 0, '2022-05-05 19:19:00', '2022-05-05 19:19:00')
|
|
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 (1651749596472, '准予扣除的捐赠额', 1651749595061, 'otherDeduction_deductionAllowedDonation', '{其他免税扣除.准予扣除的捐赠额}', 'number', 'otherDeduction', 0, 1, 0, '2022-05-05 19:19:55', '2022-05-05 19:19:55')
|
|
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 (1651749675326, '本月(次)准允扣除的捐赠额', 1651749675268, 'salaryItem_allowedDonation', '{薪资项目.本月(次)准允扣除的捐赠额}', 'number', 'salaryItem', 0, 1, 0, '2022-05-05 19:21:15', '2022-05-05 19:21:15')
|
|
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 (1651749675365, '累计准予扣除的捐赠额', 1651749675268, 'addUpSituation_addUpAllowedDonation', '{往期累计情况.累计准予扣除的捐赠额}', 'number', 'addUpSituation', 1, 1, 0, '2022-05-05 19:21:15', '2022-05-05 19:21:15')
|
|
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 (1651749914793, '养老保险个人', 1651749914746, 'welfare_9001socialPer', '{社保福利.养老保险个人}', 'number', 'welfare', 0, 1, 0, '2022-05-05 19:25:15', '2022-05-05 19:25:15')
|
|
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 (1651749958917, '医疗保险个人', 1651749958879, 'welfare_9002socialPer', '{社保福利.医疗保险个人}', 'number', 'welfare', 0, 1, 0, '2022-05-05 19:25:59', '2022-05-05 19:25:59')
|
|
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 (1651750005320, '失业保险个人', 1651750005281, 'welfare_9004socialPer', '{社保福利.失业保险个人}', 'number', 'welfare', 0, 1, 0, '2022-05-05 19:26:45', '2022-05-05 19:26:45')
|
|
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 (1651750034727, '住房公积金个人', 1651750034689, 'welfare_9006fundPer', '{社保福利.住房公积金个人}', 'number', 'welfare', 0, 1, 0, '2022-05-05 19:27:15', '2022-05-05 19:27:15')
|
|
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 (1651801435862, '社保个人合计', 1651801433504, 'welfare_socialPerSum', '{社保福利.社保个人合计}', 'number', 'welfare', 0, 1, 0, '2022-05-06 09:43:54', '2022-05-06 09:43:54')
|
|
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 (1651801436423, '累计社保个人合计', 1651801433504, 'addUpSituation_addUpSocialSecurityTotal', '{往期累计情况.累计社保个人合计}', 'number', 'addUpSituation', 1, 1, 0, '2022-05-06 09:43:54', '2022-05-06 09:43:54')
|
|
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 (1651801587331, '公积金个人合计', 1651801586972, 'welfare_fundPerSum', '{社保福利.公积金个人合计}', 'number', 'welfare', 0, 1, 0, '2022-05-06 09:46:27', '2022-05-06 09:46:27')
|
|
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 (1651801587794, '累计公积金个人合计', 1651801586972, 'addUpSituation_addUpAccumulationFundTotal', '{往期累计情况.累计公积金个人合计}', 'number', 'addUpSituation', 1, 1, 0, '2022-05-06 09:46:27', '2022-05-06 09:46:27')
|
|
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 (1651801669969, '其他福利个人合计', 1651801667770, 'welfare_otherPerSum', '{社保福利.其他福利个人合计}', 'number', 'welfare', 0, 1, 0, '2022-05-06 09:47:48', '2022-05-06 09:47:48')
|
|
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 (1651801670474, '累计企业(职业)年金及其他福利', 1651801667770, 'addUpSituation_addUpEnterpriseAndOther', '{往期累计情况.累计企业(职业)年金及其他福利}', 'number', 'addUpSituation', 1, 1, 0, '2022-05-06 09:47:48', '2022-05-06 09:47:48')
|
|
GO
|
|
|
|
|
|
|
|
|
|
INSERT INTO hrsa_sob_default_emp_field(id, field_code, sorted_index, can_delete, creator, create_time, update_time, delete_type, tenant_key) VALUES (681983911359291652, 'taxAgentName', 0, 0, 0, '2022-02-23 17:32:08', '2022-02-23 17:32:08', 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_sob_default_emp_field(id, field_code, sorted_index, can_delete, creator, create_time, update_time, delete_type, tenant_key) VALUES (681983911359291653, 'username', 1, 0, 0, '2022-02-23 17:32:08', '2022-02-23 17:32:08', 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_sob_default_emp_field(id, field_code, sorted_index, can_delete, creator, create_time, update_time, delete_type, tenant_key) VALUES (681983911359291654, 'departmentName', 2, 0, 0, '2022-02-23 17:32:08', '2022-02-23 17:32:08', 0, 'all_teams')
|
|
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 (704495325212368900, 4, 703459464954929153, 1, 0, 0, '2022-03-14 11:32:31', '2022-03-17 16:14:11', 0, 'all_teams', 704495325212368899, 0)
|
|
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 (704495325212368902, 4, 703458434280095745, 1, 0, 0, '2022-03-14 11:32:31', '2022-03-17 16:14:11', 0, 'all_teams', 704495325212368901, 0)
|
|
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 (704495325212368903, 4, 703458558739300353, 1, 0, 0, '2022-03-14 11:32:31', '2022-03-17 16:14:11', 0, 'all_teams', 704495325212368901, 1)
|
|
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 (704495325212368905, 4, 674914626953093123, 1, 0, 0, '2022-03-14 11:32:31', '2022-03-17 16:14:11', 0, 'all_teams', 704495325212368904, 0)
|
|
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 (704495325212368906, 4, 674914626953093124, 1, 0, 0, '2022-03-14 11:32:32', '2022-03-17 16:14:11', 0, 'all_teams', 704495325212368904, 1)
|
|
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 (704495325212368907, 4, 674914626953093127, 1, 0, 0, '2022-03-14 11:32:32', '2022-03-17 16:14:11', 0, 'all_teams', 704495325212368904, 2)
|
|
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 (704495325212368908, 4, 674916065864646659, 1, 0, 0, '2022-03-14 11:32:32', '2022-03-17 16:14:11', 0, 'all_teams', 704495325212368904, 3)
|
|
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 (704495325212368910, 4, 704467747234045953, 1, 0, 0, '2022-03-14 11:32:32', '2022-03-17 16:14:11', 0, 'all_teams', 704495325212368909, 0)
|
|
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 (704495325212368911, 4, 704468391612751873, 1, 0, 0, '2022-03-14 11:32:32', '2022-03-17 16:14:11', 0, 'all_teams', 704495325212368909, 1)
|
|
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 (704495325212368912, 4, 704468443048992769, 1, 0, 0, '2022-03-14 11:32:32', '2022-03-17 16:14:11', 0, 'all_teams', 704495325212368909, 2)
|
|
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 (704495325212368913, 4, 704468490269204481, 1, 0, 0, '2022-03-14 11:32:32', '2022-03-17 16:14:11', 0, 'all_teams', 704495325212368909, 3)
|
|
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 (704495325212368914, 4, 704468528928063488, 1, 0, 0, '2022-03-14 11:32:32', '2022-03-17 16:14:11', 0, 'all_teams', 704495325212368909, 4)
|
|
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 (704495325212368915, 4, 703459151591383041, 1, 0, 0, '2022-03-14 11:32:32', '2022-03-17 16:14:11', 0, 'all_teams', 0, 0)
|
|
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 (706066600446312448, 1, 703459151591383041, 1, 0, 0, '2022-03-14 11:32:31', '2022-03-18 16:59:23', 0, 'all_teams', 0, 0)
|
|
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 (706066600446312449, 1, 674861648655892480, 1, 1, 0, '2022-03-14 11:32:28', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614083, 0)
|
|
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 (706066600446312450, 1, 674861768948531201, 1, 1, 0, '2022-03-14 11:32:28', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614083, 1)
|
|
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 (706066600446312451, 1, 674861880508628992, 1, 1, 0, '2022-03-14 11:32:28', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614083, 2)
|
|
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 (706066600446312452, 1, 674920588574261248, 1, 1, 0, '2022-03-14 11:32:28', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614083, 3)
|
|
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 (706066600446312453, 1, 674853617092214790, 1, 0, 0, '2022-03-14 11:32:28', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614083, 4)
|
|
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 (706066600446312454, 1, 674853617092214791, 1, 0, 0, '2022-03-14 11:32:28', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614083, 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 (706066600446312455, 1, 674914626953093129, 1, 0, 0, '2022-03-14 11:32:28', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614083, 6)
|
|
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 (706066600446312456, 1, 703419929857687552, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614083, 7)
|
|
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 (706066600446312457, 1, 674853617092214792, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614092, 0)
|
|
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 (706066600446312458, 1, 674853617092214793, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614092, 1)
|
|
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 (706066600446312459, 1, 674853617092214795, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614092, 2)
|
|
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 (706066600446312460, 1, 674853617092214796, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614092, 3)
|
|
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 (706066600446312461, 1, 700599184238075904, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614092, 4)
|
|
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 (706066600446312462, 1, 700599446244319233, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614092, 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 (706066600446312463, 1, 674853617092214797, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614092, 6)
|
|
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 (706066600446312464, 1, 697532371614588928, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614092, 7)
|
|
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 (706066600446312465, 1, 697532667749400576, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614092, 8)
|
|
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 (706066600446312466, 1, 697536344384012289, 1, 0, 0, '2022-03-18 16:24:49', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614092, 9)
|
|
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 (706066600446312467, 1, 674853617092214798, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614092, 10)
|
|
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 (706066600446312468, 1, 674853617092214803, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614103, 0)
|
|
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 (706066600446312469, 1, 674853617092214802, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614103, 1)
|
|
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 (706066600446312470, 1, 674853617092214801, 1, 0, 0, '2022-03-14 11:32:29', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614103, 2)
|
|
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 (706066600446312471, 1, 674853617092214800, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614103, 3)
|
|
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 (706066600446312472, 1, 674853617092214799, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614103, 4)
|
|
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 (706066600446312473, 1, 705641858303836161, 1, 0, 0, '2022-03-17 13:48:51', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614103, 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 (706066600446312474, 1, 674853617092214804, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614103, 6)
|
|
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 (706066600446312475, 1, 674853617092214807, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614110, 0)
|
|
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 (706066600446312476, 1, 674853617092214808, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614110, 1)
|
|
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 (706066600446312477, 1, 674914626953093122, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614110, 2)
|
|
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 (706066600446312478, 1, 674914626953093123, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614110, 3)
|
|
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 (706066600446312479, 1, 674914626953093124, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614110, 4)
|
|
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 (706066600446312480, 1, 674914626953093127, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614110, 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 (706066600446312481, 1, 674853617092214805, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614110, 6)
|
|
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 (706066600446312482, 1, 674853617092214806, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614110, 7)
|
|
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 (706066600446312483, 1, 674916065864646659, 1, 0, 0, '2022-03-18 16:30:21', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614110, 8)
|
|
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 (706066600446312484, 1, 674916065864646660, 1, 0, 0, '2022-03-18 16:30:21', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614110, 9)
|
|
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 (706066600446312485, 1, 674853617092214811, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614119, 0)
|
|
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 (706066600446312486, 1, 674853617092214809, 1, 0, 0, '2022-03-14 11:32:30', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614119, 1)
|
|
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 (706066600446312487, 1, 674853617092214810, 1, 0, 0, '2022-03-14 11:32:31', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614119, 2)
|
|
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 (706066600446312488, 1, 674853617092214812, 1, 0, 0, '2022-03-14 11:32:31', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614119, 3)
|
|
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 (706066600446312489, 1, 674853617092214813, 1, 0, 0, '2022-03-14 11:32:31', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614119, 4)
|
|
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 (706066600446312490, 1, 674916065864646661, 1, 1, 0, '2022-03-18 16:33:37', '2022-03-18 16:59:23', 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 (706066600446312491, 1, 674916065864646658, 1, 1, 0, '2022-03-18 16:33:37', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614119, 6)
|
|
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 (706066600446312492, 1, 674853617092214814, 1, 0, 0, '2022-03-14 11:32:31', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614119, 7)
|
|
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 (706066600446312493, 1, 674853617092214815, 1, 1, 0, '2022-03-14 11:32:31', '2022-03-18 16:59:23', 0, 'all_teams', 703433961629614126, 6)
|
|
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 (706066600446312494, 1, 700769462612156416, 1, 1, 0, '2022-03-14 11:32:31', '2022-03-18 16:59:24', 0, 'all_teams', 703433961629614126, 7)
|
|
GO
|
|
|
|
|
|
|
|
|
|
INSERT INTO hrsa_sob_default_item_group(id, income_category, name, sorted_index, description, create_time, update_time, creator, delete_type, tenant_key) VALUES (703433961629614083, 1, '收入以及免税', 0, '', '2022-03-11 14:49:01', '2022-03-11 14:49:01', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_sob_default_item_group(id, income_category, name, sorted_index, description, create_time, update_time, creator, delete_type, tenant_key) VALUES (703433961629614092, 1, '专项扣除', 1, '', '2022-03-11 14:49:27', '2022-03-11 14:49:27', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_sob_default_item_group(id, income_category, name, sorted_index, description, create_time, update_time, creator, delete_type, tenant_key) VALUES (703433961629614103, 1, '累计专项附加扣除', 2, '', '2022-03-11 14:49:27', '2022-03-11 14:49:27', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_sob_default_item_group(id, income_category, name, sorted_index, description, create_time, update_time, creator, delete_type, tenant_key) VALUES (703433961629614110, 1, '其他扣除等信息', 3, '', '2022-03-11 14:49:27', '2022-03-11 14:49:27', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_sob_default_item_group(id, income_category, name, sorted_index, description, create_time, update_time, creator, delete_type, tenant_key) VALUES (703433961629614119, 1, '税款计算', 4, '', '2022-03-11 14:49:27', '2022-03-11 14:49:27', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_sob_default_item_group(id, income_category, name, sorted_index, description, create_time, update_time, creator, delete_type, tenant_key) VALUES (703433961629614126, 1, '应发实发', 5, '', '2022-03-11 14:49:28', '2022-03-11 14:49:28', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_sob_default_item_group(id, income_category, name, sorted_index, description, create_time, update_time, creator, delete_type, tenant_key) VALUES (704495325212368899, 4, '所得项目', 0, '', '2022-03-15 17:52:48', '2022-03-15 18:14:53', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_sob_default_item_group(id, income_category, name, sorted_index, description, create_time, update_time, creator, delete_type, tenant_key) VALUES (704495325212368901, 4, '收入及免税', 1, '', '2022-03-15 17:52:48', '2022-03-15 18:14:53', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_sob_default_item_group(id, income_category, name, sorted_index, description, create_time, update_time, creator, delete_type, tenant_key) VALUES (704495325212368904, 4, '其他扣除等信息', 2, '', '2022-03-15 17:52:48', '2022-03-15 18:14:53', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_sob_default_item_group(id, income_category, name, sorted_index, description, create_time, update_time, creator, delete_type, tenant_key) VALUES (704495325212368909, 4, '税款计算', 3, '', '2022-03-15 17:52:48', '2022-03-15 18:14:53', 0, 0, 'all_teams')
|
|
GO
|
|
|
|
|
|
INSERT INTO hrsa_insurance_category (id, insurance_name, welfare_type, is_use, payment_scope, data_type, create_time, update_time, creator, delete_type, tenant_key) VALUES (9001, '养老保险', 1, 1, '1,2', 1, '2022-02-22 10:46:02', '2022-02-22 10:46:02', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_insurance_category (id, insurance_name, welfare_type, is_use, payment_scope, data_type, create_time, update_time, creator, delete_type, tenant_key) VALUES (9002, '医疗保险', 1, 1, '1,2', 1, '2022-02-22 10:46:02', '2022-02-22 10:46:02', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_insurance_category (id, insurance_name, welfare_type, is_use, payment_scope, data_type, create_time, update_time, creator, delete_type, tenant_key) VALUES (9003, '工伤保险', 1, 1, '1,2', 1, '2022-02-22 10:46:02', '2022-02-22 10:46:02', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_insurance_category (id, insurance_name, welfare_type, is_use, payment_scope, data_type, create_time, update_time, creator, delete_type, tenant_key) VALUES (9004, '失业保险', 1, 1, '1,2', 1, '2022-02-22 10:46:02', '2022-02-22 10:46:02', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_insurance_category (id, insurance_name, welfare_type, is_use, payment_scope, data_type, create_time, update_time, creator, delete_type, tenant_key) VALUES (9005, '生育保险', 1, 1, '1,2', 1, '2022-02-22 10:46:02', '2022-02-22 10:46:02', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_insurance_category (id, insurance_name, welfare_type, is_use, payment_scope, data_type, create_time, update_time, creator, delete_type, tenant_key) VALUES (9006, '住房公积金', 2, 1, '1,2', 1, '2022-02-22 10:46:02', '2022-02-22 10:46:02', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_insurance_category (id, insurance_name, welfare_type, is_use, payment_scope, data_type, create_time, update_time, creator, delete_type, tenant_key) VALUES (9007, '企业年金', 3, 1, '1,2', 1, '2022-02-22 10:46:02', '2022-02-22 10:46:02', 0, 0, 'all_teams')
|
|
GO
|
|
INSERT INTO hrsa_insurance_category (id, insurance_name, welfare_type, is_use, payment_scope, data_type, create_time, update_time, creator, delete_type, tenant_key) VALUES (9008, '补充住房公积金', 2, 1, '1,2', 1, '2022-02-22 10:46:02', '2022-02-22 10:46:02', 0, 0, 'all_teams')
|
|
GO |