| 
					
				 | 
			
			
				@ -251,7 +251,10 @@ public class ArticleDao { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						if (StringUtil.isNotEmpty(vo.getUserId())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							param.append(" and UserId = '").append(vo.getUserId()).append("'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						param.append(" and usertype = 2"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						if(vo.getUserType()!=0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							param.append(" and usertype = ").append(vo.getUserType()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						sql.addVar("@Condition", param.toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						List<ArticleStatistic> list = DB.me().queryForBeanList(MyDatabaseEnum.JkEduDB, sql, ArticleStatistic.class); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -265,7 +268,7 @@ public class ArticleDao { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						StringBuffer param = new StringBuffer(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						param.append(" and ArticleId = '").append(articleId).append("'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						sql.addVar("@Condition", param.toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						sql.addVar("@behaviorParam", behaviorParam.toString() + "=" + behaviorParam + "+" + number); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						sql.addVar("@behaviorParam", behaviorParam.toString() + "=" + behaviorParam + "+ " + number); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						sql.addVar("@ArticleId", "ArticleId ='" + articleId + "'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						DB.me().update(MyDatabaseEnum.JkEduDB, sql); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -498,6 +501,8 @@ public class ArticleDao { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						if(!StringUtils.isEmpty(vo.getArticleCover())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							behaviorParam += ",ArticleCover='"+vo.getArticleCover()+"' "; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//			sql.addVar("@behaviorParam"," ArticleCover='"+vo.getArticleCover()+"'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							behaviorParam += ",ArticleCover='' "; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						if(!StringUtils.isEmpty(vo.getUserScope())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							behaviorParam += ",UserScope="+vo.getUserScope(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -599,7 +604,7 @@ public class ArticleDao { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if(StringUtil.isNotEmpty(userCode)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							param2.append(" and  a.UserId='"+userCode+"'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							param.append(" or  ( OperatorId='"+userCode+"' and UserScope=4 and RoleType = '"+vo.getRoleType()+"')"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							param.append(" or  ( OperatorId='"+userCode+"' and UserScope=4 and RoleType = "+vo.getRoleType()+")"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//		pageParam.append(" limit ").append(start * pageSize + "," + pageSize); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						sql.addVar("@Condition", param.toString()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -697,7 +702,7 @@ public class ArticleDao { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						if(StringUtil.isNotEmpty(userCode)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							param2.append(" and  a.UserId='"+userCode+"'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							param.append(" or  ( OperatorId='"+userCode+"' and UserScope=4 and RoleType = '"+vo.getRoleType()+"')"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							param.append(" or  ( OperatorId='"+userCode+"' and UserScope=4 and RoleType = "+vo.getRoleType()+")"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						pageParam.append(" limit ").append(start * pageSize + "," + pageSize); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						sql.addVar("@Condition", param.toString()); 
			 |