| 
						
						
							
								
							
						
						
					 | 
					@ -39,6 +39,7 @@ import com.epmet.commons.tools.utils.SendMqMsgUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.constant.ActMessageConstant; | 
					 | 
					 | 
					import com.epmet.constant.ActMessageConstant; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dao.ActLivePicDao; | 
					 | 
					 | 
					import com.epmet.dao.ActLivePicDao; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dao.ActLiveRecDao; | 
					 | 
					 | 
					import com.epmet.dao.ActLiveRecDao; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.epmet.dto.ActInfoDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.ActLivePicDTO; | 
					 | 
					 | 
					import com.epmet.dto.ActLivePicDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.ActLiveRecDTO; | 
					 | 
					 | 
					import com.epmet.dto.ActLiveRecDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.form.resi.ResiActInsertLiveFormDTO; | 
					 | 
					 | 
					import com.epmet.dto.form.resi.ResiActInsertLiveFormDTO; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -48,6 +49,7 @@ import com.epmet.entity.ActLivePicEntity; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.entity.ActLiveRecEntity; | 
					 | 
					 | 
					import com.epmet.entity.ActLiveRecEntity; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.feign.EpmetUserOpenFeignClient; | 
					 | 
					 | 
					import com.epmet.feign.EpmetUserOpenFeignClient; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.redis.ActLiveRecRedis; | 
					 | 
					 | 
					import com.epmet.redis.ActLiveRecRedis; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.epmet.service.ActInfoService; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.service.ActLiveRecService; | 
					 | 
					 | 
					import com.epmet.service.ActLiveRecService; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.apache.logging.log4j.LogManager; | 
					 | 
					 | 
					import org.apache.logging.log4j.LogManager; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.apache.logging.log4j.Logger; | 
					 | 
					 | 
					import org.apache.logging.log4j.Logger; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -77,6 +79,9 @@ public class ActLiveRecServiceImpl extends BaseServiceImpl<ActLiveRecDao, ActLiv | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Autowired | 
					 | 
					 | 
					    @Autowired | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private ActLivePicDao actLivePicDao; | 
					 | 
					 | 
					    private ActLivePicDao actLivePicDao; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    @Autowired | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    private ActInfoService actInfoService; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Value("${openapi.scan.server.url}") | 
					 | 
					 | 
					    @Value("${openapi.scan.server.url}") | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private String scanApiUrl; | 
					 | 
					 | 
					    private String scanApiUrl; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Value("${openapi.scan.method.textSyncScan}") | 
					 | 
					 | 
					    @Value("${openapi.scan.method.textSyncScan}") | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -217,8 +222,9 @@ public class ActLiveRecServiceImpl extends BaseServiceImpl<ActLiveRecDao, ActLiv | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private void grantActPoints(ResiActInsertLiveFormDTO formDTO){ | 
					 | 
					 | 
					    private void grantActPoints(ResiActInsertLiveFormDTO formDTO){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        //备注
 | 
					 | 
					 | 
					        // 查询 活动信息
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        String remark=String.format(ActMessageConstant.ACT_POINTS_EVENT_VOLUNTEER_LIVE,formDTO.getUserId(),formDTO.getActId()); | 
					 | 
					 | 
					        ActInfoDTO actInfoDTO = actInfoService.get(formDTO.getActId()); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        MqBaseMsgDTO mqBaseMsgDTO=new MqBaseMsgDTO(); | 
					 | 
					 | 
					        MqBaseMsgDTO mqBaseMsgDTO=new MqBaseMsgDTO(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //mq的事件类型
 | 
					 | 
					 | 
					        //mq的事件类型
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        mqBaseMsgDTO.setEventClass(EventEnum.ACTIVE_INSERT_LIVE.getEventClass()); | 
					 | 
					 | 
					        mqBaseMsgDTO.setEventClass(EventEnum.ACTIVE_INSERT_LIVE.getEventClass()); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -230,7 +236,7 @@ public class ActLiveRecServiceImpl extends BaseServiceImpl<ActLiveRecDao, ActLiv | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        actPointEventMsg.setUserId(formDTO.getUserId()); | 
					 | 
					 | 
					        actPointEventMsg.setUserId(formDTO.getUserId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        actPointEventMsg.setActionFlag(MqConstant.PLUS); | 
					 | 
					 | 
					        actPointEventMsg.setActionFlag(MqConstant.PLUS); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        actPointEventMsg.setIsCommon(false); | 
					 | 
					 | 
					        actPointEventMsg.setIsCommon(false); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        actPointEventMsg.setRemark(remark); | 
					 | 
					 | 
					        actPointEventMsg.setRemark(actInfoDTO.getTitle()); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        actPointEventMsg.setSourceId(formDTO.getActId()); | 
					 | 
					 | 
					        actPointEventMsg.setSourceId(formDTO.getActId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        actPointEventMsgList.add(actPointEventMsg); | 
					 | 
					 | 
					        actPointEventMsgList.add(actPointEventMsg); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |