|  |  | @ -31,6 +31,8 @@ import com.epmet.entity.LatestActInfoEntity; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.redis.LatestActInfoRedis; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.LatestActContentService; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.LatestActInfoService; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.LatestActServiceRelationService; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.LatestActUnitRelationService; | 
			
		
	
		
			
				
					|  |  |  | import org.apache.commons.lang3.StringUtils; | 
			
		
	
		
			
				
					|  |  |  | import org.apache.logging.log4j.LogManager; | 
			
		
	
		
			
				
					|  |  |  | import org.apache.logging.log4j.Logger; | 
			
		
	
	
		
			
				
					|  |  | @ -38,6 +40,7 @@ import org.springframework.beans.factory.annotation.Autowired; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.stereotype.Service; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.transaction.annotation.Transactional; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | import javax.annotation.Resource; | 
			
		
	
		
			
				
					|  |  |  | import java.util.Arrays; | 
			
		
	
		
			
				
					|  |  |  | import java.util.Date; | 
			
		
	
		
			
				
					|  |  |  | import java.util.List; | 
			
		
	
	
		
			
				
					|  |  | @ -56,6 +59,10 @@ public class LatestActInfoServiceImpl extends BaseServiceImpl<LatestActInfoDao, | 
			
		
	
		
			
				
					|  |  |  |     private LatestActInfoRedis latestActInfoRedis; | 
			
		
	
		
			
				
					|  |  |  |     @Autowired | 
			
		
	
		
			
				
					|  |  |  |     private LatestActContentService latestActContentService; | 
			
		
	
		
			
				
					|  |  |  |     @Resource | 
			
		
	
		
			
				
					|  |  |  |     private LatestActServiceRelationService latestActServiceRelationService; | 
			
		
	
		
			
				
					|  |  |  |     @Resource | 
			
		
	
		
			
				
					|  |  |  |     private LatestActUnitRelationService latestActUnitRelationService; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     @Override | 
			
		
	
		
			
				
					|  |  |  |     public PageData<LatestActInfoDTO> page(Map<String, Object> params) { | 
			
		
	
	
		
			
				
					|  |  | @ -158,6 +165,8 @@ public class LatestActInfoServiceImpl extends BaseServiceImpl<LatestActInfoDao, | 
			
		
	
		
			
				
					|  |  |  |             int num=latestActContentService.deleteByActId(entity.getId()); | 
			
		
	
		
			
				
					|  |  |  |             //删除活动属性: del_flag="1"
 | 
			
		
	
		
			
				
					|  |  |  |             baseDao.updateToDelById(entity.getId()); | 
			
		
	
		
			
				
					|  |  |  |             latestActServiceRelationService.delete(entity.getId()); | 
			
		
	
		
			
				
					|  |  |  |             latestActUnitRelationService.delete(entity.getId()); | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | 
 |