| 
					
				 | 
			
			
				@@ -25,10 +25,7 @@ import lombok.extern.slf4j.Slf4j; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.web.bind.annotation.*; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.Collections; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.List; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.Map; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.TimeZone; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import java.util.*; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @author : 高雄 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -81,7 +78,8 @@ public class ApiPlanController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (plan.getBuildTaskNow() == 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 List<AppPlan> list = appPlanService.list(new LambdaQueryWrapper<AppPlan>().eq(AppPlan::getParentId, plan.getId()).eq(AppPlan::getDeleted, 0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 list.add(plan); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                rebuildResumptionTaskBusiness.rebuildCurrentCycleTask(Collections.singletonList(list)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                List<Object> newlist = new ArrayList<>(list); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                rebuildResumptionTaskBusiness.rebuildCurrentCycleTask(newlist); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //                DateTime datetime = new DateTime(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //                datetime.setTimeZone(TimeZone.getTimeZone("Asia/Shanghai")); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -193,7 +191,8 @@ public class ApiPlanController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //如果编辑 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 List<AppPlan> list = appPlanService.list(new LambdaQueryWrapper<AppPlan>().eq(AppPlan::getParentId, plan.getId()).eq(AppPlan::getDeleted, 0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 list.add(plan); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                rebuildResumptionTaskBusiness.rebuildCurrentCycleTask(Collections.singletonList(list)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                List<Object> newlist = new ArrayList<>(list); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                rebuildResumptionTaskBusiness.rebuildCurrentCycleTask(newlist); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -292,7 +291,8 @@ public class ApiPlanController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             List<AppPlan> list = appPlanService.list(new LambdaQueryWrapper<AppPlan>().eq(AppPlan::getParentId, plan.getId()).eq(AppPlan::getDeleted, 0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             list.add(plan); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            rebuildResumptionTaskBusiness.rebuildCurrentCycleTask(Collections.singletonList(list)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            List<Object> newlist = new ArrayList<>(list); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            rebuildResumptionTaskBusiness.rebuildCurrentCycleTask(newlist); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return AjaxResult.success(i); 
			 |