LIVE_YE 2 年之前
父节点
当前提交
adc836d993
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml

+ 1 - 1
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml

@@ -160,7 +160,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 		<include refid="selectDeptVo"/>
 		where d.del_flag = '0'
 		<if test="deptId != null and deptId != 0">
-			AND (dept_id = #{deptId} or ancestors like concat('%', #{deptId}, '%')
+			AND (dept_id = #{deptId} or ancestors like concat('%', #{deptId}, '%'))
 		</if>
 		<if test="parentId != null and parentId != 0">
 			AND parent_id = #{parentId}