From eb97a398fe3742323a8d1ec1a5867bf91415051a Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 12 Dec 2022 10:04:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?sql=E6=96=87=E4=BB=B6=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/renren/modules/activiti/service/ActHistoryService.java | 2 +- renren-admin/src/main/resources/db/V8.3__add_table.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/renren-admin/src/main/java/io/renren/modules/activiti/service/ActHistoryService.java b/renren-admin/src/main/java/io/renren/modules/activiti/service/ActHistoryService.java index c6b90442..e41e9f5d 100644 --- a/renren-admin/src/main/java/io/renren/modules/activiti/service/ActHistoryService.java +++ b/renren-admin/src/main/java/io/renren/modules/activiti/service/ActHistoryService.java @@ -425,7 +425,7 @@ public class ActHistoryService { } } } else { - logger.info("不存在正在进行流程节点"); + logger.info("不存在正在进行流程节点:" + index.getProcessInstanceId()); index.setAllowReminders(Boolean.FALSE); index.setDoneReminders(Boolean.FALSE); index.setNextRemindersDays(0); diff --git a/renren-admin/src/main/resources/db/V8.3__add_table.sql b/renren-admin/src/main/resources/db/V8.3__add_table.sql index 601dad11..5d761760 100644 --- a/renren-admin/src/main/resources/db/V8.3__add_table.sql +++ b/renren-admin/src/main/resources/db/V8.3__add_table.sql @@ -8,7 +8,7 @@ create TABLE `sys_audit_team` ( `name` longtext NOT NULL comment '审核组名称', `member` json NOT NULL comment '审核组成员id数组', `index` varchar(255) NULL comment '审核组索引', - PRIMARY KEY (`id`), - INDEX `name`(`name`) USING BTREE comment '审核组名称索引' + PRIMARY KEY (`id`) ) comment = '流程审核组组员'; +alter table `sys_audit_team` ADD INDEX `name`(`name`) USING BTREE comment '审核组名称索引'; SET FOREIGN_KEY_CHECKS = 1; \ No newline at end of file From 3147d1ea2ef01ef666882617a9d6a64ab8920588 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 12 Dec 2022 10:04:34 +0800 Subject: [PATCH 2/2] .. --- renren-admin/src/main/resources/db/V8.3__add_table.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renren-admin/src/main/resources/db/V8.3__add_table.sql b/renren-admin/src/main/resources/db/V8.3__add_table.sql index 5d761760..c27247b4 100644 --- a/renren-admin/src/main/resources/db/V8.3__add_table.sql +++ b/renren-admin/src/main/resources/db/V8.3__add_table.sql @@ -10,5 +10,5 @@ create TABLE `sys_audit_team` ( `index` varchar(255) NULL comment '审核组索引', PRIMARY KEY (`id`) ) comment = '流程审核组组员'; -alter table `sys_audit_team` ADD INDEX `name`(`name`) USING BTREE comment '审核组名称索引'; +alter table `sys_audit_team` ADD INDEX `name_`(`name`) USING BTREE comment '审核组名称索引'; SET FOREIGN_KEY_CHECKS = 1; \ No newline at end of file