From d009afa03023ce9e2c450fc7c0652de46b270b60 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Tue, 13 Dec 2022 09:15:44 +0800 Subject: [PATCH] =?UTF-8?q?sql=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/renren/modules/activiti/service/ActTaskService.java | 1 + .../db/{V8.3__tb_fuse_add_col.sql => V8.4__tb_fuse_add_col.sql} | 0 2 files changed, 1 insertion(+) rename renren-admin/src/main/resources/db/{V8.3__tb_fuse_add_col.sql => V8.4__tb_fuse_add_col.sql} (100%) diff --git a/renren-admin/src/main/java/io/renren/modules/activiti/service/ActTaskService.java b/renren-admin/src/main/java/io/renren/modules/activiti/service/ActTaskService.java index e2a759ff..c3dcdbd8 100644 --- a/renren-admin/src/main/java/io/renren/modules/activiti/service/ActTaskService.java +++ b/renren-admin/src/main/java/io/renren/modules/activiti/service/ActTaskService.java @@ -151,6 +151,7 @@ public class ActTaskService extends BaseServiceImpl { .stream() .map(index -> index.getMember()) .filter(Objects::nonNull) + .filter(index -> !index.isEmpty()) .flatMap(index -> index.stream()) .map(index -> (String) index.get("id")) .filter(index -> !userId.equals(index)) // 过滤非本人 diff --git a/renren-admin/src/main/resources/db/V8.3__tb_fuse_add_col.sql b/renren-admin/src/main/resources/db/V8.4__tb_fuse_add_col.sql similarity index 100% rename from renren-admin/src/main/resources/db/V8.3__tb_fuse_add_col.sql rename to renren-admin/src/main/resources/db/V8.4__tb_fuse_add_col.sql