Browse Source

no message

FengChaoYu 2 weeks ago
parent
commit
f06f1b1d57

+ 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);
             }
         }