|
@@ -215,8 +215,9 @@ public class AdminUserLogic {
|
|
|
.map(AdminUserPermissions::getAdminUserPermissionsId)
|
|
|
.collect(Collectors.toList());
|
|
|
|
|
|
+ List<AdminDept> deptExistList = new ArrayList<>();
|
|
|
if (CollectionUtil.isNotEmpty(deptList)) {
|
|
|
- final List<AdminDept> deptExistList = adminDeptService.lambdaQuery()
|
|
|
+ deptExistList = adminDeptService.lambdaQuery()
|
|
|
.in(AdminDept::getAdminDeptId, deptList)
|
|
|
.list();
|
|
|
|
|
@@ -230,8 +231,9 @@ public class AdminUserLogic {
|
|
|
.map(AdminUserPermissions::getAdminUserPermissionsId)
|
|
|
.collect(Collectors.toList());
|
|
|
|
|
|
+ List<AdminWebsit> websitExistList = new ArrayList<>();
|
|
|
if (CollectionUtil.isNotEmpty(websitList)) {
|
|
|
- final List<AdminWebsit> websitExistList = adminWebsitService.lambdaQuery()
|
|
|
+ websitExistList = adminWebsitService.lambdaQuery()
|
|
|
.in(AdminWebsit::getWebsitId, websitList)
|
|
|
.list();
|
|
|
|