|
@@ -55,7 +55,7 @@ public class CustomerServiceReceiveServiceImpl extends ServiceImpl<CustomerServi
|
|
|
if (CollectionUtils.isNotEmpty(receives)) {
|
|
|
|
|
|
List<Long> userIds = receives.stream()
|
|
|
- .map(CustomerServiceReceiveWrapper.CustomerServiceReceive::getId).distinct().collect(Collectors.toList());
|
|
|
+ .map(CustomerServiceReceiveWrapper.CustomerServiceReceive::getUserId).distinct().collect(Collectors.toList());
|
|
|
|
|
|
Map<Long, String> usernameMap = sysUserMapper.selectBatchIds(userIds).stream()
|
|
|
.collect(Collectors.toMap(SysUser::getId, SysUser::getUsername, (o, n) -> n));
|