diff --git a/renren-admin/src/main/resources/application.yml b/renren-admin/src/main/resources/application.yml index b0b26859..9c2d76cd 100644 --- a/renren-admin/src/main/resources/application.yml +++ b/renren-admin/src/main/resources/application.yml @@ -175,3 +175,8 @@ shangdongtong: secret: fCcaNBVkCosL_O3cnQVQ0brqUUBZu3ruXuISj5k8FP8 url: http://15.72.183.90:7008/sdt +# 催办相关配置 +reminders: + # 催办间隔天数 + interval: 7 + diff --git a/renren-admin/src/main/resources/db/V8.0__create_reminders.sql b/renren-admin/src/main/resources/db/V8.0__create_reminders.sql new file mode 100644 index 00000000..c16dd787 --- /dev/null +++ b/renren-admin/src/main/resources/db/V8.0__create_reminders.sql @@ -0,0 +1,18 @@ +CREATE TABLE `t_reminders` ( + `id` bigint NOT NULL COMMENT '主键ID', + `instance_id` bigint NOT NULL COMMENT '催办流程实例ID', + `process_task_id` bigint NOT NULL COMMENT '催办流程节点id', + `process_task_stats` int NULL COMMENT '催办流程节点当前状态(0:流程节点仍然阻塞,1:流程节点经办人已完成)', + `apply_number` varchar(16) NOT NULL COMMENT '流程申请单号', + `process_type` varchar(255) NULL COMMENT '流程类型', + `sponsor` json NULL COMMENT '催办发起人信息', + `recipient` json NULL COMMENT '催办接收人信息', + `reminders_time` datetime NOT NULL COMMENT '催办发起时间', + `content` longtext NULL COMMENT '催办通知的文案内容', + `additional1` varchar(255) NULL COMMENT '附加备用字段1', + `additional2` longtext NULL COMMENT '附加备用字段2', + `additional3` longtext NULL COMMENT '附加备用字段3', + PRIMARY KEY (`id`), + INDEX `instance_id_key`(`instance_id`) USING BTREE COMMENT '流程实例id', + INDEX `process_task_id_key`(`process_task_id`) USING BTREE COMMENT '流程节点id' +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '催办信息' ROW_FORMAT = DYNAMIC; \ No newline at end of file