From de2ac66f0b6c696213c67235af4a6f3cf51bfc36 Mon Sep 17 00:00:00 2001 From: liguonan <lign@zhiding.com.cn> Date: 星期一, 03 八月 2020 17:57:33 +0800 Subject: [PATCH] 修复在线用户判断逻辑 --- ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml index 191f1cc..9da14d8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml @@ -77,8 +77,7 @@ <select id="checkDeptNameUnique" resultMap="SysDeptResult"> <include refid="selectDeptVo"/> - where dept_name=#{deptName} and parent_id = #{parentId} - limit 1 + where dept_name=#{deptName} and parent_id = #{parentId} limit 1 </select> <insert id="insertDept" parameterType="SysDept"> -- Gitblit v1.9.2