|  |  | @ -987,7 +987,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
			
		
	
		
			
				
					|  |  |  | 			result = new SyncScanResult(); | 
			
		
	
		
			
				
					|  |  |  | 			if (imgSyncScanResult != null){ | 
			
		
	
		
			
				
					|  |  |  | 				SyncScanResult imgSyncScanResultData = imgSyncScanResult.getData(); | 
			
		
	
		
			
				
					|  |  |  | 				if (imgSyncScanResult.success()&&imgSyncScanResultData.isAllPass()) { | 
			
		
	
		
			
				
					|  |  |  | 				if (imgSyncScanResult.success()) { | 
			
		
	
		
			
				
					|  |  |  | 					result.setAllPass(imgSyncScanResultData.isAllPass()); | 
			
		
	
		
			
				
					|  |  |  | 					result.getSuccessDataIds().addAll(imgSyncScanResultData.getSuccessDataIds()); | 
			
		
	
		
			
				
					|  |  |  | 					result.getFailDataIds().addAll(imgSyncScanResultData.getFailDataIds()); | 
			
		
	
	
		
			
				
					|  |  | @ -995,7 +995,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
			
		
	
		
			
				
					|  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  | 			if (textSyncScanResult != null) { | 
			
		
	
		
			
				
					|  |  |  | 				SyncScanResult textSyncScanResultData = textSyncScanResult.getData(); | 
			
		
	
		
			
				
					|  |  |  | 				if (textSyncScanResult.success() && textSyncScanResultData.isAllPass()) { | 
			
		
	
		
			
				
					|  |  |  | 				if (textSyncScanResult.success()) { | 
			
		
	
		
			
				
					|  |  |  | 					result.setAllPass(result.isAllPass() ? textSyncScanResultData.isAllPass() : false); | 
			
		
	
		
			
				
					|  |  |  | 					result.getSuccessDataIds().addAll(textSyncScanResultData.getSuccessDataIds()); | 
			
		
	
		
			
				
					|  |  |  | 					result.getFailDataIds().addAll(textSyncScanResultData.getFailDataIds()); | 
			
		
	
	
		
			
				
					|  |  | @ -1053,6 +1053,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
			
		
	
		
			
				
					|  |  |  | 			log.error("updateAuditStatusFailById draftId:{} is not exist in db", draftId); | 
			
		
	
		
			
				
					|  |  |  | 			throw new RenException(EpmetErrorCode.INTERNAL_VALIDATE_ERROR.getCode(), EpmetErrorCode.INTERNAL_VALIDATE_ERROR.getMsg()); | 
			
		
	
		
			
				
					|  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  | 		this.updateDraftPublishStatus(draftId, DraftConstant.AUDITFAIL); | 
			
		
	
		
			
				
					|  |  |  | 		boolean coverFail = false,contentFail = false; | 
			
		
	
		
			
				
					|  |  |  | 		try { | 
			
		
	
		
			
				
					|  |  |  | 			List<String> failDataIds = syncScanResult.getFailDataIds(); | 
			
		
	
	
		
			
				
					|  |  | @ -1082,13 +1083,11 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
			
		
	
		
			
				
					|  |  |  | 				}else if (coverFail){ | 
			
		
	
		
			
				
					|  |  |  | 					auditMsg = "封面"; | 
			
		
	
		
			
				
					|  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  | 				this.sendMsg(draft.getCustomerId(), draft.getTitle(), String.format(ModuleConstant.MSG_ARTICLE_PUBLISH_ERROR, draft.getTitle(),auditMsg)); | 
			
		
	
		
			
				
					|  |  |  | 				this.updateDraftPublishStatus(draftId, DraftConstant.AUDITFAIL); | 
			
		
	
		
			
				
					|  |  |  | 				this.sendMsg(draft.getCustomerId(), draft.getTitle(), String.format(ModuleConstant.MSG_AUDIT_CONTENT, draft.getTitle(),auditMsg)); | 
			
		
	
		
			
				
					|  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  | 		} catch (Exception e) { | 
			
		
	
		
			
				
					|  |  |  | 			log.error("scanAllPassPublishArticle update db exception", e); | 
			
		
	
		
			
				
					|  |  |  | 			this.sendMsg(draft.getCustomerId(), draft.getTitle(), String.format(ModuleConstant.MSG_ARTICLE_PUBLISH_ERROR, draft.getTitle())); | 
			
		
	
		
			
				
					|  |  |  | 			this.updateDraftPublishStatus(draftId, DraftConstant.AUDITFAIL); | 
			
		
	
		
			
				
					|  |  |  | 			throw new RenException(EpmetErrorCode.SERVER_ERROR.getCode(), EpmetErrorCode.SERVER_ERROR.getMsg()); | 
			
		
	
		
			
				
					|  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  | 	} | 
			
		
	
	
		
			
				
					|  |  | 
 |