浏览代码

no message

FengChaoYu 2 周之前
父节点
当前提交
f06f1b1d57
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/gree/mall/manager/logic/admin/AdminUserLogic.java

+ 2 - 2
src/main/java/com/gree/mall/manager/logic/admin/AdminUserLogic.java

@@ -497,7 +497,7 @@ public class AdminUserLogic {
             for (String deptId : deptIds) {
                 AdminUserPermissions bean = new AdminUserPermissions();
                 bean.setAdminUserPermissionsId(deptId);
-                permissions.add(bean);
+                deptList.add(bean);
             }
         }
 
@@ -505,7 +505,7 @@ public class AdminUserLogic {
             for (String websitId : websitIds) {
                 AdminUserPermissions bean = new AdminUserPermissions();
                 bean.setAdminUserPermissionsId(websitId);
-                deptList.add(bean);
+                permissions.add(bean);
             }
         }