| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -1849,8 +1849,18 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							baseDao.updateById(articleEntity); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							// 2.内容
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							ArticleContentEntity articleContent = articleContentDao.selectByArticleId(formDTO.getArticleId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							articleContent.setContent(formDTO.getContent()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							articleContentDao.updateById(articleContent); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							if (null != articleContent) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								articleContent.setContent(formDTO.getContent()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								articleContentDao.updateById(articleContent); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							}else{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								ArticleContentEntity articleContent1=new ArticleContentEntity(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								articleContent1.setCustomerId(formDTO.getCustomerId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								articleContent1.setArticleId(formDTO.getArticleId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								articleContent1.setContent(formDTO.getContent()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								articleContent1.setContentType("rich_text"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								articleContent1.setOrderNum(NumConstant.ONE); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								articleContentDao.insert(articleContent1); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							// 3.操作记录
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							ArticleOperateRecordEntity articleOperateRecord = new ArticleOperateRecordEntity(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							articleOperateRecord.setCustomerId(formDTO.getCustomerId()); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |