From 46b67fef7a0f4b6dfc659de47bc5d885acdd09f5 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 18 六月 2021 15:28:43 +0800 Subject: [PATCH] add 增加 ServicePlusImpl 自动以实现类 重写移除事务注解方法 防止多数据源失效 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java index c3fdf83..ab39319 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java @@ -56,7 +56,7 @@ { SysDept d = (SysDept) it.next(); if (d.getDeptId().intValue() == deptId - || ArrayUtils.contains(StrUtil.split(d.getAncestors(), ","), deptId + "")) + || ArrayUtils.contains(StrUtil.splitToArray(d.getAncestors(), ","), deptId + "")) { it.remove(); } -- Gitblit v1.9.3