| 
														
															@@ -34,6 +34,7 @@ public class PlanAccountServiceImpl implements PlanAccountService { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             planAccountMapper.insertSelective(planAccount); 
														 | 
														
														 | 
														
															             planAccountMapper.insertSelective(planAccount); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } else { 
														 | 
														
														 | 
														
															         } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             planAccount.setId(planAccounts.get(0).getId()); 
														 | 
														
														 | 
														
															             planAccount.setId(planAccounts.get(0).getId()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            planAccount.setIsDelete(0); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             planAccountMapper.updateByPrimaryKeySelective(planAccount); 
														 | 
														
														 | 
														
															             planAccountMapper.updateByPrimaryKeySelective(planAccount); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -47,6 +48,7 @@ public class PlanAccountServiceImpl implements PlanAccountService { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             planMapper.insertSelective(plan); 
														 | 
														
														 | 
														
															             planMapper.insertSelective(plan); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } else { 
														 | 
														
														 | 
														
															         } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             plan.setId(plans.get(0).getId()); 
														 | 
														
														 | 
														
															             plan.setId(plans.get(0).getId()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            plan.setIsDelete(0); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             planMapper.updateByPrimaryKeySelective(plan); 
														 | 
														
														 | 
														
															             planMapper.updateByPrimaryKeySelective(plan); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -58,6 +60,13 @@ public class PlanAccountServiceImpl implements PlanAccountService { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return planAccountMapper.selectByExample(example); 
														 | 
														
														 | 
														
															         return planAccountMapper.selectByExample(example); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    public List<PlanAccount> getNormalPlanAccount() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        PlanAccountExample example = new PlanAccountExample(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        example.createCriteria().andCreateTimeGreaterThan(DateUtil.getThatDayDate()) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                .andStatusEqualTo(0).andIsDeleteEqualTo(0); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        return planAccountMapper.selectByExample(example); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public List<Plan> getPlanList() { 
														 | 
														
														 | 
														
															     public List<Plan> getPlanList() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         PlanExample example = new PlanExample(); 
														 | 
														
														 | 
														
															         PlanExample example = new PlanExample(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         List<Plan> plans = planMapper.selectByExample(example); 
														 | 
														
														 | 
														
															         List<Plan> plans = planMapper.selectByExample(example); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -67,8 +76,18 @@ public class PlanAccountServiceImpl implements PlanAccountService { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return plans; 
														 | 
														
														 | 
														
															         return plans; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    public void delPlan(String planId){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    public void delPlan(String planId) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        PlanExample planExample = new PlanExample(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        planExample.createCriteria().andPlanIdEqualTo(planId); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        Plan updatePlan = new Plan(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        updatePlan.setIsDelete(1); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        planMapper.updateByExampleSelective(updatePlan, planExample); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        PlanAccountExample planAccountExample = new PlanAccountExample(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        planAccountExample.createCriteria().andPlanIdEqualTo(planId).andCreateTimeGreaterThan(DateUtil.getThatDayDate()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        PlanAccount updatePlanAccount = new PlanAccount(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        updatePlanAccount.setIsDelete(1); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        planAccountMapper.updateByExampleSelective(updatePlanAccount, planAccountExample); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 |