|
@@ -16,7 +16,7 @@ create table if not exists core_reminder_configuration
|
|
|
create table if not exists core_reminder_configuration_role(
|
|
create table if not exists core_reminder_configuration_role(
|
|
|
config_id bigint not null,
|
|
config_id bigint not null,
|
|
|
target_role_id bigint not null,
|
|
target_role_id bigint not null,
|
|
|
- target_role_name bigint not null,
|
|
|
|
|
|
|
+ target_role_name varchar(125) not null,
|
|
|
primary key (config_id, target_role_id)
|
|
primary key (config_id, target_role_id)
|
|
|
)
|
|
)
|
|
|
comment '短信提醒配置角色关联表';
|
|
comment '短信提醒配置角色关联表';
|
|
@@ -56,8 +56,9 @@ create table if not exists core_reminder_schedule(
|
|
|
org_guid varchar(125) null comment '机构guid',
|
|
org_guid varchar(125) null comment '机构guid',
|
|
|
task_id varchar(125) null comment '任务id',
|
|
task_id varchar(125) null comment '任务id',
|
|
|
task_name varchar(225) null comment '任务名称',
|
|
task_name varchar(225) null comment '任务名称',
|
|
|
|
|
+ recipient varchar(50) null comment '目标接收者(手机号码或用户ID)',
|
|
|
|
|
+ recipient_id varchar(50) not null comment '目标接收者id',
|
|
|
recipient_name varchar(125) not null comment '目标接收者名称',
|
|
recipient_name varchar(125) not null comment '目标接收者名称',
|
|
|
- recipient varchar(50) not null comment '目标接收者(手机号码或用户ID)',
|
|
|
|
|
scheduled_time datetime null comment '计划发送时间',
|
|
scheduled_time datetime null comment '计划发送时间',
|
|
|
status varchar(20) not null comment '任务状态(未发送、已发送、发送失败等)',
|
|
status varchar(20) not null comment '任务状态(未发送、已发送、发送失败等)',
|
|
|
sent_time datetime null comment '实际发送时间(若已发送)',
|
|
sent_time datetime null comment '实际发送时间(若已发送)',
|