| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -112,6 +112,7 @@ public class IssueServiceImpl extends BaseServiceImpl<IssueDao, IssueEntity> imp | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    private EpmetMessageOpenFeignClient epmetMessageOpenFeignClient; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						@Value("${openapi.scan.server.url}") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						private String scanApiUrl; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						@Value("${openapi.scan.method.textSyncScan}") | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -503,17 +504,22 @@ public class IssueServiceImpl extends BaseServiceImpl<IssueDao, IssueEntity> imp | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //发送站内信 
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        UserMessageFormDTO msgObj = new UserMessageFormDTO(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        msgObj.setApp(ModuleConstants.APP_RESI); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        msgObj.setCustomerId(application.getCustomerId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        msgObj.setGridId(application.getGridId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        msgObj.setMessageContent(String.format(ModuleConstants.ISSUE_AUDIT_RESULT_MSG_CONTENT_TEMPLATE,application.getIssueTitle(),StringUtils.equals(ModuleConstants.AUDITION_TYPE_REJECT,param.getActionType()) ? ModuleConstants.ISSUE_ACTION_REJECT : ModuleConstants.ISSUE_ACTION_SHIFT)); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        msgObj.setReadFlag(ReadFlagConstant.UN_READ); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        msgObj.setTitle(ModuleConstants.ISSUE_AUDIT_RESULT_MSG_TITLE_TEMPLATE); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        msgObj.setUserId(application.getCreatedBy()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        List<UserMessageFormDTO> msgList = new LinkedList<>();msgList.add(msgObj); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        epmetMessageOpenFeignClient.saveUserMessageList(msgList); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//        UserMessageFormDTO msgObj = new UserMessageFormDTO();
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//        msgObj.setApp(ModuleConstants.APP_RESI);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//        msgObj.setCustomerId(application.getCustomerId());
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//        msgObj.setGridId(application.getGridId());
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//        msgObj.setMessageContent(String.format(ModuleConstants.ISSUE_AUDIT_RESULT_MSG_CONTENT_TEMPLATE,application.getIssueTitle(),StringUtils.equals(ModuleConstants.AUDITION_TYPE_REJECT,param.getActionType()) ? ModuleConstants.ISSUE_ACTION_REJECT : ModuleConstants.ISSUE_ACTION_SHIFT));
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//        msgObj.setReadFlag(ReadFlagConstant.UN_READ);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//        msgObj.setTitle(ModuleConstants.ISSUE_AUDIT_RESULT_MSG_TITLE_TEMPLATE);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//        msgObj.setUserId(application.getCreatedBy());
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//        List<UserMessageFormDTO> msgList = new LinkedList<>();msgList.add(msgObj);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//        epmetMessageOpenFeignClient.saveUserMessageList(msgList);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //对关注此话题的用户推送订阅
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        try { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            resiGroupOpenFeignClient.sendWxmpUpdateSubscribe(token,app2update.getIssueId(),"shiftIssue"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }catch (Exception e){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            logger.warn("话题转议题-发送订阅消息失败 错误信息:"+e.getMessage()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //}
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //applicationService.update(app2update);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |