Mybatis实现部门递归查询

1.  在部门对象中加一个字段
2.配置Mapping文件

查询出返回List<Department>   部门即可

猜你喜欢

转载自blog.csdn.net/qq_37342374/article/details/79643291