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