Browse Source

用户\项目模块修改

anderx 2 years ago
parent
commit
6176f42124
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml

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

@@ -99,7 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
 	<select id="checkDeptNameUnique" resultMap="SysDeptResult">
 	    <include refid="selectDeptVo"/>
-		where dept_name=#{deptName} and parent_id = #{parentId} and del_flag = '0' limit 1
+		where d.dept_name=#{deptName} and d.parent_id = #{parentId} and d.del_flag = '0' limit 1
 	</select>
 	<select id="getCompany" resultMap="SysDeptResult">
 		<include refid="selectDeptVo"/>