|
@@ -74,11 +74,14 @@ public class AdminDeptLogic {
|
|
|
}
|
|
|
|
|
|
private List<AdminDeptTree> treeModule(String adminDeptId) {
|
|
|
+ AdminUserCom adminUser = commonLogic.getAdminUser();
|
|
|
|
|
|
//最父级资源树
|
|
|
|
|
|
List<AdminDept> collect = adminDeptService.lambdaQuery()
|
|
|
- .eq(AdminDept::getPId,adminDeptId).list();
|
|
|
+ .eq(AdminDept::getPId,adminDeptId)
|
|
|
+ .eq(AdminDept::getCompanyWechatId,adminUser.getCompanyWechatId())
|
|
|
+ .list();
|
|
|
|
|
|
if(collect.size() == 0){
|
|
|
return null;
|