|  | @@ -6,7 +6,6 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.dao.UserOrderDao;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.entity.Student;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.entity.TenantStaff;
 | 
	
		
			
				|  |  | -import com.yonge.cooleshow.biz.dal.entity.UserOrder;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.enums.ClientEnum;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.service.StudentService;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.service.TenantStaffService;
 | 
	
	
		
			
				|  | @@ -14,7 +13,6 @@ import com.yonge.toolset.base.exception.BizException;
 | 
	
		
			
				|  |  |  import org.apache.commons.collections.CollectionUtils;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.stereotype.Service;
 | 
	
		
			
				|  |  | -import org.springframework.beans.BeanUtils;
 | 
	
		
			
				|  |  |  import lombok.extern.slf4j.Slf4j;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.entity.TenantGroupAlbum;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.wrapper.TenantGroupAlbumWrapper;
 | 
	
	
		
			
				|  | @@ -87,11 +85,12 @@ public class TenantGroupAlbumServiceImpl extends ServiceImpl<TenantGroupAlbumMap
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  | -    public List<TenantGroupAlbumWrapper.BuyTenantAlbum> buyAlbumInfo(Long userId, ClientEnum clientType) {
 | 
	
		
			
				|  |  | +    public List<TenantGroupAlbumWrapper.BuyTenantAlbum> buyAlbumInfo(Long tenantGroupAlbumId, Long userId, ClientEnum clientType) {
 | 
	
		
			
				|  |  |          // 学生端 查看小组专辑 获取专辑基本信息, 机构端查看机构专辑 获取专辑基本信息
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          TenantGroupAlbumWrapper.BuyTenantAlbumQuery query = new TenantGroupAlbumWrapper.BuyTenantAlbumQuery();
 | 
	
		
			
				|  |  | -        if (clientType == ClientEnum.STUDENT) {
 | 
	
		
			
				|  |  | +        query.setTenantGroupAlbumId(tenantGroupAlbumId);
 | 
	
		
			
				|  |  | +        if (tenantGroupAlbumId != null) {} else if (clientType == ClientEnum.STUDENT) {
 | 
	
		
			
				|  |  |              Student student = studentService.getById(userId);
 | 
	
		
			
				|  |  |              if (student.getTenantId() == null || student.getTenantId() <=0 || student.getTenantGroupId() == null) {
 | 
	
		
			
				|  |  |                  throw new BizException("学生未加入机构或者小组");
 |