|  | @@ -59,6 +59,20 @@ public class TenantController {
 | 
	
		
			
				|  |  |          return new AjaxMessage<>(ResultStatus.OK, result);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +     /**
 | 
	
		
			
				|  |  | +      * 通过租户标识查询单条数据
 | 
	
		
			
				|  |  | +      *
 | 
	
		
			
				|  |  | +      * @param code
 | 
	
		
			
				|  |  | +      * @return 单条数据
 | 
	
		
			
				|  |  | +      */
 | 
	
		
			
				|  |  | +     @RequestMapping(value = "getByCode", method = RequestMethod.POST)
 | 
	
		
			
				|  |  | +     @ApiOperation(value = "根据id查询租户")
 | 
	
		
			
				|  |  | +     public AjaxMessage<TenantDto> selectOneByCode(
 | 
	
		
			
				|  |  | +             @ApiParam(value = "租户标识", required = true) @RequestParam String code) {
 | 
	
		
			
				|  |  | +         TenantDto result = tenantService.selectByCode(code);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +         return new AjaxMessage<>(ResultStatus.OK, result);
 | 
	
		
			
				|  |  | +     }
 | 
	
		
			
				|  |  |      /**
 | 
	
		
			
				|  |  |       * 查询租户信息
 | 
	
		
			
				|  |  |       *
 |