|
@@ -615,10 +615,15 @@ public class AdminUserLogic {
|
|
|
.page(new Page<>(pageNum, pageSize));
|
|
|
|
|
|
for (AdminUser record : page.getRecords()) {
|
|
|
- AdminUserWebsitRela adminUserWebsitRela = adminUserWebsitRelaService.lambdaQuery().eq(AdminUserWebsitRela::getAdminUserId, record.getAdminUserId()).last("limit 1").one();
|
|
|
-
|
|
|
- AdminUserDeptRela adminUserDeptRela = adminUserDeptRelaService.lambdaQuery().eq(AdminUserDeptRela::getAdminUserId, record.getAdminUserId()).last("limit 1").one();
|
|
|
-
|
|
|
+ AdminUserWebsitRela adminUserWebsitRela = adminUserWebsitRelaService.lambdaQuery()
|
|
|
+ .eq(AdminUserWebsitRela::getAdminUserId, record.getAdminUserId())
|
|
|
+ .last("limit 1")
|
|
|
+ .one();
|
|
|
+
|
|
|
+ AdminUserDeptRela adminUserDeptRela = adminUserDeptRelaService.lambdaQuery()
|
|
|
+ .eq(AdminUserDeptRela::getAdminUserId, record.getAdminUserId())
|
|
|
+ .last("limit 1")
|
|
|
+ .one();
|
|
|
|
|
|
if (adminUserDeptRela != null) {
|
|
|
|