Ver código fonte

Merge branch 'dev_v1.3.8_20221209'

Eric 2 anos atrás
pai
commit
0d3ecd0cef

+ 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)) {
         if (CollectionUtils.isNotEmpty(receives)) {
 
 
             List<Long> userIds = receives.stream()
             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()
             Map<Long, String> usernameMap = sysUserMapper.selectBatchIds(userIds).stream()
                     .collect(Collectors.toMap(SysUser::getId, SysUser::getUsername, (o, n) -> n));
                     .collect(Collectors.toMap(SysUser::getId, SysUser::getUsername, (o, n) -> n));