数据逻辑删除不进行唯一验证

This commit is contained in:
RuoYi
2022-08-03 15:54:58 +08:00
parent d5f4bba084
commit d6db5963d5
3 changed files with 9 additions and 9 deletions

View File

@@ -68,7 +68,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>
<select id="selectDeptById" parameterType="Long" resultMap="SysDeptResult">