|  |  | @ -398,10 +398,10 @@ public class IssueServiceImpl extends BaseServiceImpl<IssueDao, IssueEntity> imp | 
			
		
	
		
			
				
					|  |  |  |         ResiTopicDTO topicDTO = resultTopicDTO.getData(); | 
			
		
	
		
			
				
					|  |  |  |         //4.2:创建消息模板
 | 
			
		
	
		
			
				
					|  |  |  |         String messageContent = ""; | 
			
		
	
		
			
				
					|  |  |  |         if (IssueConstant.ISSUE_RESLOVED.equals(formDTO.getResolveType())) { | 
			
		
	
		
			
				
					|  |  |  |             messageContent = String.format(UserMessageConstant.ISSUE_RESLOVED_MSG, topicDTO.getTopicContent(), formDTO.getCloseReason()); | 
			
		
	
		
			
				
					|  |  |  |         } else if (IssueConstant.ISSUE_UNRESLOVED.equals(formDTO.getResolveType())) { | 
			
		
	
		
			
				
					|  |  |  |             messageContent = String.format(UserMessageConstant.ISSUE_UNRESLOVED_MSG, topicDTO.getTopicContent(), formDTO.getCloseReason()); | 
			
		
	
		
			
				
					|  |  |  |         if (IssueConstant.ISSUE_RESOLVED.equals(formDTO.getResolveType())) { | 
			
		
	
		
			
				
					|  |  |  |             messageContent = String.format(UserMessageConstant.ISSUE_RESOLVED_MSG, topicDTO.getTopicContent(), formDTO.getCloseReason()); | 
			
		
	
		
			
				
					|  |  |  |         } else if (IssueConstant.ISSUE_UNRESOLVED.equals(formDTO.getResolveType())) { | 
			
		
	
		
			
				
					|  |  |  |             messageContent = String.format(UserMessageConstant.ISSUE_UNRESOLVED_MSG, topicDTO.getTopicContent(), formDTO.getCloseReason()); | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |         //4.3:调用服务,发送消息
 | 
			
		
	
		
			
				
					|  |  |  |         if (!saveUserMessageList(topicDTO, messageContent, entity).success()) { | 
			
		
	
	
		
			
				
					|  |  | @ -563,7 +563,7 @@ public class IssueServiceImpl extends BaseServiceImpl<IssueDao, IssueEntity> imp | 
			
		
	
		
			
				
					|  |  |  |             msgList.add(msgIssue); | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |         //2:创建项目工作人员消息对象
 | 
			
		
	
		
			
				
					|  |  |  |         String projectStaffMessage = String.format(UserMessageConstant.PROJECT_RESLOVED_MSG, entity.getIssueTitle()); | 
			
		
	
		
			
				
					|  |  |  |         String projectStaffMessage = String.format(UserMessageConstant.PROJECT_RESOLVED_MSG, entity.getIssueTitle()); | 
			
		
	
		
			
				
					|  |  |  |         //所选人员如果即在部门下又在网格下则只发一条消息
 | 
			
		
	
		
			
				
					|  |  |  |         Map<String,String> map = new HashMap<>(); | 
			
		
	
		
			
				
					|  |  |  |         formDTO.getStaffList().forEach(staff->{ | 
			
		
	
	
		
			
				
					|  |  | 
 |