!54 update ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml.

Merge pull request !54 from yongdaidai/N/A
This commit is contained in:
若依 2020-07-31 16:50:28 +08:00 committed by Gitee
commit 8deacb702e
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="checkDeptNameUnique" resultMap="SysDeptResult"> <select id="checkDeptNameUnique" resultMap="SysDeptResult">
<include refid="selectDeptVo"/> <include refid="selectDeptVo"/>
where dept_name=#{deptName} and parent_id = #{parentId} where dept_name=#{deptName} and parent_id = #{parentId}
limit 1
</select> </select>
<insert id="insertDept" parameterType="SysDept"> <insert id="insertDept" parameterType="SysDept">