| 
						
						
							
								
							
						
						
					 | 
					@ -415,7 +415,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							if (!CollectionUtils.isEmpty(gridList)&&!CollectionUtils.isEmpty(gridIdList)) { | 
					 | 
					 | 
							if (!CollectionUtils.isEmpty(gridList)&&!CollectionUtils.isEmpty(gridIdList)) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								gridList.forEach(grid -> { | 
					 | 
					 | 
								gridList.forEach(grid -> { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									if (gridIdList.contains(grid.getGridId())) { | 
					 | 
					 | 
									if (gridIdList.contains(grid.getGridId())) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
										String agencyGridName = articleGridResultDTO.getAgencyName().concat("_").concat(grid.getGridName()); | 
					 | 
					 | 
										String agencyGridName = articleGridResultDTO.getAgencyName().concat("-").concat(grid.getGridName()); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
										agencyGridNameList.add(agencyGridName); | 
					 | 
					 | 
										agencyGridNameList.add(agencyGridName); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
										DraftPublishRangeEntity draftPublishRangeEntity = new DraftPublishRangeEntity(); | 
					 | 
					 | 
										DraftPublishRangeEntity draftPublishRangeEntity = new DraftPublishRangeEntity(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
										draftPublishRangeEntity.setCustomerId(tokenDto.getCustomerId()); | 
					 | 
					 | 
										draftPublishRangeEntity.setCustomerId(tokenDto.getCustomerId()); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -1007,6 +1007,9 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								updateAuditStatusFailById(draftId, syncScanResult); | 
					 | 
					 | 
								updateAuditStatusFailById(draftId, syncScanResult); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								this.publishDraftToArticle(draft); | 
					 | 
					 | 
								this.publishDraftToArticle(draft); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								UpdateCustomerTagCacheDTO updateCustomerTagCacheDTO = this.updateCustomerTag(tokenDto, draftId); | 
					 | 
					 | 
								UpdateCustomerTagCacheDTO updateCustomerTagCacheDTO = this.updateCustomerTag(tokenDto, draftId); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
								if (updateCustomerTagCacheDTO == null){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
									return; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
								} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								List<UpdateGridTagCacheDTO> updateGridTagCacheDTOS = this.updateGridTag(tokenDto, draftId, updateCustomerTagCacheDTO); | 
					 | 
					 | 
								List<UpdateGridTagCacheDTO> updateGridTagCacheDTOS = this.updateGridTag(tokenDto, draftId, updateCustomerTagCacheDTO); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								this.addArticleTags(updateCustomerTagCacheDTO, draftId, tokenDto); | 
					 | 
					 | 
								this.addArticleTags(updateCustomerTagCacheDTO, draftId, tokenDto); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -1091,6 +1094,9 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							String tags = draft.getTags(); | 
					 | 
					 | 
							String tags = draft.getTags(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							String customerId = draft.getCustomerId(); | 
					 | 
					 | 
							String customerId = draft.getCustomerId(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							String userId = tokenDto.getUserId(); | 
					 | 
					 | 
							String userId = tokenDto.getUserId(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
								UpdateCustomerTagCacheDTO result = null; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							if (StringUtils.isNotBlank(tags)){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
								result = new UpdateCustomerTagCacheDTO(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								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
 | 
					 | 
					 | 
								//政府端的 标签使用次数  DB
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -1098,9 +1104,11 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									UpdateTagUseCountsResultDTO updateTagUseCount = tagCustomerService.checkTagInfo(tag, customerId, userId); | 
					 | 
					 | 
									UpdateTagUseCountsResultDTO updateTagUseCount = tagCustomerService.checkTagInfo(tag, customerId, userId); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									tagsInfo.add(updateTagUseCount); | 
					 | 
					 | 
									tagsInfo.add(updateTagUseCount); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								}); | 
					 | 
					 | 
								}); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							UpdateCustomerTagCacheDTO result = new UpdateCustomerTagCacheDTO(); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								result.setCustomerId(customerId); | 
					 | 
					 | 
								result.setCustomerId(customerId); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								result.setTagsInfo(tagsInfo); | 
					 | 
					 | 
								result.setTagsInfo(tagsInfo); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							return result; | 
					 | 
					 | 
							return result; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						} | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |