From a809e23874eb65c08ccf2052d452e966aaf2f04a Mon Sep 17 00:00:00 2001 From: wangliwen Date: Wed, 30 Nov 2022 12:41:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=82=AC=E5=8A=9E=E8=A1=A8=E7=9A=84=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E4=B8=8E=E9=85=8D=E7=BD=AE=E9=A1=B9=E7=9A=84=E5=8A=A0?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 5 +++++ .../resources/db/V8.0__create_reminders.sql | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 renren-admin/src/main/resources/db/V8.0__create_reminders.sql 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