1
0
forked from aixan/RuoYi-Vue

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

This commit is contained in:
RuoYi
2022-08-03 16:48:55 +08:00
parent aee5d417ed
commit e0cd5381e2
3 changed files with 9 additions and 9 deletions

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">