‘linchangsheng’ 9 kuukautta sitten
vanhempi
commit
72d1c8f6c1

+ 1 - 3
mall-server-api/src/main/java/com/gree/mall/manager/logic/admin/AdminDeptLogic.java

@@ -79,9 +79,7 @@ public class AdminDeptLogic {
         //最父级资源树
 
         List<AdminDept> collect = adminDeptService.lambdaQuery()
-                .eq(AdminDept::getPId,adminDeptId)
-                .eq(AdminDept::getCompanyWechatId,adminUser.getCompanyWechatId())
-                .list();
+                .eq(AdminDept::getPId,adminDeptId).list();
 
         if(collect.size() == 0){
             return new ArrayList<>();