DROP  TABLE IF EXISTS hrsa_acct_result_temp;
CREATE TABLE hrsa_acct_result_temp  (
  id bigint(0) NOT NULL AUTO_INCREMENT,
  calculate_key varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 1104 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�ʺ�������ʱ�洢��' ROW_FORMAT = Dynamic;


DROP  TABLE IF EXISTS hrsa_acctrecordlogs;
CREATE TABLE hrsa_acctrecordlogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;


DROP  TABLE IF EXISTS hrsa_acctrecordlogs_detail;
CREATE TABLE hrsa_acctrecordlogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;


DROP  TABLE IF EXISTS hrsa_add_up_deduction;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼ���Ů����',
  add_up_continuing_education varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼƼ�������',
  add_up_housing_loan_interest varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼ�ס��������Ϣ',
  add_up_housing_rent varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼ�ס�����',
  add_up_support_elderly varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '���ݲɼ�-�ۼ�ר��ӿ۳���' ROW_FORMAT = Dynamic;


DROP  TABLE IF EXISTS hrsa_add_up_situation;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼ������',
  add_up_subtraction varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼƼ�������',
  add_up_social_security_total varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼ��籣���˺ϼ�',
  add_up_accumulation_fund_total varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼƹ�������˺ϼ�',
  add_up_child_education varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼ���Ů����',
  add_up_continuing_education varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼƼ�������',
  add_up_housing_loan_interest varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼ�ס��������Ϣ',
  add_up_housing_rent varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼ�ס�����',
  add_up_support_elderly varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼ���������',
  add_up_enterprise_and_other varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼ���ҵ��ְҵ�������������',
  add_up_other_deduction varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '0.00000' COMMENT '�ۼ������۳�',
  add_up_tax_exempt_income varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼ���˰����',
  add_up_allowed_donation varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '�ۼ�׼��۳��ľ�����',
  add_up_advance_tax varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '���ݲɼ�-�ۼ������' ROW_FORMAT = Dynamic;


DROP  TABLE IF EXISTS hrsa_addupdeductionlogs;
CREATE TABLE hrsa_addupdeductionlogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_addupdeductionlogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_addupdeductionlogs_detail;
CREATE TABLE hrsa_addupdeductionlogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_addupsituationlogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_addupsituationlogs;
CREATE TABLE hrsa_addupsituationlogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_addupsituationlogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_addupsituationlogs_detail;
CREATE TABLE hrsa_addupsituationlogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_attend_quote
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_attend_quote;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '��������',
  salary_cycle varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT 'н������',
  description varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '�������ñ�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_attend_quote_data
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_attend_quote_data;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '�����������ݱ�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_attend_quote_data_value
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_attend_quote_data_value;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 171 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '������������ֵ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_attend_quote_field
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_attend_quote_field;
CREATE TABLE hrsa_attend_quote_field  (
  id bigint(0) NOT NULL AUTO_INCREMENT,
  field_name varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '���루��Ӧ����ģ���ֶΣ�',
  description varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 204 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '���������ֶα�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_attend_quote_sync_set
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_attend_quote_sync_set;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '��ǰ����',
  default_setting_content varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '���������ֶ����ñ�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_attendfieldlogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_attendfieldlogs;
CREATE TABLE hrsa_attendfieldlogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_attendfieldlogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_attendfieldlogs_detail;
CREATE TABLE hrsa_attendfieldlogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_attendfieldsetlogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_attendfieldsetlogs;
CREATE TABLE hrsa_attendfieldsetlogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_attendfieldsetlogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_attendfieldsetlogs_detail;
CREATE TABLE hrsa_attendfieldsetlogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_attendquotelogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_attendquotelogs;
CREATE TABLE hrsa_attendquotelogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_attendquotelogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_attendquotelogs_detail;
CREATE TABLE hrsa_attendquotelogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_bill_batch
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_bill_batch;
CREATE TABLE hrsa_bill_batch  (
  id bigint(0) NOT NULL AUTO_INCREMENT,
  bill_month varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣�ɷ�',
  fund_pay varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '������ɷ�',
  other_pay varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '���������ɷ�',
  accountant varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '������',
  remarks varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_month(tenant_key, bill_month) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 716069785334308888 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '������������' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_bill_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_bill_detail;
CREATE TABLE hrsa_bill_detail  (
  id bigint(0) NOT NULL AUTO_INCREMENT,
  employee_id bigint(0) NOT NULL COMMENT 'Ա��id',
  bill_month varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�����·�',
  supplementary_projects varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣�˺�',
  social_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '�籣����ID',
  social_payment_base_string varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣���ɻ���',
  fund_pay_org bigint(0) NULL DEFAULT NULL COMMENT '�����������֯',
  fund_account varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�������˺�',
  supplement_fund_account varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '���乫�����˺�',
  fund_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '�����𷽰�id',
  fund_payment_base_string varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�����������ɻ���',
  social_per_json varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣���˽ɷ���ϸ',
  social_per_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣���˺ϼ�',
  fund_per_json varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '��������˽ɷ���ϸ',
  fund_per_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '��������˺ϼ�',
  other_per_json varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�����������˽ɷ���ϸ',
  other_per_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�����������˺ϼ�',
  per_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '���˺ϼ�',
  social_com_json varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣��λ�ɷ���ϸ',
  social_com_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣��λ�ϼ�',
  fund_com_json varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '������λ�ɷ���ϸ',
  fund_com_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '������λ�ϼ�',
  other_com_json varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '����������λ�ɷ���ϸ',
  other_com_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '����������λ�ϼ�',
  com_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '��λ�ϼ�',
  social_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣�ϼ�',
  fund_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '������ϼ�',
  other_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '���������ϼ�',
  total varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_month(tenant_key, bill_month, employee_id) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 716414207292989579 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '����������ϸ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_bill_detail_temp
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_bill_detail_temp;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�����·�',
  supplementary_projects varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣�˺�',
  social_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '�籣����ID',
  social_payment_base_string varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣���ɻ���',
  fund_pay_org bigint(0) NULL DEFAULT NULL COMMENT '�����������֯',
  fund_account varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�������˺�',
  supplement_fund_account varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '���乫�����˺�',
  fund_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '�����𷽰�id',
  fund_payment_base_string varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�����������ɻ���',
  social_per_json varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣���˽ɷ���ϸ',
  social_per_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣���˺ϼ�',
  fund_per_json varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '��������˽ɷ���ϸ',
  fund_per_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '��������˺ϼ�',
  other_per_json varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�����������˽ɷ���ϸ',
  other_per_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�����������˺ϼ�',
  per_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '���˺ϼ�',
  social_com_json varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣��λ�ɷ���ϸ',
  social_com_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣��λ�ϼ�',
  fund_com_json varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '������λ�ɷ���ϸ',
  fund_com_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '������λ�ϼ�',
  other_com_json varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '����������λ�ɷ���ϸ',
  other_com_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '����������λ�ϼ�',
  com_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '��λ�ϼ�',
  social_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣�ϼ�',
  fund_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '������ϼ�',
  other_sum varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '���������ϼ�',
  total varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_month(tenant_key, bill_month, employee_id) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 54 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '����������ϸ��ʱ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_bill_inspect
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_bill_inspect;
CREATE TABLE hrsa_bill_inspect  (
  id bigint(0) NOT NULL AUTO_INCREMENT,
  employee_id bigint(0) NOT NULL COMMENT 'Ա��id',
  bill_month varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '�˵��·�',
  payment_status tinyint(1) NOT NULL COMMENT '����״̬ 0-�������� 1-����',
  supplementary_month varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�����·�',
  supplementary_projects varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_month(tenant_key, bill_month, employee_id) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 714865227371241478 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '��������ϸ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_check_result
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_check_result;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�ʺ�����У���쳣' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_check_result_record
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_check_result_record;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�ʺ���У���쳣��ϸ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_ck_result_detail_temp
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_ck_result_detail_temp;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  calculate_key varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�ʺ�����У���쳣��ϸ��ʱ�洢' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_excel_acct_result
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_excel_acct_result;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '����excel����Ľ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_formula
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_formula;
CREATE TABLE hrsa_formula  (
  id bigint(0) NOT NULL,
  name varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  description varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '��ע',
  module varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  use_for varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '��;',
  reference_type varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  return_type varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  validate_type varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'У������',
  extend_param varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '��չ����',
  formula varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��ʽ����',
  formulaRunScript varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci 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
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_formula_var
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_formula_var;
CREATE TABLE hrsa_formula_var  (
  id bigint(0) NOT NULL,
  name varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  formula_id bigint(0) NOT NULL COMMENT '��ʽid',
  field_id varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ�id',
  field_name varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ�����',
  field_type varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ����ͣ�number,string',
  source varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci 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
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_fund_archives
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_fund_archives;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '��������ʼ������',
  fund_end_time varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '��������������',
  fund_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '�����𷽰�id',
  fund_account varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�������˺�',
  supplement_fund_account varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 53 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'Ա�������𵵰���' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_insurance_category
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_insurance_category;
CREATE TABLE hrsa_insurance_category  (
  id bigint(0) NOT NULL ,
  insurance_name varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_ic_tenant(tenant_key, delete_type, welfare_type, insurance_name) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 9012 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '������Ϣ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_other_archives
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_other_archives;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '����������ʼ������',
  other_end_time varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 52 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'Ա����������������' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_other_deduction
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_other_deduction;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '0.00000' COMMENT '��ҵ��������',
  tax_delay_endowment_insurance varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '˰�����ϱ���',
  other_deduction varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '����',
  deduction_allowed_donation varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '���ݲɼ�-������˰�۳���' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_otherdeductionlogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_otherdeductionlogs;
CREATE TABLE hrsa_otherdeductionlogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_otherdeductionlogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_otherdeductionlogs_detail;
CREATE TABLE hrsa_otherdeductionlogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_acct_emp
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_acct_emp;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 108 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�ʺ�����Աȷ�ϱ�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_acct_record
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_acct_record;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 84 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�ʺ����¼' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_acct_result
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_acct_result;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 1104 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�ʺ�������' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_archive
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_archive;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�ʵ�����' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_archive_dimission
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_archive_dimission;
CREATE TABLE hrsa_salary_archive_dimission  (
  id bigint(0) NOT NULL AUTO_INCREMENT,
  dimission_time_interval varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�ʵ�����ְʱ�α�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_archive_item
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_archive_item;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '����ԭ��',
  salary_item_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'н����Ŀid',
  item_value varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT 'н����Ŀֵ',
  description varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 223 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�ʵ���н����Ŀ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_archive_tax_agent
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_archive_tax_agent;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 71 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�ʵ�����˰�۽������˱�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_item
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_item;
CREATE TABLE hrsa_salary_item  (
  id bigint(0) NOT NULL,
  name varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '����',
  code varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '���',
  system_type tinyint(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϵͳ��Ŀ��0���Զ�����Ŀ��1��ϵͳ��Ŀ',
  sys_salary_item_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ϵͳн����Ŀ��id',
  category tinyint(0) NOT NULL DEFAULT 7 COMMENT '�������ԡ�1��˰ǰ���2��˰ǰ���3��˰����4��˰����5��ͳ���6��˰���7��������Ŀ',
  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 'н�ʵ������á�0��н�ʵ���δ���á�1��н�ʵ�������',
  rounding_mode tinyint(0) NOT NULL DEFAULT 1 COMMENT '��λ����1���������롢2��ԭʼ���ݡ�3���������롢4����������',
  pattern tinyint(0) NOT NULL DEFAULT 5 COMMENT '������С��λ����0��5��',
  value_type tinyint(0) NOT NULL DEFAULT 1 COMMENT 'ȡֵ��ʽ��1���ֶ����롢2����ʽ',
  datasource tinyint(0) NOT NULL DEFAULT 0 COMMENT '������Դ��0�����롢1���Զ��幫ʽ��2��н����Ŀ��3��Ա��������Ϣ��4��н�ʵ�����5�������ۼ������6���ۼ�ר��ӿ۳���7���籣������8�������۳�',
  formula_id bigint(0) NOT NULL DEFAULT 0 COMMENT '��ʽid',
  description varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci 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 '�Ƿ���ɾ����0��δɾ����1����ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'number' COMMENT '�ֶ����͡�string���ַ���number������',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant(tenant_key) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 134 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'н����Ŀ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_send
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_send;
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 '�Ƿ���ɾ����0��δɾ����1����ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '���ʵ����ű�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_send_info
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_send_info;
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 '����״̬��0��δ���͡�1���ѷ��͡�2���ѳ���',
  send_time datetime(0) NULL DEFAULT NULL,
  salary_template text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '���ʵ�������Ϣ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_sob
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_sob;
CREATE TABLE hrsa_salary_sob  (
  id bigint(0) NOT NULL AUTO_INCREMENT,
  name varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant(tenant_key) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 122 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�����ױ�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_sob_adjust_rule
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_sob_adjust_rule;
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 '����Ч����֮ǰ��н��ε�����1��ȡ��нǰн�ʡ�2��ȡ��н��н�ʡ�3��ƽ��ֵ��4���ֶμ�н',
  after_adjustment_type tinyint(0) NOT NULL DEFAULT 1 COMMENT '����Ч����֮���н��ε�����1��ȡ��нǰн�ʡ�2��ȡ��н��н�ʡ�3��ƽ��ֵ��4���ֶμ�н',
  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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н�����׵ĵ�н��н�����' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_sob_check_rule
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_sob_check_rule;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '����',
  formula_id bigint(0) NOT NULL DEFAULT 0 COMMENT '��ʽid',
  description varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н������У������' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_sob_default_item
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_sob_default_item;
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 '�ܷ�༭��0�����ܱ༭��1���ܱ༭',
  can_delete tinyint(0) NOT NULL DEFAULT 1 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н������Ĭ����ӵ�н����Ŀ' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_sob_emp_field
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_sob_emp_field;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�ֶ�CODE',
  sorted_index int(0) NOT NULL DEFAULT 0 COMMENT '�����ֶ�',
  can_delete tinyint(0) NOT NULL DEFAULT 1 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 797 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н������Ա����Ϣ�ֶ�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_sob_item
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_sob_item;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 4800 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н������н����Ŀ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_sob_item_group
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_sob_item_group;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '����',
  sorted_index int(0) NOT NULL DEFAULT 0,
  description varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 1652165865009 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н������н����Ŀ����' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_sob_range
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_sob_range;
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 '�������͡�1����Ա��2�����š�3����λ',
  target_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  employee_status tinyint(0) NOT NULL DEFAULT 0 COMMENT '��Ա״̬��0��ȫ����1����ְ��2����ְ',
  include_type tinyint(0) NOT NULL DEFAULT 1 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 52 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н��������Ա��Χ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salary_template
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salary_template;
CREATE TABLE hrsa_salary_template  (
  id bigint(0) NOT NULL AUTO_INCREMENT,
  name varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '����',
  salary_sob_id bigint(0) NOT NULL COMMENT 'н�����ױ������id',
  use_type int(0) NOT NULL DEFAULT 0 COMMENT 'ʹ�����͡�0����ͨ��1��Ĭ��',
  description varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '��ע',
  email_status int(0) NOT NULL DEFAULT 0 COMMENT '���俪��״̬��0���ء�1����',
  send_email_id bigint(0) NOT NULL DEFAULT 0 COMMENT '���͵�ַ:���������˺�id',
  msg_status int(0) NOT NULL DEFAULT 0 COMMENT '��Ϣ���Ŀ���״̬��0���ء�1����',
  theme varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '����',
  background varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  text_content varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�ı�����',
  text_content_position int(0) NOT NULL DEFAULT 0 COMMENT '�ı�������ʾλ�á�1��н����Ŀǰ��2��н����Ŀ��',
  salary_item_null_status int(0) NOT NULL DEFAULT 0 COMMENT 'н����Ϊ��ʱ����ʾ����״̬��0���ء�1����',
  salary_item_zero_status int(0) NOT NULL DEFAULT 0 COMMENT 'н����Ϊ0ʱ����ʾ����״̬��0���ء�1����',
  salary_item_setting text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '���ʵ�ģ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salaryitemlogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salaryitemlogs;
CREATE TABLE hrsa_salaryitemlogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salaryitemlogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salaryitemlogs_detail;
CREATE TABLE hrsa_salaryitemlogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salarysendlogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salarysendlogs;
CREATE TABLE hrsa_salarysendlogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salarysendlogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salarysendlogs_detail;
CREATE TABLE hrsa_salarysendlogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salarysoblogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salarysoblogs;
CREATE TABLE hrsa_salarysoblogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salarysoblogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salarysoblogs_detail;
CREATE TABLE hrsa_salarysoblogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salarytemplatelogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salarytemplatelogs;
CREATE TABLE hrsa_salarytemplatelogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_salarytemplatelogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_salarytemplatelogs_detail;
CREATE TABLE hrsa_salarytemplatelogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_scheme_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_scheme_detail;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '��Ч����(��)',
  expiration_time varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '��������',
  lower_limit varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '��������',
  payment_proportion varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '���ɱ���',
  fixed_cost varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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 '�Ƿ���ɾ����0��δɾ����1����ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 69 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '�籣������ϸ����' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_siaccountlogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_siaccountlogs;
CREATE TABLE hrsa_siaccountlogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_siaccountlogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_siaccountlogs_detail;
CREATE TABLE hrsa_siaccountlogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_siarchiveslogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_siarchiveslogs;
CREATE TABLE hrsa_siarchiveslogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_siarchiveslogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_siarchiveslogs_detail;
CREATE TABLE hrsa_siarchiveslogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_sicategorylogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_sicategorylogs;
CREATE TABLE hrsa_sicategorylogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_sicategorylogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_sicategorylogs_detail;
CREATE TABLE hrsa_sicategorylogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_sischemelogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_sischemelogs;
CREATE TABLE hrsa_sischemelogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_sischemelogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_sischemelogs_detail;
CREATE TABLE hrsa_sischemelogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_sob_default_emp_field
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_sob_default_emp_field;
CREATE TABLE hrsa_sob_default_emp_field  (
  id bigint(0) NOT NULL COMMENT '����id',
  field_code varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�ֶ�CODE',
  sorted_index int(0) NOT NULL DEFAULT 0 COMMENT '�����ֶ�',
  can_delete 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'н������Ĭ��Ա����Ϣ�ֶ�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_sob_default_item_group
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_sob_default_item_group;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '����',
  sorted_index int(0) NOT NULL DEFAULT 0,
  description varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'н������Ĭ�ϵ�н����Ŀ����' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_social_archives
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_social_archives;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣��ʼ������',
  social_end_time varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '�籣��������',
  social_scheme_id bigint(0) NULL DEFAULT NULL COMMENT '�籣����ID',
  social_account varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 57 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'Ա���籣������' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_social_security_scheme
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_social_security_scheme;
CREATE TABLE hrsa_social_security_scheme  (
  id bigint(0) NOT NULL AUTO_INCREMENT,
  payment_area varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '����',
  payment_type tinyint(0) NOT NULL DEFAULT 1 COMMENT '�������� 1-���� 2-ũ��',
  scheme_name varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_sss_tenant(tenant_key, welfare_type, is_use) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '�籣��������' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_sys_salary_item
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_sys_salary_item;
CREATE TABLE hrsa_sys_salary_item  (
  id bigint(0) NOT NULL COMMENT '����id',
  name varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '����',
  code varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '���',
  system_type tinyint(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϵͳ��Ŀ��0���Զ�����Ŀ��1��ϵͳ��Ŀ',
  category tinyint(0) NOT NULL DEFAULT 7 COMMENT '�������ԡ�1��˰ǰ���2��˰ǰ���3��˰����4��˰����5��ͳ���6��˰���7��������Ŀ',
  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 'н�ʵ������á�0��н�ʵ���δ���á�1��н�ʵ�������',
  rounding_mode tinyint(0) NOT NULL DEFAULT 1 COMMENT '��λ����1���������롢2��ԭʼ���ݡ�3���������롢4����������',
  pattern tinyint(0) NOT NULL DEFAULT 5 COMMENT '������С��λ����0��5��',
  value_type tinyint(0) NOT NULL DEFAULT 1 COMMENT 'ȡֵ��ʽ��1���ֶ����롢2����ʽ',
  datasource tinyint(0) NOT NULL DEFAULT 0 COMMENT '������Դ��0�����롢1���Զ��幫ʽ��2��н����Ŀ��3��Ա��������Ϣ��4��н�ʵ�����5�������ۼ������6���ۼ�ר��ӿ۳���7���籣������8�������۳�',
  formula_id bigint(0) NOT NULL DEFAULT 0 COMMENT '��ʽid',
  description varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci 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 '�Ƿ���ɾ����0��δɾ����1����ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'number' COMMENT '�ֶ����͡�string���ַ���number������',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'ϵͳ����н����Ŀ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_sys_tax_rate_base
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_sys_tax_rate_base;
CREATE TABLE hrsa_sys_tax_rate_base  (
  id bigint(0) NOT NULL COMMENT '����',
  name varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '����',
  system_type tinyint(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϵͳĬ�ϵġ�0���Զ��塢1��ϵͳĬ��',
  description varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'ϵͳ���õ�˰�ʱ�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_sys_tax_rate_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_sys_tax_rate_detail;
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 '�Ƿ���ɾ����0��δɾ����1����ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant_base(tenant_key, base_id) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'ϵͳ���õ�˰����ϸ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_tax_agent
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_tax_agent;
CREATE TABLE hrsa_tax_agent  (
  id bigint(0) NOT NULL AUTO_INCREMENT,
  name varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '����',
  description varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '��˰�۽������˱�' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_tax_declaration
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_tax_declaration;
CREATE TABLE hrsa_tax_declaration  (
  id bigint(0) NOT NULL AUTO_INCREMENT,
  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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB AUTO_INCREMENT = 1652088770683 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '��˰�걨��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_tax_declaration_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_tax_declaration_detail;
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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�ֶ�code',
  field_value varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '��˰�걨������' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_tax_rate_base
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_tax_rate_base;
CREATE TABLE hrsa_tax_rate_base  (
  id bigint(0) NOT NULL AUTO_INCREMENT,
  name varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '����',
  system_type tinyint(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϵͳĬ�ϵġ�0���Զ��塢1��ϵͳĬ��',
  description varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1646130001371 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '˰������' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_tax_rate_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_tax_rate_detail;
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 '�Ƿ���ɾ����0��δɾ����1����ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '�⻧ID',
  PRIMARY KEY (id) USING BTREE,
  INDEX idx_tenant_base(tenant_key, base_id) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1646130341052 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '˰����ϸ��' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_taxagentlogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_taxagentlogs;
CREATE TABLE hrsa_taxagentlogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_taxagentlogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_taxagentlogs_detail;
CREATE TABLE hrsa_taxagentlogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_taxdeclalogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_taxdeclalogs;
CREATE TABLE hrsa_taxdeclalogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_taxdeclalogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_taxdeclalogs_detail;
CREATE TABLE hrsa_taxdeclalogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_taxratelogs
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_taxratelogs;
CREATE TABLE hrsa_taxratelogs  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  date datetime(0) NOT NULL COMMENT '����ʱ��',
  device varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ն���Ϣ',
  operator bigint(0) NOT NULL DEFAULT -1 COMMENT '������',
  operatorname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����������',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  targetid bigint(0) NOT NULL DEFAULT -1 COMMENT '����Ŀ��id',
  targetname text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����Ŀ������',
  modulename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ģ��',
  functionname varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���񣨷�����',
  interfacename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���ʽӿ���',
  requesturl varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ȫ·��',
  requesturi varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�����ַ',
  operatetype varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  operatetypename varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������������',
  operatedesc varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '������ϸ˵��',
  params longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�漰����ز���',
  belongmainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������uuid',
  clientip varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����IP',
  groupid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  groupnamelabel varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�������',
  redoservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  redocontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  cancelservice varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ҵ��ӿ�',
  cancelcontext longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  totalruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '������ʱ��',
  mainruntime bigint(0) NOT NULL DEFAULT 0 COMMENT '����������ʱ��',
  result varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н����ʶ',
  fromterminal varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����pc web',
  resultdesc text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���н������',
  old_content varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ԭ������',
  link_type varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������',
  link_id bigint(0) NOT NULL DEFAULT 0 COMMENT '����id',
  old_link_id bigint(0) NOT NULL DEFAULT 0 COMMENT 'ԭ������id',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE,
  INDEX index_targetid(targetid) USING BTREE,
  INDEX index_modulename(modulename) USING BTREE,
  INDEX index_functionname(functionname) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for hrsa_taxratelogs_detail
-- ----------------------------
DROP  TABLE IF EXISTS hrsa_taxratelogs_detail;
CREATE TABLE hrsa_taxratelogs_detail  (
  id bigint(0) NOT NULL COMMENT 'ID',
  uuid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��־UUID',
  mainid varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  dataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����id',
  belongdataid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��������id',
  tablename varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����',
  tablenamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '����labelid',
  tablenamedesc varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '��Ӧ���ݿ�ı�',
  fieldname varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  fieldnamelabelid varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '-1' COMMENT '�ֶ���labelid',
  newvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º��ֵ',
  oldvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ��ֵ',
  newrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '���º����ʾֵ',
  oldrealvalue longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '����ǰ����ʾֵ',
  fielddesc varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�ֶ���',
  showorder int(0) NOT NULL COMMENT '�ֶ���',
  create_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '����ʱ��',
  update_time datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '�޸�ʱ��',
  creator bigint(0) NOT NULL DEFAULT -1 COMMENT '������id',
  delete_type int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ�ɾ��',
  tenant_key varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '�⻧id',
  isdetail int(0) NOT NULL DEFAULT 0 COMMENT '�Ƿ���ϸ�ֶ�',
  PRIMARY KEY (id) USING BTREE,
  INDEX index_tenant_key(tenant_key) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;




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, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:57:46', 'number');
INSERT INTO hrsa_sys_salary_item(id, name, code, system_type, category, item_type, use_default, use_in_employee_salary, rounding_mode, pattern, value_type, datasource, formula_id, description, can_edit, can_delete, creator, delete_type, tenant_key, create_time, update_time, data_type) VALUES (674861768948531201, '��λ����', 'postSalary', 1, 1, 1, 1, 0, 2, 2, 1, 0, 0, '', 1, 1, 0, 0, 'all_teams', '2022-03-28 10:33:00', '2022-05-10 15:57:57', 'number');
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){{н����Ŀ.��ǰ�ۼ�Ӧ��˰���ö�}<=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(<=36000){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 '�Ƿ��ɾ����0������ɾ����1����ɾ��' AFTER tenant_key;