Showing
1 changed file
with
3 additions
and
0 deletions
| ... | ... | @@ -1223,6 +1223,9 @@ public class CustomerCreditServiceImpl extends BaseMpServiceImpl<CustomerCreditM |
| 1223 | 1223 | |
| 1224 | 1224 | Map<String, List<String>> userIdMap = sysUserDeptService.mapAllUserByUserId(userIdList, true); |
| 1225 | 1225 | List<String> userIds = userIdMap.get(currentUserId); |
| 1226 | + if (CollectionUtils.isEmpty(userIds)) { | |
| 1227 | + return new ArrayList<>(); | |
| 1228 | + } | |
| 1226 | 1229 | |
| 1227 | 1230 | return sysUserService.listByUserId(userIds); |
| 1228 | 1231 | } | ... | ... |