16639036659
2023-04-27 c710722937fa820f2e18c6a347a1f3e38f897cc0
src/main/resources/mybatis/system/DeptMapper.xml
@@ -188,4 +188,9 @@
        where dept_id in (${ancestors})
   </update>
<!--   Dept getDepById(Long deptId);-->
   <select id="getDepById" parameterType="Long" resultMap="DeptResult">
      select * from  sys_dept where dept_id = #{deptId}
   </select>
</mapper>