|  | @@ -58,6 +58,9 @@ public class UserTenantAlbumRecordServiceImpl extends ServiceImpl<UserTenantAlbu
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private TenantAlbumService tenantAlbumService;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private UserTenantAlbumRecordMapper userTenantAlbumRecordMapper;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	/**
 | 
	
		
			
				|  |  |       * 查询详情
 | 
	
		
			
				|  |  |       * @param id 详情ID
 | 
	
	
		
			
				|  | @@ -243,6 +246,16 @@ public class UserTenantAlbumRecordServiceImpl extends ServiceImpl<UserTenantAlbu
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          TenantAlbumWrapper.TenantAlbum album = new TenantAlbumWrapper.TenantAlbum();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        //查询是否已经购买专辑
 | 
	
		
			
				|  |  | +        Long buyTenantAlbumId = userTenantAlbumRecordMapper.ifBuy(tenantAlbumId);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        if (buyTenantAlbumId != null){
 | 
	
		
			
				|  |  | +            album.setIfBuy(true);
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +            album.setIfBuy(false);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          //查询对应专辑的详情
 | 
	
		
			
				|  |  |          List<TenantAlbum> list = tenantAlbumService.lambdaQuery().eq(TenantAlbum::getStatus, true).eq(TenantAlbum::getId, tenantAlbumId).list();
 | 
	
		
			
				|  |  |          if (CollectionUtils.isEmpty(list)){
 |