RuoYi
2020-09-17 15a4a5350d6db5b158aef28e9eb65fe950af18e2
ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -77,7 +77,7 @@
   
   <select id="checkDeptNameUnique" resultMap="SysDeptResult">
       <include refid="selectDeptVo"/>
      where dept_name=#{deptName} and parent_id = #{parentId}
      where dept_name=#{deptName} and parent_id = #{parentId} limit 1
   </select>
    
    <insert id="insertDept" parameterType="SysDept">