|  | @ -13,6 +13,7 @@ import com.yihu.jw.rm.hospital.BaseHospitalRequestMapping;
 | 
	
		
			
				|  |  | import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  | import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  | import io.swagger.annotations.ApiParam;
 | 
	
		
			
				|  |  | import org.apache.commons.lang.StringUtils;
 | 
	
		
			
				|  |  | import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  | 
 | 
	
	
		
			
				|  | @ -59,6 +60,12 @@ public class ArticleEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 			@RequestParam(value = "page", required = true,defaultValue = "1")Integer page,
 | 
	
		
			
				|  |  | 			@ApiParam(name = "pageSize", value = "每页分页大小", required = true, defaultValue = "10")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "pageSize", required = true,defaultValue = "10")Integer pageSize)throws Exception{
 | 
	
		
			
				|  |  | 		if(StringUtils.isBlank(filters)){
 | 
	
		
			
				|  |  | 			filters=filters+"del=1";
 | 
	
		
			
				|  |  | 		}else{
 | 
	
		
			
				|  |  | 			filters=filters+";del=1";
 | 
	
		
			
				|  |  | 		}
 | 
	
		
			
				|  |  | 		
 | 
	
		
			
				|  |  | 		List<KnowledgeArticleDO> list  = knowledgeArticleService.search(fields,filters,sorts,page,pageSize);
 | 
	
		
			
				|  |  | 		List<KnowledgeArticleDO> totals  = knowledgeArticleService.search(fields,filters,sorts);
 | 
	
		
			
				|  |  | 		
 |