| 
														
															@@ -1,14 +1,18 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 package com.tzld.piaoquan.longarticle.service.local.impl; 
														 | 
														
														 | 
														
															 package com.tzld.piaoquan.longarticle.service.local.impl; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.tzld.piaoquan.longarticle.dao.mapper.PlanAccountMapper; 
														 | 
														
														 | 
														
															 import com.tzld.piaoquan.longarticle.dao.mapper.PlanAccountMapper; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import com.tzld.piaoquan.longarticle.dao.mapper.PlanMapper; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import com.tzld.piaoquan.longarticle.model.po.Plan; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.tzld.piaoquan.longarticle.model.po.PlanAccount; 
														 | 
														
														 | 
														
															 import com.tzld.piaoquan.longarticle.model.po.PlanAccount; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.tzld.piaoquan.longarticle.model.po.PlanAccountExample; 
														 | 
														
														 | 
														
															 import com.tzld.piaoquan.longarticle.model.po.PlanAccountExample; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import com.tzld.piaoquan.longarticle.model.po.PlanExample; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.tzld.piaoquan.longarticle.service.local.PlanAccountService; 
														 | 
														
														 | 
														
															 import com.tzld.piaoquan.longarticle.service.local.PlanAccountService; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.tzld.piaoquan.longarticle.utils.DateUtil; 
														 | 
														
														 | 
														
															 import com.tzld.piaoquan.longarticle.utils.DateUtil; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.beans.factory.annotation.Autowired; 
														 | 
														
														 | 
														
															 import org.springframework.beans.factory.annotation.Autowired; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.stereotype.Service; 
														 | 
														
														 | 
														
															 import org.springframework.stereotype.Service; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.util.CollectionUtils; 
														 | 
														
														 | 
														
															 import org.springframework.util.CollectionUtils; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import java.util.ArrayList; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import java.util.List; 
														 | 
														
														 | 
														
															 import java.util.List; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 @Service 
														 | 
														
														 | 
														
															 @Service 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -17,6 +21,9 @@ public class PlanAccountServiceImpl implements PlanAccountService { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Autowired 
														 | 
														
														 | 
														
															     @Autowired 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     private PlanAccountMapper planAccountMapper; 
														 | 
														
														 | 
														
															     private PlanAccountMapper planAccountMapper; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    @Autowired 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    private PlanMapper planMapper; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public void saveOrUpdatePlanAccount(PlanAccount planAccount) { 
														 | 
														
														 | 
														
															     public void saveOrUpdatePlanAccount(PlanAccount planAccount) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         PlanAccountExample example = new PlanAccountExample(); 
														 | 
														
														 | 
														
															         PlanAccountExample example = new PlanAccountExample(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         example.createCriteria().andAccountIdEqualTo(planAccount.getAccountId()) 
														 | 
														
														 | 
														
															         example.createCriteria().andAccountIdEqualTo(planAccount.getAccountId()) 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -38,6 +45,16 @@ public class PlanAccountServiceImpl implements PlanAccountService { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return planAccountMapper.selectByExample(example); 
														 | 
														
														 | 
														
															         return planAccountMapper.selectByExample(example); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    public List<Plan> getPlanList() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        PlanExample example = new PlanExample(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        example.createCriteria().andCreateTimeGreaterThan(DateUtil.getThatDayDate()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        List<Plan> plans = planMapper.selectByExample(example); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if (CollectionUtils.isEmpty(plans)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            return new ArrayList<>(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        return plans; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Override 
														 | 
														
														 | 
														
															     @Override 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public void updateMatchStatus(Integer status, Long id) { 
														 | 
														
														 | 
														
															     public void updateMatchStatus(Integer status, Long id) { 
														 |