|  |  | @ -36,6 +36,8 @@ import com.epmet.commons.tools.enums.EventEnum; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.exception.EpmetErrorCode; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.exception.RenException; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.page.PageData; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.redis.common.CustomerOrgRedis; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.redis.common.bean.GridInfoCache; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.scan.param.ImgScanParamDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.scan.param.ImgTaskDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.scan.param.TextScanParamDTO; | 
			
		
	
	
		
			
				
					|  |  | @ -892,7 +894,7 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi | 
			
		
	
		
			
				
					|  |  |  |      * @Date 2020.04.01 15:56 | 
			
		
	
		
			
				
					|  |  |  |      **/ | 
			
		
	
		
			
				
					|  |  |  |     @Override | 
			
		
	
		
			
				
					|  |  |  |     public Result<ResiTopicIncludeIssueDetailResultDTO> getTopicDetail(TokenDto tokenDto, String topicId) { | 
			
		
	
		
			
				
					|  |  |  |     public Result<ResiTopicIncludeIssueDetailResultDTO> getTopicDetail(String topicId) { | 
			
		
	
		
			
				
					|  |  |  |         //1.获取话题基本信息
 | 
			
		
	
		
			
				
					|  |  |  |         ResiTopicEntity topicDetail = baseDao.selectById(topicId); | 
			
		
	
		
			
				
					|  |  |  |         if(null == topicDetail || !StringUtils.equals(topicDetail.getId(),topicId)){ | 
			
		
	
	
		
			
				
					|  |  | @ -909,11 +911,9 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi | 
			
		
	
		
			
				
					|  |  |  |         resultDTO.setShiftIssueFlag(topicDetail.getShiftIssue()); | 
			
		
	
		
			
				
					|  |  |  |         ResiGroupEntity resiGroupEntity=resiGroupDao.selectById(topicDetail.getGroupId()); | 
			
		
	
		
			
				
					|  |  |  |         if(null!=resiGroupEntity){ | 
			
		
	
		
			
				
					|  |  |  |             CustomerGridFormDTO customerGridFormDTO=new CustomerGridFormDTO(); | 
			
		
	
		
			
				
					|  |  |  |             customerGridFormDTO.setGridId(resiGroupEntity.getGridId()); | 
			
		
	
		
			
				
					|  |  |  |             Result<CustomerGridDTO> gridInfoRes=govOrgOpenFeignClient.getGridBaseInfoByGridId(customerGridFormDTO); | 
			
		
	
		
			
				
					|  |  |  |             if(gridInfoRes.success()&&null!=gridInfoRes.getData()){ | 
			
		
	
		
			
				
					|  |  |  |                 resultDTO.setGridName(gridInfoRes.getData().getGridNamePath()); | 
			
		
	
		
			
				
					|  |  |  |             GridInfoCache gridInfoCache=CustomerOrgRedis.getGridInfo(resiGroupEntity.getGridId()); | 
			
		
	
		
			
				
					|  |  |  |             if(null!=gridInfoCache){ | 
			
		
	
		
			
				
					|  |  |  |                 resultDTO.setGridName(gridInfoCache.getGridNamePath()); | 
			
		
	
		
			
				
					|  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |         //2.查询话题附件
 | 
			
		
	
	
		
			
				
					|  |  | @ -1327,7 +1327,7 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     @Override | 
			
		
	
		
			
				
					|  |  |  |     public Result<ResiTopicDetailResultDTO> getTopicDetailGov(String topicId) { | 
			
		
	
		
			
				
					|  |  |  |         Result<ResiTopicIncludeIssueDetailResultDTO> result = getTopicDetail(null,topicId); | 
			
		
	
		
			
				
					|  |  |  |         Result<ResiTopicIncludeIssueDetailResultDTO> result = getTopicDetail(topicId); | 
			
		
	
		
			
				
					|  |  |  |         if(result.success() && null != result.getData() && StringUtils.isNotBlank(result.getData().getTopicId())){ | 
			
		
	
		
			
				
					|  |  |  |             return new  Result<ResiTopicDetailResultDTO>().ok(ConvertUtils.sourceToTarget(result.getData(),ResiTopicDetailResultDTO.class)); | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
	
		
			
				
					|  |  | @ -1622,7 +1622,7 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |         //3.获取话题信息
 | 
			
		
	
		
			
				
					|  |  |  |         Result<ResiTopicIncludeIssueDetailResultDTO> topicDetailResult = | 
			
		
	
		
			
				
					|  |  |  |             getTopicDetail(null,topicIdFormDTO.getTopicId()); | 
			
		
	
		
			
				
					|  |  |  |             getTopicDetail(topicIdFormDTO.getTopicId()); | 
			
		
	
		
			
				
					|  |  |  |         if(topicDetailResult.success() && null != topicDetailResult.getData()){ | 
			
		
	
		
			
				
					|  |  |  |             ResiTopicShiftIssueInitResultDTO result = ConvertUtils.sourceToTarget(topicDetailResult.getData(),ResiTopicShiftIssueInitResultDTO.class); | 
			
		
	
		
			
				
					|  |  |  |             try { | 
			
		
	
	
		
			
				
					|  |  | 
 |