Eric 2 lat temu
rodzic
commit
35a87cc1f7

+ 1 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/CustomerServiceReceiveServiceImpl.java

@@ -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));