| 
					
				 | 
			
			
				@ -17,6 +17,7 @@ import com.yihu.ehr.model.org.MOrganization; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.ehr.basic.org.model.OrgDept; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.ehr.basic.org.service.OrgDeptService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.ehr.basic.org.service.OrgService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.ehr.model.user.MRoleReportRelation; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.ehr.util.phonics.PinyinUtil; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.ehr.util.rest.Envelop; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import io.swagger.annotations.Api; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -63,8 +64,8 @@ public class OrgEndPoint extends EnvelopRestEndPoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @RequestMapping(value = "/organizations/getAllOrgs", method = RequestMethod.GET, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(value = "查询所有机构列表") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public List<MOrganization> getAllOrgs() throws Exception { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<MOrganization> orgs = orgService.search(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return orgs; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<Organization> orgs = orgService.search(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return (List)convertToModels(orgs, new ArrayList<MOrganization>(orgs.size()), MOrganization.class, ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -455,8 +456,8 @@ public class OrgEndPoint extends EnvelopRestEndPoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @RequestMapping(value = "/organizations/getAllOrgsNoPaging", method = RequestMethod.GET, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(value = "查询所有机构列表不分页") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public List<MOrganization> getAllOrgsNoPaging() throws Exception { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<MOrganization> orgs = orgService.search(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return orgs; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<Organization> orgs = orgService.search(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return  (List)convertToModels(orgs, new ArrayList<MOrganization>(orgs.size()), MOrganization.class, ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @RequestMapping(value = "/organizations/batch", method = RequestMethod.POST) 
			 |