| 
						
						
							
								
							
						
						
					 | 
					@ -890,7 +890,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						} | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						/** | 
					 | 
					 | 
						/** | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
						 * @Description  更新DB的标签使用次数 | 
					 | 
					 | 
						 * @Description  更新DB的标签使用次数		政府端 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
						 * @param draftId | 
					 | 
					 | 
						 * @param draftId | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						 * @author zxc | 
					 | 
					 | 
						 * @author zxc | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						 */ | 
					 | 
					 | 
						 */ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -903,7 +903,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							String userId = tokenDto.getUserId(); | 
					 | 
					 | 
							String userId = tokenDto.getUserId(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							List<String> tagsList = Arrays.asList(tags.split("\\|")); | 
					 | 
					 | 
							List<String> tagsList = Arrays.asList(tags.split("\\|")); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							List<UpdateTagUseCountsResultDTO> tagsInfo = new ArrayList<>(); | 
					 | 
					 | 
							List<UpdateTagUseCountsResultDTO> tagsInfo = new ArrayList<>(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
							//政府端的 标签使用次数  DB和redis更新(zSet)
 | 
					 | 
					 | 
							//政府端的 标签使用次数  DB
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
							for (String tag : tagsList) { | 
					 | 
					 | 
							for (String tag : tagsList) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								UpdateTagUseCountsResultDTO updateTagUseCount = tagCustomerService.checkTagInfo(tag, customerId, userId); | 
					 | 
					 | 
								UpdateTagUseCountsResultDTO updateTagUseCount = tagCustomerService.checkTagInfo(tag, customerId, userId); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								tagsInfo.add(updateTagUseCount); | 
					 | 
					 | 
								tagsInfo.add(updateTagUseCount); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -915,7 +915,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						} | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						/** | 
					 | 
					 | 
						/** | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
						 * @Description  更新redis    标签使用数量 和 标签级联 | 
					 | 
					 | 
						 * @Description  更新redis    标签使用数量 和 标签级联			政府端 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
						 * @param formDto | 
					 | 
					 | 
						 * @param formDto | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						 * @author zxc | 
					 | 
					 | 
						 * @author zxc | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						 */ | 
					 | 
					 | 
						 */ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -941,7 +941,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						} | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						/** | 
					 | 
					 | 
						/** | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
						 * @Description  更新数据库	网格下的标签使用数量 | 
					 | 
					 | 
						 * @Description  更新数据库	网格下的标签使用数量		居民端 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
						 * @param draftId | 
					 | 
					 | 
						 * @param draftId | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						 * @param formDto | 
					 | 
					 | 
						 * @param formDto | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						 * @author zxc | 
					 | 
					 | 
						 * @author zxc | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -953,7 +953,11 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							String customerId = draft.getCustomerId(); | 
					 | 
					 | 
							String customerId = draft.getCustomerId(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							List<UpdateTagUseCountsResultDTO> tagsInfo = formDto.getTagsInfo(); | 
					 | 
					 | 
							List<UpdateTagUseCountsResultDTO> tagsInfo = formDto.getTagsInfo(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							String userId = tokenDto.getUserId(); | 
					 | 
					 | 
							String userId = tokenDto.getUserId(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							//根据草稿id查询发布范围id集合
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							List<String> gridIds = articlePublishRangeDao.selectGridIdByDraftId(draftId); | 
					 | 
					 | 
							List<String> gridIds = articlePublishRangeDao.selectGridIdByDraftId(draftId); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							if (gridIds.size() == NumConstant.ZERO){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
								throw new RenException(TagConstant.SELECT_GRIDIDLIST_FAILURE); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							List<UpdateGridTagsFormDTO> gridTags = new ArrayList<>(); | 
					 | 
					 | 
							List<UpdateGridTagsFormDTO> gridTags = new ArrayList<>(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							List<UpdateGridTagCacheDTO> gridTagCache = new ArrayList<>(); | 
					 | 
					 | 
							List<UpdateGridTagCacheDTO> gridTagCache = new ArrayList<>(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							for (String gridId : gridIds) { | 
					 | 
					 | 
							for (String gridId : gridIds) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -976,7 +980,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						} | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						/** | 
					 | 
					 | 
						/** | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
						 * @Description  更新redis    网格下的 标签使用数量 和 级联标签 | 
					 | 
					 | 
						 * @Description  更新redis    网格下的 标签使用数量 和 级联标签	居民端 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
						 * @param gridTagCache | 
					 | 
					 | 
						 * @param gridTagCache | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						 * @author zxc | 
					 | 
					 | 
						 * @author zxc | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						 */ | 
					 | 
					 | 
						 */ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |