From 657b6a9fae9732fd370923cfba2445b840f9d488 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 15 二月 2022 12:07:20 +0800
Subject: [PATCH] update 使用 hutool Dict 优化 JsonUtils 防止类型解析异常

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
index 8e9d1d7..b1ce3f8 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -30,9 +30,9 @@
     <select id="selectDeptList" parameterType="SysDept" resultMap="SysDeptResult">
         <include refid="selectDeptVo"/>
         where d.del_flag = '0'
-		<if test="deptId != null and deptId != 0">
-			AND dept_id = #{deptId}
-		</if>
+        <if test="deptId != null and deptId != 0">
+            AND dept_id = #{deptId}
+        </if>
         <if test="parentId != null and parentId != 0">
             AND parent_id = #{parentId}
         </if>
@@ -42,10 +42,6 @@
         <if test="status != null and status != ''">
             AND status = #{status}
         </if>
-<!--        &lt;!&ndash; 鏁版嵁鑼冨洿杩囨护 &ndash;&gt;-->
-<!--        <if test="params.dataScope != null and params.dataScope != ''">-->
-<!--            AND ( ${params.dataScope} )-->
-<!--        </if>-->
         order by d.parent_id, d.order_num
     </select>
 

--
Gitblit v1.9.3