weaver-hrm-salary/resource/sqlupgrade/Mysql/sql202205130903.sql

1464 lines
165 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

CREATE TABLE hrsa_acct_result_temp (
id bigint(0) NOT NULL AUTO_INCREMENT,
calculate_key varchar(50) NOT NULL DEFAULT '' COMMENT '核算时生成的uuid代表某一次核算',
salary_sob_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资帐套id',
salary_acct_emp_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资核算人员id',
salary_acct_record_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资核算的id',
employee_id bigint(0) NOT NULL DEFAULT 0 COMMENT '人员id',
tax_agent_id bigint(0) NOT NULL DEFAULT 0 COMMENT '个税扣缴义务人id',
salary_item_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资项目的id',
result_value varchar(1000) NOT NULL DEFAULT '' COMMENT '计算后的值',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_calculate_key(calculate_key) USING BTREE
) COMMENT = '薪资核算结果临时存储表' ;
CREATE TABLE hrsa_add_up_deduction (
id bigint(0) NOT NULL AUTO_INCREMENT,
employee_id bigint(0) NOT NULL COMMENT '人员信息表的主键id',
tax_agent_id bigint(0) NOT NULL COMMENT '个税扣缴义务人的主键id',
declare_month datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '申报月份',
add_up_child_education varchar(255) NULL DEFAULT '' COMMENT '累计子女教育',
add_up_continuing_education varchar(255) NULL DEFAULT '' COMMENT '累计继续教育',
add_up_housing_loan_interest varchar(255) NULL DEFAULT '' COMMENT '累计住房贷款利息',
add_up_housing_rent varchar(255) NULL DEFAULT '' COMMENT '累计住房租金',
add_up_support_elderly varchar(255) NULL DEFAULT '' COMMENT '累计赡养老人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE,
INDEX idx_employee_id(employee_id) USING BTREE,
INDEX idx_declare_month(declare_month) USING BTREE
) COMMENT = '数据采集-累计专项附加扣除表' ;
CREATE TABLE hrsa_add_up_situation (
id bigint(0) NOT NULL AUTO_INCREMENT,
employee_id bigint(0) NOT NULL COMMENT '人员信息表的主键id',
tax_agent_id bigint(0) NOT NULL COMMENT '个税扣缴义务人的主键id',
tax_year_month datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '税款所属期',
year int(0) NOT NULL DEFAULT 0 COMMENT '年份',
add_up_income varchar(255) NULL DEFAULT '' COMMENT '累计收入额',
add_up_subtraction varchar(255) NULL DEFAULT '' COMMENT '累计减除费用',
add_up_social_security_total varchar(255) NULL DEFAULT '' COMMENT '累计社保个人合计',
add_up_accumulation_fund_total varchar(255) NULL DEFAULT '' COMMENT '累计公积金个人合计',
add_up_child_education varchar(255) NULL DEFAULT '' COMMENT '累计子女教育',
add_up_continuing_education varchar(255) NULL DEFAULT '' COMMENT '累计继续教育',
add_up_housing_loan_interest varchar(255) NULL DEFAULT '' COMMENT '累计住房贷款利息',
add_up_housing_rent varchar(255) NULL DEFAULT '' COMMENT '累计住房租金',
add_up_support_elderly varchar(255) NULL DEFAULT '' COMMENT '累计赡养老人',
add_up_enterprise_and_other varchar(255) NULL DEFAULT '' COMMENT '累计企业(职业)年金及其他福利',
add_up_other_deduction varchar(255) NULL DEFAULT '0.00000' COMMENT '累计其他扣除',
add_up_tax_exempt_income varchar(255) NULL DEFAULT '' COMMENT '累计免税收入',
add_up_allowed_donation varchar(255) NULL DEFAULT '' COMMENT '累计准予扣除的捐赠额',
add_up_advance_tax varchar(255) NULL DEFAULT '' COMMENT '累计已预扣预缴税额',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE,
INDEX idx_employee_id(employee_id) USING BTREE,
INDEX idx_tax_year_month(tax_year_month) USING BTREE
) COMMENT = '数据采集-累计情况表' ;
CREATE TABLE hrsa_attend_quote (
id bigint(0) NOT NULL COMMENT '主键',
salary_year_month datetime(0) NOT NULL COMMENT '税款所属期',
year int(0) NOT NULL DEFAULT 0 COMMENT '年份',
month int(0) NOT NULL DEFAULT 0 COMMENT '月份',
salary_sob_id bigint(0) NOT NULL COMMENT '薪资账套表的主键id',
source_type int(0) NOT NULL DEFAULT 0 COMMENT '来源。1引用、2导入',
salary_accounting_status int(0) NOT NULL DEFAULT 0 COMMENT '薪资核算状态。0未核算、1已核算',
attend_cycle varchar(100) NOT NULL DEFAULT '' COMMENT '考勤周期',
salary_cycle varchar(100) NOT NULL DEFAULT '' COMMENT '薪资周期',
description varchar(100) NOT NULL DEFAULT '' COMMENT '备注',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE
) COMMENT = '考勤引用表' ;
CREATE TABLE hrsa_attend_quote_data (
id bigint(0) NOT NULL,
employee_id bigint(0) NOT NULL COMMENT '人员信息表的主键id',
attend_quote_id bigint(0) NOT NULL COMMENT '考勤引用表的主键id',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE,
INDEX idx_attend_quote_id(attend_quote_id) USING BTREE
) COMMENT = '考勤引用数据表' ;
CREATE TABLE hrsa_attend_quote_data_value (
id bigint(0) NOT NULL AUTO_INCREMENT COMMENT '主键',
employee_id bigint(0) NOT NULL DEFAULT 0 COMMENT '人员信息表的主键id',
attend_quote_id bigint(0) NOT NULL DEFAULT 0 COMMENT '考勤引用表的主键id',
attend_quote_data_id bigint(0) NOT NULL COMMENT '考勤引用数据表的主键id',
attend_quote_field_id bigint(0) NOT NULL COMMENT '考勤引用字段表的主键id',
data_value varchar(250) NOT NULL COMMENT '数据值',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE,
INDEX idx_attend_quote_id(attend_quote_id) USING BTREE
) COMMENT = '考勤引用数据值表' ;
CREATE TABLE hrsa_attend_quote_field (
id bigint(0) NOT NULL AUTO_INCREMENT,
field_name varchar(100) NOT NULL DEFAULT '' COMMENT '字段名称',
source_type int(0) NOT NULL DEFAULT 0 COMMENT '来源。1自定义、2考勤模块',
field_type int(0) NOT NULL DEFAULT 0 COMMENT '字段类型。1数值、2文本',
enable_status int(0) NOT NULL DEFAULT 0 COMMENT '是否启用。0否、1',
code varchar(50) NOT NULL DEFAULT '' COMMENT '编码(对应考勤模块字段)',
description varchar(100) NOT NULL DEFAULT '' COMMENT '备注',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE
) COMMENT = '考勤引用字段表' ;
CREATE TABLE hrsa_attend_quote_sync_set (
id bigint(0) NOT NULL AUTO_INCREMENT,
source_type int(0) NOT NULL DEFAULT 0 COMMENT '来源。1引用、2导入',
current_setting_content varchar(4000) NOT NULL DEFAULT '' COMMENT '当前设置',
default_setting_content varchar(4000) NOT NULL DEFAULT '' COMMENT '默认设置',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE
) COMMENT = '考勤引用字段设置表' ;
CREATE TABLE hrsa_bill_batch (
id bigint(0) NOT NULL AUTO_INCREMENT,
bill_month varchar(30) NOT NULL COMMENT '账单月份',
bill_status tinyint(1) NOT NULL COMMENT '账单状态 0-未归档 1-已归档',
social_num int(0) NULL DEFAULT 0 COMMENT '社保核算人数',
fund_num int(0) NULL DEFAULT 0 COMMENT '公积金核算人数',
other_num int(0) NULL DEFAULT 0 COMMENT '其他福利核算人数',
social_pay varchar(4000) NULL DEFAULT NULL COMMENT '社保缴费',
fund_pay varchar(4000) NULL DEFAULT NULL COMMENT '公积金缴费',
other_pay varchar(4000) NULL DEFAULT NULL COMMENT '其他福利缴费',
accountant varchar(200) NOT NULL COMMENT '核算人',
remarks varchar(60) NULL DEFAULT NULL COMMENT '备注',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_month(tenant_key, bill_month) USING BTREE
) COMMENT = '福利核算主表' ;
CREATE TABLE hrsa_bill_detail (
id bigint(0) NOT NULL AUTO_INCREMENT,
employee_id bigint(0) NOT NULL COMMENT '员工id',
bill_month varchar(30) NOT NULL COMMENT '账单月份',
bill_status tinyint(1) NOT NULL COMMENT '账单状态 0-未归档 1-已归档',
payment_status tinyint(1) NOT NULL COMMENT '缴纳状态 0-正常缴纳 1-补缴',
supplementary_month varchar(50) NULL DEFAULT NULL COMMENT '补缴月份',
supplementary_projects varchar(50) NULL DEFAULT NULL COMMENT '补缴项目',
resource_from tinyint(1) NOT NULL COMMENT '数据来源 0-系统核算 1-临时数据',
social_pay_org bigint(0) NULL DEFAULT NULL COMMENT '社保缴纳组织',
social_account varchar(50) NULL DEFAULT NULL COMMENT '社保账号',
social_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '社保方案ID',
social_payment_base_string varchar(512) NULL DEFAULT NULL COMMENT '社保缴纳基数',
fund_pay_org bigint(0) NULL DEFAULT NULL COMMENT '公积金缴纳组织',
fund_account varchar(50) NULL DEFAULT NULL COMMENT '公积金账号',
supplement_fund_account varchar(50) NULL DEFAULT NULL COMMENT '补充公积金账号',
fund_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '公积金方案id',
fund_payment_base_string varchar(512) NULL DEFAULT NULL COMMENT '公积金缴纳基数',
other_pay_org bigint(0) NULL DEFAULT NULL COMMENT '其他福利缴纳组织',
other_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '其他福利方案id',
other_payment_base_string varchar(512) NULL DEFAULT NULL COMMENT '其他福利缴纳基数',
social_per_json varchar(512) NULL DEFAULT NULL COMMENT '社保个人缴费明细',
social_per_sum varchar(512) NULL DEFAULT NULL COMMENT '社保个人合计',
fund_per_json varchar(512) NULL DEFAULT NULL COMMENT '公积金个人缴费明细',
fund_per_sum varchar(512) NULL DEFAULT NULL COMMENT '公积金个人合计',
other_per_json varchar(512) NULL DEFAULT NULL COMMENT '其他福利个人缴费明细',
other_per_sum varchar(512) NULL DEFAULT NULL COMMENT '其他福利个人合计',
per_sum varchar(512) NULL DEFAULT NULL COMMENT '个人合计',
social_com_json varchar(512) NULL DEFAULT NULL COMMENT '社保单位缴费明细',
social_com_sum varchar(512) NULL DEFAULT NULL COMMENT '社保单位合计',
fund_com_json varchar(512) NULL DEFAULT NULL COMMENT '公积金单位缴费明细',
fund_com_sum varchar(512) NULL DEFAULT NULL COMMENT '公积金单位合计',
other_com_json varchar(512) NULL DEFAULT NULL COMMENT '其他福利单位缴费明细',
other_com_sum varchar(512) NULL DEFAULT NULL COMMENT '其他福利单位合计',
com_sum varchar(512) NULL DEFAULT NULL COMMENT '单位合计',
social_sum varchar(512) NULL DEFAULT NULL COMMENT '社保合计',
fund_sum varchar(512) NULL DEFAULT NULL COMMENT '公积金合计',
other_sum varchar(512) NULL DEFAULT NULL COMMENT '其他福利合计',
total varchar(512) NULL DEFAULT NULL COMMENT '合计',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_month(tenant_key, bill_month, employee_id) USING BTREE
) COMMENT = '福利核算明细表' ;
CREATE TABLE hrsa_bill_detail_temp (
id bigint(0) NOT NULL AUTO_INCREMENT,
employee_id bigint(0) NOT NULL COMMENT '员工id',
bill_month varchar(30) NOT NULL COMMENT '账单月份',
bill_status tinyint(1) NOT NULL COMMENT '账单状态 0-未归档 1-已归档',
payment_status tinyint(1) NOT NULL COMMENT '缴纳状态 0-正常缴纳 1-补缴',
supplementary_month varchar(50) NULL DEFAULT NULL COMMENT '补缴月份',
supplementary_projects varchar(50) NULL DEFAULT NULL COMMENT '补缴项目',
resource_from tinyint(1) NOT NULL COMMENT '数据来源 0-系统核算 1-临时数据',
social_pay_org bigint(0) NULL DEFAULT NULL COMMENT '社保缴纳组织',
social_account varchar(50) NULL DEFAULT NULL COMMENT '社保账号',
social_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '社保方案ID',
social_payment_base_string varchar(512) NULL DEFAULT NULL COMMENT '社保缴纳基数',
fund_pay_org bigint(0) NULL DEFAULT NULL COMMENT '公积金缴纳组织',
fund_account varchar(50) NULL DEFAULT NULL COMMENT '公积金账号',
supplement_fund_account varchar(50) NULL DEFAULT NULL COMMENT '补充公积金账号',
fund_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '公积金方案id',
fund_payment_base_string varchar(512) NULL DEFAULT NULL COMMENT '公积金缴纳基数',
other_pay_org bigint(0) NULL DEFAULT NULL COMMENT '其他福利缴纳组织',
other_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '其他福利方案id',
other_payment_base_string varchar(512) NULL DEFAULT NULL COMMENT '其他福利缴纳基数',
social_per_json varchar(512) NULL DEFAULT NULL COMMENT '社保个人缴费明细',
social_per_sum varchar(512) NULL DEFAULT NULL COMMENT '社保个人合计',
fund_per_json varchar(512) NULL DEFAULT NULL COMMENT '公积金个人缴费明细',
fund_per_sum varchar(512) NULL DEFAULT NULL COMMENT '公积金个人合计',
other_per_json varchar(512) NULL DEFAULT NULL COMMENT '其他福利个人缴费明细',
other_per_sum varchar(512) NULL DEFAULT NULL COMMENT '其他福利个人合计',
per_sum varchar(512) NULL DEFAULT NULL COMMENT '个人合计',
social_com_json varchar(512) NULL DEFAULT NULL COMMENT '社保单位缴费明细',
social_com_sum varchar(512) NULL DEFAULT NULL COMMENT '社保单位合计',
fund_com_json varchar(512) NULL DEFAULT NULL COMMENT '公积金单位缴费明细',
fund_com_sum varchar(512) NULL DEFAULT NULL COMMENT '公积金单位合计',
other_com_json varchar(512) NULL DEFAULT NULL COMMENT '其他福利单位缴费明细',
other_com_sum varchar(512) NULL DEFAULT NULL COMMENT '其他福利单位合计',
com_sum varchar(512) NULL DEFAULT NULL COMMENT '单位合计',
social_sum varchar(512) NULL DEFAULT NULL COMMENT '社保合计',
fund_sum varchar(512) NULL DEFAULT NULL COMMENT '公积金合计',
other_sum varchar(512) NULL DEFAULT NULL COMMENT '其他福利合计',
total varchar(512) NULL DEFAULT NULL COMMENT '合计',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_month(tenant_key, bill_month, employee_id) USING BTREE
) COMMENT = '福利核算明细临时表' ;
CREATE TABLE hrsa_bill_inspect (
id bigint(0) NOT NULL AUTO_INCREMENT,
employee_id bigint(0) NOT NULL COMMENT '员工id',
bill_month varchar(30) NOT NULL COMMENT '账单月份',
payment_status tinyint(1) NOT NULL COMMENT '缴纳状态 0-正常缴纳 1-补缴',
supplementary_month varchar(50) NULL DEFAULT NULL COMMENT '补缴月份',
supplementary_projects varchar(50) NULL DEFAULT NULL COMMENT '补缴项目',
inspect_status tinyint(1) NOT NULL COMMENT '审核状态 0-忽略 1-待确认',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_month(tenant_key, bill_month, employee_id) USING BTREE
) COMMENT = '核算检查明细表' ;
CREATE TABLE hrsa_check_result (
id bigint(0) NOT NULL COMMENT '主键id',
salary_acct_record_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资核算的id',
salary_check_rule_id bigint(0) NOT NULL DEFAULT 0 COMMENT '校验规则的id',
formula_id bigint(0) NOT NULL DEFAULT 0 COMMENT '公式id',
ignore_type tinyint(0) NOT NULL DEFAULT 0 COMMENT '是否已经忽略。0没有忽略、1已经忽略',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_record_id(salary_acct_record_id) USING BTREE
) COMMENT = '薪资核算结果校验异常' ;
CREATE TABLE hrsa_check_result_record (
id bigint(0) NOT NULL COMMENT '主键id',
salary_acct_record_id bigint(0) NOT NULL COMMENT '薪资核算的id',
salary_check_rule_id bigint(0) NOT NULL DEFAULT 0 COMMENT '校验规则的id',
formula_id bigint(0) NOT NULL DEFAULT 0 COMMENT '公式id',
check_result_id bigint(0) NOT NULL DEFAULT 0 COMMENT '校验异常id',
salary_acct_emp_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资核算人员表id',
employee_id bigint(0) NOT NULL DEFAULT 0 COMMENT '人员id',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_record(salary_acct_record_id) USING BTREE,
INDEX idx_check_result_id(check_result_id) USING BTREE
) COMMENT = '薪资核算校验异常明细表' ;
CREATE TABLE hrsa_ck_result_detail_temp (
id bigint(0) NOT NULL COMMENT '主键id',
salary_acct_emp_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资核算人员id',
salary_acct_record_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资核算的id',
employee_id bigint(0) NOT NULL DEFAULT 0 COMMENT '人员id',
salary_check_rule_id bigint(0) NOT NULL DEFAULT 0 COMMENT '核算规则的id',
formula_id bigint(0) NOT NULL DEFAULT 0 COMMENT '校验规则中的公式id',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
calculate_key varchar(50) NOT NULL COMMENT '校验时生成的key代表某一次校验',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_record(salary_acct_record_id) USING BTREE,
INDEX idx_calculate_key(calculate_key) USING BTREE
) COMMENT = '薪资核算结果校验异常明细临时存储' ;
CREATE TABLE hrsa_excel_acct_result (
id bigint(0) NOT NULL AUTO_INCREMENT,
salary_sob_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资帐套id',
salary_acct_emp_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资核算人员id',
salary_acct_record_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资核算的id',
employee_id bigint(0) NOT NULL DEFAULT 0 COMMENT '人员id',
salary_item_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资项目的id',
result_value varchar(1000) NOT NULL DEFAULT '' COMMENT '计算后的值',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
tax_agent_id bigint(0) NOT NULL DEFAULT 0 COMMENT '个税扣缴义务人id',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_acct_emp_id(salary_acct_emp_id) USING BTREE,
INDEX idx_record_employee(salary_acct_record_id, employee_id) USING BTREE
) COMMENT = '线下excel核算的结果' ;
CREATE TABLE hrsa_formula (
id bigint(0) NOT NULL,
name varchar(255) NOT NULL COMMENT '名称',
description varchar(255) NULL DEFAULT NULL COMMENT '备注',
module varchar(255) NOT NULL COMMENT '模块',
use_for varchar(255) NULL DEFAULT NULL COMMENT '用途',
reference_type varchar(255) NOT NULL COMMENT '引用类型',
return_type varchar(255) NOT NULL COMMENT '返回类型',
validate_type varchar(255) NOT NULL COMMENT '校验类型',
extend_param varchar(255) NULL DEFAULT NULL COMMENT '扩展参数',
formula varchar(4000) NOT NULL COMMENT '公式内容',
formulaRunScript varchar(4000) NOT NULL COMMENT '公式脚本',
creator bigint(0) NOT NULL COMMENT '创建人',
delete_type int(0) NOT NULL COMMENT '是否删除0否1是',
create_time datetime(0) NOT NULL COMMENT '创建时间',
update_time datetime(0) NOT NULL COMMENT '删除时间',
PRIMARY KEY (id) USING BTREE
) ;
CREATE TABLE hrsa_formula_var (
id bigint(0) NOT NULL,
name varchar(255) NOT NULL COMMENT '名称',
formula_id bigint(0) NOT NULL COMMENT '公式id',
field_id varchar(255) NOT NULL COMMENT '字段id',
field_name varchar(500) NOT NULL COMMENT '字段名称',
field_type varchar(255) NOT NULL COMMENT '字段类型number,string',
source varchar(255) NOT NULL COMMENT '来源',
order_index int(0) NOT NULL COMMENT '排序',
creator bigint(0) NOT NULL COMMENT '创建人',
delete_type int(0) NOT NULL COMMENT '是否删除,0否1是',
create_time datetime(0) NOT NULL COMMENT '创建时间',
update_time datetime(0) NOT NULL COMMENT '删除时间',
PRIMARY KEY (id) USING BTREE
) ;
CREATE TABLE hrsa_fund_archives (
id bigint(0) NOT NULL AUTO_INCREMENT,
employee_id bigint(0) NOT NULL COMMENT '员工id',
non_payment tinyint(1) NULL DEFAULT 0 COMMENT '暂不缴纳 0-缴纳 1-不缴纳',
welfare_type tinyint(1) NOT NULL COMMENT '福利类型 1-社保2-公积金3-企业年金及其它福利',
fund_start_time varchar(20) NULL DEFAULT NULL COMMENT '公积金起始缴纳月',
fund_end_time varchar(20) NULL DEFAULT NULL COMMENT '公积金最后缴纳月',
fund_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '公积金方案id',
fund_account varchar(50) NULL DEFAULT NULL COMMENT '公积金账号',
supplement_fund_account varchar(50) NULL DEFAULT NULL COMMENT '补充公积金账号',
payment_organization bigint(0) NULL DEFAULT NULL COMMENT '公积金缴纳组织',
under_take tinyint(1) NULL DEFAULT 2 COMMENT '公积金个人实际承担方 1-公司 2-个人',
fund_payment_base_string varchar(4000) NULL DEFAULT NULL COMMENT '公积金缴纳基数',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_sub_tenant(tenant_key, employee_id) USING BTREE,
INDEX employee_id(employee_id) USING BTREE
) COMMENT = '员工公积金档案表' ;
CREATE TABLE hrsa_insurance_category (
id bigint(0) NOT NULL ,
insurance_name varchar(50) NOT NULL COMMENT '险种名称',
welfare_type tinyint(0) NOT NULL COMMENT '福利类型 1-社保2-公积金3-企业年金及其它福利',
is_use tinyint(0) NOT NULL DEFAULT 1 COMMENT '是否启用 0-停用 1-启用',
payment_scope varchar(10) NULL DEFAULT NULL COMMENT '缴纳对象 1-公司 2-个人',
data_type tinyint(1) NOT NULL DEFAULT 0 COMMENT '0-自定义 1-系统',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_ic_tenant(tenant_key, delete_type, welfare_type, insurance_name) USING BTREE
) COMMENT = '险种信息表' ;
CREATE TABLE hrsa_other_archives (
id bigint(0) NOT NULL AUTO_INCREMENT,
employee_id bigint(0) NOT NULL COMMENT '员工id',
non_payment tinyint(1) NULL DEFAULT 0 COMMENT '暂不缴纳 0-缴纳 1-不缴纳',
welfare_type tinyint(1) NOT NULL COMMENT '福利类型 1-社保2-公积金3-企业年金及其它福利',
other_start_time varchar(20) NULL DEFAULT NULL COMMENT '其他福利起始缴纳月',
other_end_time varchar(20) NULL DEFAULT NULL COMMENT '其他福利最后缴纳月',
other_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '其他福利方案id',
payment_organization bigint(0) NULL DEFAULT NULL COMMENT '其他福利缴纳组织',
under_take tinyint(1) NULL DEFAULT 2 COMMENT '其他福利个人实际承担方 1-公司 2-个人',
other_payment_base_string varchar(4000) NULL DEFAULT NULL COMMENT '其他福利缴纳基数',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_sub_tenant(tenant_key, employee_id) USING BTREE,
INDEX employee_id(employee_id) USING BTREE
) COMMENT = '员工其他福利档案表' ;
CREATE TABLE hrsa_other_deduction (
id bigint(0) NOT NULL AUTO_INCREMENT,
employee_id bigint(0) NOT NULL COMMENT '人员信息表的主键id',
tax_agent_id bigint(0) NOT NULL COMMENT '个税扣缴义务人的主键id',
declare_month datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '申报年月',
business_healthy_insurance varchar(255) NULL DEFAULT '0.00000' COMMENT '商业健康保险',
tax_delay_endowment_insurance varchar(255) NULL DEFAULT '' COMMENT '税延养老保险',
other_deduction varchar(255) NULL DEFAULT '' COMMENT '其他',
deduction_allowed_donation varchar(255) NULL DEFAULT '' COMMENT '准予扣除的捐赠额',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE,
INDEX idx_declare_month(declare_month) USING BTREE,
INDEX idx_employee_id(employee_id) USING BTREE
) COMMENT = '数据采集-其他免税扣除表' ;
CREATE TABLE hrsa_salary_acct_emp (
id bigint(0) NOT NULL AUTO_INCREMENT,
salary_acct_record_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资核算的id',
salary_sob_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资帐套id',
employee_id bigint(0) NOT NULL DEFAULT 0 COMMENT '人员id',
tax_agent_id bigint(0) NOT NULL DEFAULT 0 COMMENT '个税扣缴义务人id',
salary_month datetime(0) NOT NULL DEFAULT '0000-01-01 00:00:00' COMMENT '薪资所属月',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_record_employee(salary_acct_record_id, employee_id) USING BTREE
) COMMENT = '薪资核算人员确认表' ;
CREATE TABLE hrsa_salary_acct_record (
id bigint(0) NOT NULL AUTO_INCREMENT,
salary_month date NOT NULL DEFAULT '0000-01-01' COMMENT '薪资所属月',
tax_cycle date NOT NULL DEFAULT '0000-01-01' COMMENT '税款所属期',
salary_sob_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资帐套id',
status tinyint(0) NOT NULL DEFAULT 1 COMMENT '核算状态。1未归档、2已归档、3已申报',
acct_times int(0) NOT NULL DEFAULT 0 COMMENT '核算次数',
description varchar(100) NOT NULL DEFAULT '' COMMENT '备注',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_salary_sob_id(salary_sob_id) USING BTREE
) COMMENT = '薪资核算记录' ;
CREATE TABLE hrsa_salary_acct_result (
id bigint(0) NOT NULL AUTO_INCREMENT,
salary_sob_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资帐套id',
salary_acct_emp_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资核算人员id',
salary_acct_record_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资核算的id',
employee_id bigint(0) NOT NULL DEFAULT 0 COMMENT '人员id',
tax_agent_id bigint(0) NOT NULL DEFAULT 0 COMMENT '个税扣缴义务人id',
salary_item_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资项目的id',
result_value varchar(1000) NOT NULL DEFAULT '' COMMENT '计算后的值',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_acct_emp_id(salary_acct_emp_id) USING BTREE,
INDEX idx_record_employee(salary_acct_record_id, employee_id) USING BTREE
) COMMENT = '薪资核算结果表' ;
CREATE TABLE hrsa_salary_archive (
id bigint(0) NOT NULL,
employee_id bigint(0) NOT NULL COMMENT '人员信息表的主键id',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE,
INDEX idx_employee_id(employee_id) USING BTREE
) COMMENT = '薪资档案表' ;
CREATE TABLE hrsa_salary_archive_dimission (
id bigint(0) NOT NULL AUTO_INCREMENT,
dimission_time_interval varchar(20) NOT NULL COMMENT '离职时段',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE
) COMMENT = '薪资档案离职时段表' ;
CREATE TABLE hrsa_salary_archive_item (
id bigint(0) NOT NULL AUTO_INCREMENT,
salary_archive_id bigint(0) NOT NULL COMMENT '薪资档案表的主键id',
employee_id bigint(0) NOT NULL DEFAULT 0 COMMENT '人员信息表的主键id',
effective_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '生效时间',
adjust_reason varchar(100) NOT NULL DEFAULT '' COMMENT '调整原因',
salary_item_id bigint(0) NOT NULL DEFAULT 0 COMMENT '薪资项目id',
item_value varchar(200) NOT NULL DEFAULT '' COMMENT '薪资项目值',
description varchar(200) NOT NULL DEFAULT '' COMMENT '说明',
operator bigint(0) NOT NULL DEFAULT 0 COMMENT '操作人',
operate_time datetime(0) NULL DEFAULT NULL COMMENT '操作时间',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '创建人',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '是否已删除。0未删除、1已删除',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT '租户ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE,
INDEX idx_salary_item_id(salary_item_id) USING BTREE,
INDEX idx_effective_time(effective_time) USING BTREE
) COMMENT = '薪资档案薪资项目表' ;
CREATE TABLE hrsa_salary_archive_tax_agent (
id bigint(0) NOT NULL AUTO_INCREMENT,
salary_archive_id bigint(0) NOT NULL COMMENT '薪资档案表的主键id',
employee_id bigint(0) NOT NULL DEFAULT 0 COMMENT '人员信息表的主键id',
effective_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '生效时间',
adjust_reason varchar(100) NOT NULL DEFAULT '' COMMENT '',
tax_agent_id bigint(0) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'id',
operator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
operate_time datetime(0) NULL DEFAULT NULL COMMENT '',
description varchar(200) NULL DEFAULT '' COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE,
INDEX idx_effective_time(effective_time) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_salary_item (
id bigint(0) NOT NULL,
name varchar(100) NOT NULL DEFAULT '' COMMENT '',
code varchar(100) NOT NULL DEFAULT '' COMMENT '',
system_type tinyint(0) NOT NULL DEFAULT 0 COMMENT '01',
sys_salary_item_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
category tinyint(0) NOT NULL DEFAULT 7 COMMENT '1234567',
item_type tinyint(0) NOT NULL DEFAULT 1 COMMENT '1',
use_default tinyint(0) NOT NULL DEFAULT 0 COMMENT '使0使1使',
use_in_employee_salary tinyint(0) NOT NULL DEFAULT 0 COMMENT '01',
rounding_mode tinyint(0) NOT NULL DEFAULT 1 COMMENT '1234',
pattern tinyint(0) NOT NULL DEFAULT 5 COMMENT '05',
value_type tinyint(0) NOT NULL DEFAULT 1 COMMENT '12',
datasource tinyint(0) NOT NULL DEFAULT 0 COMMENT '012345678',
formula_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
description varchar(1000) NOT NULL DEFAULT '' COMMENT '',
can_edit tinyint(0) NOT NULL DEFAULT 1 COMMENT '',
can_delete tinyint(0) NOT NULL DEFAULT 1 COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
data_type varchar(20) NOT NULL DEFAULT 'number' COMMENT 'stringnumber',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_salary_send (
id bigint(0) NOT NULL COMMENT 'id',
salary_month date NOT NULL,
salary_accounting_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
salary_sob_id bigint(0) NOT NULL COMMENT 'id',
send_num int(0) NOT NULL DEFAULT 0 COMMENT '',
send_total int(0) NOT NULL DEFAULT 0 COMMENT '',
last_send_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_salary_accounting_id(salary_accounting_id) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_salary_send_info (
id bigint(0) NOT NULL COMMENT 'id',
salary_send_id bigint(0) NOT NULL COMMENT 'id',
salary_month date NOT NULL,
salary_acct_record_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
tax_agent_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
employee_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
send_status int(0) NOT NULL DEFAULT 0 COMMENT '012',
send_time datetime(0) NULL DEFAULT NULL,
salary_template text NULL COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_salary_send(salary_send_id) USING BTREE,
INDEX idx_salary_acct_record(salary_acct_record_id) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_salary_sob (
id bigint(0) NOT NULL AUTO_INCREMENT,
name varchar(100) NOT NULL DEFAULT '' COMMENT '',
income_category tinyint(0) NOT NULL DEFAULT 1 COMMENT '1:',
salary_cycle_type tinyint(0) NOT NULL DEFAULT 3 COMMENT '1:2:3:4:',
salary_cycle_from_day tinyint(0) NOT NULL DEFAULT 1 COMMENT '',
tax_cycle_type tinyint(0) NOT NULL DEFAULT 3 COMMENT '1:2:3:4:',
attend_cycle_type tinyint(0) NOT NULL DEFAULT 3 COMMENT '1:2:3:4:',
attend_cycle_from_day tinyint(0) NOT NULL DEFAULT 1 COMMENT '',
social_security_cycle_type tinyint(0) NOT NULL DEFAULT 3 COMMENT '1:2:3:4:',
disable tinyint(0) NOT NULL DEFAULT 0 COMMENT '0使1',
description varchar(1000) NOT NULL DEFAULT '' COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_salary_sob_adjust_rule (
id bigint(0) NOT NULL AUTO_INCREMENT,
salary_sob_id bigint(0) NOT NULL COMMENT 'id',
salary_item_id bigint(0) NOT NULL COMMENT 'id',
day_of_month tinyint(0) NOT NULL DEFAULT 0 COMMENT '',
before_adjustment_type tinyint(0) NOT NULL DEFAULT 1 COMMENT '1234',
after_adjustment_type tinyint(0) NOT NULL DEFAULT 1 COMMENT '1234',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_salary_sob_id(salary_sob_id) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_salary_sob_check_rule (
id bigint(0) NOT NULL AUTO_INCREMENT,
salary_sob_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
name varchar(100) NOT NULL DEFAULT '' COMMENT '',
formula_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
description varchar(1000) NOT NULL DEFAULT '' COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_salary_sob_id(salary_sob_id) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_salary_sob_default_item (
id bigint(0) NOT NULL COMMENT 'id',
income_category tinyint(0) NOT NULL DEFAULT 1 COMMENT '1',
sys_salary_item_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
can_edit tinyint(0) NOT NULL DEFAULT 1 COMMENT '01',
can_delete tinyint(0) NOT NULL DEFAULT 1 COMMENT '01',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
sob_default_item_group_id bigint(0) NOT NULL COMMENT 'id',
sorted_index int(0) NOT NULL COMMENT '',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_salary_sob_emp_field (
id bigint(0) NOT NULL AUTO_INCREMENT,
salary_sob_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
field_code varchar(100) NOT NULL DEFAULT '' COMMENT 'CODE',
sorted_index int(0) NOT NULL DEFAULT 0 COMMENT '',
can_delete tinyint(0) NOT NULL DEFAULT 1 COMMENT '01',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_salary_sob_id(salary_sob_id) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_salary_sob_item (
id bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'id',
salary_sob_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
salary_item_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
salary_sob_item_group_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
formula_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
sorted_index int(0) NOT NULL DEFAULT 0 COMMENT '',
description varchar(1000) NOT NULL DEFAULT '' COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_salary_sob_id(tenant_key) USING BTREE,
INDEX idx_salary_item_id(salary_item_id) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_salary_sob_item_group (
id bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'id',
salary_sob_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
name varchar(100) NOT NULL DEFAULT '' COMMENT '',
sorted_index int(0) NOT NULL DEFAULT 0,
description varchar(1000) NOT NULL DEFAULT '' COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_salary_sob_id(salary_sob_id) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_salary_sob_range (
id bigint(0) NOT NULL AUTO_INCREMENT,
salary_sob_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
target_type tinyint(0) NOT NULL DEFAULT 1 COMMENT '123',
target_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
employee_status tinyint(0) NOT NULL DEFAULT 0 COMMENT '012',
include_type tinyint(0) NOT NULL DEFAULT 1 COMMENT ' 01',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_salary_sob_id(salary_sob_id) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_salary_template (
id bigint(0) NOT NULL AUTO_INCREMENT,
name varchar(100) NOT NULL DEFAULT '' COMMENT '',
salary_sob_id bigint(0) NOT NULL COMMENT 'id',
use_type int(0) NOT NULL DEFAULT 0 COMMENT '使01',
description varchar(100) NOT NULL DEFAULT '' COMMENT '',
email_status int(0) NOT NULL DEFAULT 0 COMMENT '01',
send_email_id bigint(0) NOT NULL DEFAULT 0 COMMENT ':id',
msg_status int(0) NOT NULL DEFAULT 0 COMMENT '01',
theme varchar(100) NOT NULL DEFAULT '' COMMENT '',
background varchar(2000) NULL DEFAULT NULL,
text_content varchar(100) NOT NULL DEFAULT '' COMMENT '',
text_content_position int(0) NOT NULL DEFAULT 0 COMMENT '12',
salary_item_null_status int(0) NOT NULL DEFAULT 0 COMMENT '01',
salary_item_zero_status int(0) NOT NULL DEFAULT 0 COMMENT '001',
salary_item_setting text NOT NULL COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_scheme_detail (
id bigint(0) NOT NULL AUTO_INCREMENT,
insurance_id bigint(0) NOT NULL COMMENT 'id',
primary_id bigint(0) NOT NULL COMMENT 'id',
effective_time varchar(20) NULL DEFAULT NULL COMMENT '()',
expiration_time varchar(20) NULL DEFAULT NULL COMMENT '()',
is_payment tinyint(1) NOT NULL DEFAULT 1 COMMENT ' 0- 1-',
payment_scope tinyint(1) NOT NULL COMMENT ' 1- 2-',
upper_limit varchar(1024) NULL DEFAULT NULL COMMENT '',
lower_limit varchar(1024) NULL DEFAULT NULL COMMENT '',
payment_proportion varchar(1024) NULL DEFAULT NULL COMMENT '',
fixed_cost varchar(1024) NULL DEFAULT NULL COMMENT '',
valid_num tinyint(1) NULL DEFAULT 2 COMMENT '',
rentention_rule tinyint(1) NULL DEFAULT NULL COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_ic_tenant(tenant_key, delete_type, insurance_id) USING BTREE,
INDEX idx_primary_id(tenant_key, primary_id) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_sob_default_emp_field (
id bigint(0) NOT NULL COMMENT 'id',
field_code varchar(30) NOT NULL DEFAULT '' COMMENT 'CODE',
sorted_index int(0) NOT NULL DEFAULT 0 COMMENT '',
can_delete tinyint(0) NOT NULL DEFAULT 0 COMMENT '01',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_sob_default_item_group (
id bigint(0) NOT NULL COMMENT 'id',
income_category tinyint(0) NOT NULL DEFAULT 1 COMMENT '',
name varchar(100) NOT NULL DEFAULT '' COMMENT '',
sorted_index int(0) NOT NULL DEFAULT 0,
description varchar(1000) NOT NULL DEFAULT '' COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_social_archives (
id bigint(0) NOT NULL AUTO_INCREMENT,
employee_id bigint(0) NOT NULL COMMENT 'id',
non_payment tinyint(1) NULL DEFAULT 0 COMMENT ' 0- 1-',
welfare_type tinyint(1) NOT NULL COMMENT ' 1-2-3-',
social_start_time varchar(20) NULL DEFAULT NULL COMMENT '',
social_end_time varchar(20) NULL DEFAULT NULL COMMENT '',
social_scheme_id bigint(0) NULL DEFAULT NULL COMMENT 'ID',
social_account varchar(50) NULL DEFAULT NULL COMMENT '',
payment_organization bigint(0) NULL DEFAULT NULL COMMENT '',
under_take tinyint(1) NULL DEFAULT 2 COMMENT ' 1- 2-',
social_payment_base_string varchar(4000) NULL DEFAULT NULL COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_sub_tenant(tenant_key, employee_id) USING BTREE,
INDEX employee_id(employee_id) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_social_security_scheme (
id bigint(0) NOT NULL AUTO_INCREMENT,
payment_area varchar(100) NOT NULL COMMENT '',
payment_type tinyint(0) NOT NULL DEFAULT 1 COMMENT ' 1- 2-',
scheme_name varchar(100) NOT NULL COMMENT '',
welfare_type tinyint(1) NOT NULL COMMENT ' 1-2-3-',
is_use tinyint(1) NOT NULL DEFAULT 1 COMMENT ' 0- 1-',
remarks varchar(30) NULL DEFAULT '' COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_sss_tenant(tenant_key, welfare_type, is_use) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_sys_salary_item (
id bigint(0) NOT NULL COMMENT 'id',
name varchar(100) NOT NULL DEFAULT '' COMMENT '',
code varchar(100) NOT NULL DEFAULT '' COMMENT '',
system_type tinyint(0) NOT NULL DEFAULT 0 COMMENT '01',
category tinyint(0) NOT NULL DEFAULT 7 COMMENT '1234567',
item_type tinyint(0) NOT NULL DEFAULT 1 COMMENT '1',
use_default tinyint(0) NOT NULL DEFAULT 0 COMMENT '使0使1使',
use_in_employee_salary tinyint(0) NOT NULL DEFAULT 0 COMMENT '01',
rounding_mode tinyint(0) NOT NULL DEFAULT 1 COMMENT '1234',
pattern tinyint(0) NOT NULL DEFAULT 5 COMMENT '05',
value_type tinyint(0) NOT NULL DEFAULT 1 COMMENT '12',
datasource tinyint(0) NOT NULL DEFAULT 0 COMMENT '012345678',
formula_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
description varchar(1000) NOT NULL DEFAULT '' COMMENT '',
can_edit tinyint(0) NOT NULL DEFAULT 1 COMMENT '',
can_delete tinyint(0) NOT NULL DEFAULT 1 COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
data_type varchar(20) NOT NULL DEFAULT 'number' COMMENT 'stringnumber',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_sys_tax_rate_base (
id bigint(0) NOT NULL COMMENT '',
name varchar(100) NOT NULL DEFAULT '' COMMENT '',
system_type tinyint(0) NOT NULL DEFAULT 0 COMMENT '01',
description varchar(100) NOT NULL DEFAULT '' COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_sys_tax_rate_detail (
id bigint(0) NOT NULL COMMENT '',
base_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'hrsa_tax_rate_base的id',
index_num int(0) NOT NULL DEFAULT 0 COMMENT '',
income_lower_limit decimal(15, 5) NULL DEFAULT 0.00000 COMMENT '',
income_upper_limit decimal(15, 5) NULL DEFAULT 0.00000 COMMENT '',
duty_free_value decimal(15, 5) NULL DEFAULT 0.00000 COMMENT '-',
duty_free_rate decimal(15, 5) NULL DEFAULT 0.00000 COMMENT '-',
taxable_income_ll decimal(15, 5) NULL DEFAULT 0.00000 COMMENT '',
taxable_income_ul decimal(15, 5) NOT NULL DEFAULT 0.00000 COMMENT '',
tax_rate decimal(15, 5) NOT NULL DEFAULT 0.00000 COMMENT '',
tax_deduction decimal(15, 5) NOT NULL DEFAULT 0.00000 COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_base(tenant_key, base_id) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_tax_agent (
id bigint(0) NOT NULL AUTO_INCREMENT,
name varchar(100) NOT NULL DEFAULT '' COMMENT '',
description varchar(100) NOT NULL DEFAULT '' COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_tax_declaration (
id bigint(0) NOT NULL ,
salary_month datetime(0) NOT NULL DEFAULT '0000-01-01 00:00:00' COMMENT '',
tax_cycle datetime(0) NOT NULL DEFAULT '0000-01-01 00:00:00' COMMENT '',
tax_agent_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
description varchar(1000) NOT NULL DEFAULT '' COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_tenant_tax_cycle(tenant_key, tax_cycle) USING BTREE,
INDEX idx_tenant_salary_month(tenant_key, salary_month) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_tax_declaration_detail (
id bigint(0) NOT NULL COMMENT 'id',
tax_declaration_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
employee_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'id',
field_code varchar(100) NOT NULL DEFAULT '' COMMENT 'code',
field_value varchar(1000) NOT NULL DEFAULT '' COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant(tenant_key) USING BTREE,
INDEX idx_tax_declaration_id(tax_declaration_id) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_tax_rate_base (
id bigint(0) NOT NULL AUTO_INCREMENT,
name varchar(100) NOT NULL DEFAULT '' COMMENT '',
system_type tinyint(0) NOT NULL DEFAULT 0 COMMENT '01',
description varchar(100) NOT NULL DEFAULT '' COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_key(tenant_key) USING BTREE
) COMMENT = '' ;
CREATE TABLE hrsa_tax_rate_detail (
id bigint(0) NOT NULL AUTO_INCREMENT,
base_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'hrsa_tax_rate_base的id',
index_num int(0) NOT NULL DEFAULT 0 COMMENT '',
income_upper_limit decimal(15, 5) NULL DEFAULT 0.00000 COMMENT '',
income_lower_limit decimal(15, 5) NULL DEFAULT 0.00000 COMMENT '',
duty_free_value decimal(15, 5) NULL DEFAULT 0.00000 COMMENT '-',
duty_free_rate decimal(15, 5) NULL DEFAULT 0.00000 COMMENT '-',
taxable_income_ul decimal(15, 5) NULL DEFAULT 0.00000 COMMENT '',
taxable_income_ll decimal(15, 5) NOT NULL DEFAULT 0.00000 COMMENT '',
tax_rate decimal(15, 5) NOT NULL DEFAULT 0.00000 COMMENT '',
tax_deduction decimal(15, 5) NOT NULL DEFAULT 0.00000 COMMENT '',
create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '',
creator bigint(0) NOT NULL DEFAULT 0 COMMENT '',
delete_type int(0) NOT NULL DEFAULT 0 COMMENT '01',
tenant_key varchar(10) NOT NULL DEFAULT '' COMMENT 'ID',
PRIMARY KEY (id) USING BTREE,
INDEX idx_tenant_base(tenant_key, base_id) USING BTREE
) COMMENT = '' ;
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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, 1, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:57:46', 'number');
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, 1, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:57:57', 'number');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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;}else if({.}<=36000){0.03;}else if({.}<=144000){0.1;}else if({.}<=300000){0.2;}else if({.}<=420000){0.25;}else if({.}<=660000){0.3;}else if({.}<=960000){0.35;}else{0.45;}', 'if(salaryItem_addUpTaxableIncome<=0){0;}else if(salaryItem_addUpTaxableIncome<=36000){0.03;}else if(salaryItem_addUpTaxableIncome<=144000){0.1;}else if(salaryItem_addUpTaxableIncome<=300000){0.2;}else if(salaryItem_addUpTaxableIncome<=420000){0.25;}else if(salaryItem_addUpTaxableIncome<=660000){0.3;}else if(salaryItem_addUpTaxableIncome<=960000){0.35;}else{0.45;}', 1, 0, '2022-05-05 17:16:26', '2022-05-05 17:16:26');
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){0;}else if({.}<=144000){2520;}else if({.}<=300000){16920;}else if({.}<=420000){31920;}else if({.}<=660000){52920;}else if({.}<=960000){85920;}else{181920;}', 'if(salaryItem_addUpTaxableIncome<=36000){0;}else if(salaryItem_addUpTaxableIncome<=144000){2520;}else if(salaryItem_addUpTaxableIncome<=300000){16920;}else if(salaryItem_addUpTaxableIncome<=420000){31920;}else if(salaryItem_addUpTaxableIncome<=660000){52920;}else if(salaryItem_addUpTaxableIncome<=960000){85920;}else{181920;}', 1, 0, '2022-05-05 17:25:03', '2022-05-05 17:25:03');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
ALTER TABLE hrsa_salary_sob_item ADD COLUMN can_delete int(0) NULL COMMENT '01';