Pre Merge pull request !257 from 學不會/N/A

This commit is contained in:
學不會 2022-05-01 12:23:56 +00:00 committed by Gitee
commit 20b2267218
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -82,7 +82,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
where dept_name=#{deptName} and parent_id = #{parentId} and del_flag = '0' limit 1
</select>
<insert id="insertDept" parameterType="SysDept">