|
@@ -244,7 +244,7 @@ public class AdminUserLogic {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- if (CollectionUtils.isEmpty(adminUser.getAdminDeptId())){
|
|
|
+ if (!CollectionUtils.isEmpty(adminUser.getAdminDeptId())){
|
|
|
AdminDept adminDept = adminDeptService.getById(adminUser.getAdminDeptId().get(0));
|
|
|
|
|
|
if (!curAdminUser.getType().equals("2") && adminDept.getAdminDeptId().equals("1")){
|