| 
					
				 | 
			
			
				@@ -24,6 +24,8 @@ import com.ruoyi.system.service.IPostCollectionsSystemService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.common.utils.poi.ExcelUtil; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.common.core.page.TableDataInfo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import static com.ruoyi.common.utils.SecurityUtils.getUsername; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 藏品套系Controller 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -160,17 +162,17 @@ public class PostCollectionsSystemController extends BaseController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @PostMapping("/status/{status}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public AjaxResult changeStatus(@RequestBody List<Long> id, @PathVariable String status){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<PostCollectionsSystem> postCollectionsSystemList = postCollectionsSystemService.listByIds(id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         postCollectionsSystemList = postCollectionsSystemList.stream().map( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 (item) ->{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     item.setStatus(status); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    //更改藏品的状态 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    CollectionStatusJudgment.JudgmentStatus(id,status); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    item.setUpdateBy(getUsername()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    item.setUpdateTime(DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SS,DateUtils.getTime())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return item; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ).collect(Collectors.toList()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       return toAjax(postCollectionsSystemService.updateBatchById(postCollectionsSystemList)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //更改藏品的状态 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        CollectionStatusJudgment.JudgmentStatus(id,status); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return toAjax(postCollectionsSystemService.updateBatchById(postCollectionsSystemList)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |