From f1a4b363c60b9592b1b8807274c35233b1187928 Mon Sep 17 00:00:00 2001
From: 梁剑锋 <1822213252@qq.com>
Date: 星期二, 23 八月 2022 16:16:23 +0800
Subject: [PATCH] !219 修复点击删除后再点取消控制台报错 * 修复点击删除后再点取消控制台报错,并修改样式 * 修复取消控制台报错

---
 ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
index 35bd1ce..00493be 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -37,17 +37,4 @@
         order by d.parent_id, d.order_num
     </select>
 
-    <update id="updateDeptChildren" parameterType="java.util.List">
-        update sys_dept set ancestors =
-        <foreach collection="depts" item="item" index="index"
-                 separator=" " open="case dept_id" close="end">
-            when #{item.deptId} then #{item.ancestors}
-        </foreach>
-        where dept_id in
-        <foreach collection="depts" item="item" index="index"
-                 separator="," open="(" close=")">
-            #{item.deptId}
-        </foreach>
-    </update>
-
 </mapper>

--
Gitblit v1.9.3