| 
					
				 | 
			
			
				@@ -1179,20 +1179,10 @@ public class PlanYearsServiceImpl extends ServiceImpl<PlanYearsMapper, PlanYears 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //是否可以申请撤销 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //需求待填制可以申请,需求建档就不能申请 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            PlanQuarter byPlanYearId = planQuarterMapper.getByPlanYearId(planYear.getPlanYearId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (!ObjectUtils.isEmpty(byPlanYearId)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                PmDemand demand = demandService.selectByPlanId(byPlanYearId.getPlanPracticalId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (!ObjectUtils.isEmpty(demand) && !demand.getProjectStatus().equals(PmProjectStatus.DEMAND_WAIT_FILL.getCode())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    planYear.setAppDeleteDo("false"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } else if (!ObjectUtils.isEmpty(planYear.getAppDelete()) && planYear.getAppDelete().equals("true")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    //申请过的不能再申请 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    planYear.setAppDeleteDo("false"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    planYear.setAppDeleteDo("true"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } else if (!planYear.getProjectStatus().equals("0")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (!ObjectUtils.isEmpty(planYear.getAppDelete())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //申请过的不能再申请 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                planYear.setAppDeleteDo("false"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } else if (planYear.getProjectStatus().equals(ProjectStatus.PLANWAIEXAMINE.getCode())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //提交后可以申请撤销 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 planYear.setAppDeleteDo("true"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 |