46 lines
1010 B
Transact-SQL
46 lines
1010 B
Transact-SQL
create table hrsa_tax_api_flow_receiver
|
|
(
|
|
id bigint primary key ,
|
|
create_time datetime,
|
|
update_time datetime,
|
|
creator bigint,
|
|
delete_type int default 0,
|
|
tenant_key nvarchar(10),
|
|
warn_config_id bigint not null,
|
|
employee_id bigint not null,
|
|
email nvarchar(100),
|
|
mobile nvarchar(50)
|
|
)
|
|
GO
|
|
|
|
create table hrsa_tax_api_flow_record
|
|
(
|
|
id bigint primary key ,
|
|
create_time datetime,
|
|
update_time datetime,
|
|
creator bigint,
|
|
delete_type int default 0,
|
|
tenant_key nvarchar(10),
|
|
tax_agent_id bigint not null,
|
|
tax_month datetime not null,
|
|
use_time datetime not null,
|
|
deduct int,
|
|
employee_id bigint not null,
|
|
business_type int not null,
|
|
result_status int not null
|
|
)
|
|
GO
|
|
|
|
create table hrsa_tax_api_flow_warn_config
|
|
(
|
|
id bigint primary key ,
|
|
create_time datetime,
|
|
update_time datetime,
|
|
creator bigint,
|
|
delete_type int default 0,
|
|
tenant_key nvarchar(10),
|
|
enable_warn int default 0 not null,
|
|
threshold int default 0 not null,
|
|
business_id bigint default '0' not null
|
|
)
|
|
GO |