|
@@ -273,7 +273,7 @@ public class AdminUserLogic {
|
|
|
}
|
|
|
adminUserDeptRelaService.lambdaUpdate().eq(AdminUserDeptRela::getAdminUserId, adminUser.getAdminUserId()).remove();
|
|
|
|
|
|
- List<AdminDept> adminDepts = adminDeptService.lambdaQuery().eq(AdminDept::getAdminDeptId, adminUser.getAdminWebsitId()).list();
|
|
|
+ List<AdminDept> adminDepts = adminDeptService.lambdaQuery().eq(AdminDept::getAdminDeptId, adminUser.getAdminDeptId()).list();
|
|
|
if (adminDepts.size() == 0) {
|
|
|
throw new RemoteServiceException("请选择至少1个部门");
|
|
|
}
|