!54 update ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml.
Merge pull request !54 from yongdaidai/N/A
This commit is contained in:
		
						commit
						8deacb702e
					
				@ -78,6 +78,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}
 | 
			
		||||
              limit 1
 | 
			
		||||
	</select>
 | 
			
		||||
    
 | 
			
		||||
    <insert id="insertDept" parameterType="SysDept">
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user