|
|
@ -105,7 +105,7 @@ |
|
|
|
|
|
|
|
|
<select id="checkDeptNameUnique" resultMap="SysDeptResult"> |
|
|
<select id="checkDeptNameUnique" resultMap="SysDeptResult"> |
|
|
<include refid="selectDeptVo"/> |
|
|
<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> |
|
|
|
|
|
|
|
|
<insert id="insertDept" parameterType="com.inspect.system.base.domain.SysDept"> |
|
|
<insert id="insertDept" parameterType="com.inspect.system.base.domain.SysDept"> |
|
|
|