src/main/resources/mapper/system/SysDeptMapper.xml
@@ -184,4 +184,9 @@ WHERE parent_id = 100; </select> <select id="selectDeptByDeptName" resultType="com.ruoyi.project.system.domain.SysDept"> <include refid="selectDeptVo"/> WHERE d.dept_name = #{deptName} LIMIT 1 </select> </mapper>