feat:处理人
This commit is contained in:
@@ -875,8 +875,10 @@ public class ShopServiceImpl implements ShopService {
|
||||
}
|
||||
|
||||
private List<UserDTO> convertToUserDTOs(List<EnterpriseUserDO> users) {
|
||||
//最多给10条数据
|
||||
return users.stream()
|
||||
.map(user -> new UserDTO(user.getName(), user.getMobile()))
|
||||
.limit(10)
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user