| 
					
				 | 
			
			
				@@ -4,6 +4,8 @@ import java.util.List; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import javax.servlet.http.HttpServletResponse; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.common.constant.UserConstants; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.ruoyi.post.domain.PostCollection; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.ruoyi.post.service.IPostCollectionService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.security.access.prepost.PreAuthorize; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.web.bind.annotation.GetMapping; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -36,8 +38,11 @@ public class PostSeriesController extends BaseController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private IPostSeriesService postSeriesService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    private IPostCollectionService postCollectionService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * 查询邮贝在售套系信息; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 查询邮贝套系信息; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @PreAuthorize("@ss.hasPermi('system:series:list')") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @GetMapping("/list") 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -48,6 +53,23 @@ public class PostSeriesController extends BaseController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return getDataTable(list); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 查询当前邮贝套系所含藏品信息; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @PreAuthorize("@ss.hasPermi('system:series:list')") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @GetMapping("/list/{seriesId}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public TableDataInfo listCollection(@PathVariable("seriesId")Long seriesId,PostCollection postCollection) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        startPage(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        PostSeries postSeries = postSeriesService.selectPostSeriesBySeriesId(seriesId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //获取对应匹配的套系昵称 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        String seriesName = postSeries.getSeriesName(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //通过匹配查询出对应的藏品 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       postCollection.setSeriesName(seriesName); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       List<PostCollection> postCollections = postCollectionService.selectPostCollectionList(postCollection); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       return getDataTable(postCollections); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 查询邮贝在售套系信息; 
			 |