From 86d65e6f837ff14b090ffc3312c013987b6f67d8 Mon Sep 17 00:00:00 2001
From: zqy <2522236926@qq.com>
Date: 星期二, 14 十月 2025 21:59:13 +0800
Subject: [PATCH] 荣誉 新增两个字段的查询
---
zhang-content/src/main/java/com/ruoyi/service/impl/ZAuthorityServiceImpl.java | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/zhang-content/src/main/java/com/ruoyi/service/impl/ZAuthorityServiceImpl.java b/zhang-content/src/main/java/com/ruoyi/service/impl/ZAuthorityServiceImpl.java
index 9feff3f..e28ff97 100644
--- a/zhang-content/src/main/java/com/ruoyi/service/impl/ZAuthorityServiceImpl.java
+++ b/zhang-content/src/main/java/com/ruoyi/service/impl/ZAuthorityServiceImpl.java
@@ -308,6 +308,7 @@
za.setFid(zAuthority.getFid());
za.setUid(uid);
addData(za);
+ System.out.println(za);
}
// Long []
// if(bl)
@@ -329,7 +330,7 @@
lqw.eq(ZAuthority::getFid,empowerDto.getFid())
.eq(ZAuthority::getAuthority, auri)
.eq(ZAuthority::getUid, uid);
-
+ System.out.println("11111111111111111111"+list(lqw));
zAuthorityService.remove(lqw);
// addData(za);
}
@@ -350,9 +351,12 @@
LambdaQueryWrapper<ZInfoUser> lq = new LambdaQueryWrapper<>();
- lq.in(ZInfoUser::getUserId, allUserListId);
+ List<ZInfoUser> userInfo = new ArrayList<>();
+ if(allUserListId.size()!=0) {
+ lq.in(ZInfoUser::getUserId, allUserListId);
- List<ZInfoUser> userInfo = zInfoUserService.list(lq);
+ userInfo = zInfoUserService.list(lq);
+ }
// Map<Long, String> usi = userInfo.stream().collect(Collectors.toMap(ZInfoUser::getUserId,ZInfoUser::getNickName));
return AjaxResult.success(userInfo);
}
--
Gitblit v1.9.1