|  |  | @ -843,7 +843,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
			
		
	
		
			
				
					|  |  |  | 			//直接查询改草稿的 封面及内容
 | 
			
		
	
		
			
				
					|  |  |  | 			List<DraftContentEntity> draftContents = draftContentDao.selectByDraftId(draftId,null); | 
			
		
	
		
			
				
					|  |  |  | 			DraftCoverEntity draftCover = draftCoverDao.selectByDraftId(draftId,null); | 
			
		
	
		
			
				
					|  |  |  | 			List<DraftPublishRangeDTO> draftPublishRange = draftPublishRangeDao.selectByDraftId(draftId); | 
			
		
	
		
			
				
					|  |  |  | 			List<DraftPublishRangeEntity> draftPublishRange = draftPublishRangeDao.selectByDraftId(draftId); | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 			//3.生成文章以及相关记录
 | 
			
		
	
		
			
				
					|  |  |  | 			ArticleEntity article = ConvertUtils.sourceToTarget(draft,ArticleEntity.class); | 
			
		
	
	
		
			
				
					|  |  | @ -865,10 +865,12 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
			
		
	
		
			
				
					|  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  | 			if(null != draftPublishRange && draftPublishRange.size() > NumConstant.ZERO){ | 
			
		
	
		
			
				
					|  |  |  | 				draftPublishRange.forEach(range -> { | 
			
		
	
		
			
				
					|  |  |  | 					range.setPublishStatus(DraftConstant.PUBLISHED); | 
			
		
	
		
			
				
					|  |  |  | 					ArticlePublishRangeEntity rangeToInsert = ConvertUtils.sourceToTarget(range,ArticlePublishRangeEntity.class); | 
			
		
	
		
			
				
					|  |  |  | 					rangeToInsert.setArticleId(article.getId()); | 
			
		
	
		
			
				
					|  |  |  | 					rangeToInsert.setId(null); | 
			
		
	
		
			
				
					|  |  |  | 					articlePublishRangeDao.insert(rangeToInsert); | 
			
		
	
		
			
				
					|  |  |  | 					articlePublishRangeDao.updateById(range); | 
			
		
	
		
			
				
					|  |  |  | 				}); | 
			
		
	
		
			
				
					|  |  |  | 				if(null != draftCover){ | 
			
		
	
		
			
				
					|  |  |  | 					//draftCover.setAuditStatus(ModuleConstant.AUDIT_STATUS_PASS);
 | 
			
		
	
	
		
			
				
					|  |  | 
 |