| 
						
						
							
								
							
						
						
					 | 
					@ -93,6 +93,9 @@ public class WorkActServiceImpl implements WorkActService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private ActGrantPointLogDao actGrantPointLogDao; | 
					 | 
					 | 
					    private ActGrantPointLogDao actGrantPointLogDao; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Autowired | 
					 | 
					 | 
					    @Autowired | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private UserKindnessTimeLogDao userKindnessTimeLogDao; | 
					 | 
					 | 
					    private UserKindnessTimeLogDao userKindnessTimeLogDao; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    @Autowired | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    private LatestActInfoDao latestActInfoDao; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    /** | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @return void | 
					 | 
					 | 
					     * @return void | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @author yinzuomei | 
					 | 
					 | 
					     * @author yinzuomei | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -151,7 +154,11 @@ public class WorkActServiceImpl implements WorkActService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        logger.info("发布活动,审核成功"); | 
					 | 
					 | 
					        logger.info("发布活动,审核成功"); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        actInfoDao.insert(actInfoEntity); | 
					 | 
					 | 
					        actInfoDao.insert(actInfoEntity); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					
 | 
					 | 
					 | 
					        //如果用户之前点击了预览,需要去更新草稿表里的act_info_id,记录草稿和活动的关系
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        if(StringUtils.isNotBlank(formDTO.getActDraftId())){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            logger.info("更新latest_act_info表的act_info_id字段"); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            latestActInfoDao.updateActInfoId(formDTO.getActDraftId(),actInfoEntity.getId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        List<ActContentEntity> actContentEntityList=this.constructActContent(formDTO.getActContent(),actInfoEntity.getId()); | 
					 | 
					 | 
					        List<ActContentEntity> actContentEntityList=this.constructActContent(formDTO.getActContent(),actInfoEntity.getId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        for(ActContentEntity actContentEntity:actContentEntityList){ | 
					 | 
					 | 
					        for(ActContentEntity actContentEntity:actContentEntityList){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            actContentDao.insert(actContentEntity); | 
					 | 
					 | 
					            actContentDao.insert(actContentEntity); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -1216,6 +1223,10 @@ public class WorkActServiceImpl implements WorkActService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        /*if(rePublishFormDTO.getNoticePassedPeople()){ | 
					 | 
					 | 
					        /*if(rePublishFormDTO.getNoticePassedPeople()){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            this.noticePassedPeople(originalActInfo,newActInfoEntity); | 
					 | 
					 | 
					            this.noticePassedPeople(originalActInfo,newActInfoEntity); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        }*/ | 
					 | 
					 | 
					        }*/ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        //如果用户在重新发布之前点击了预览,需要去更新草稿表里的act_info_id,记录草稿和活动的关系
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        if(StringUtils.isNotBlank(rePublishFormDTO.getActDraftId())){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            latestActInfoDao.updateActInfoId(rePublishFormDTO.getActDraftId(),newActInfoEntity.getId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return publishActResultDTO; | 
					 | 
					 | 
					        return publishActResultDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |