|  | @ -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);
 | 
	
	
		
			
				|  | @ -601,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());
 | 
	
	
		
			
				|  | @ -699,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());
 |