|  | @ -113,31 +113,7 @@ public class EmployController extends EnvelopRestController {
 | 
	
		
			
				|  |  |     @HystrixCommand(commandProperties = {
 | 
	
		
			
				|  |  |             @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds", value = "-1"),//超时时间
 | 
	
		
			
				|  |  |             @HystrixProperty(name = "execution.timeout.enabled", value = "false") })
 | 
	
		
			
				|  |  |     @GetMapping(value = BaseUserContants.Employee.api_getListNoPage)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "获取功能列表,不分页")
 | 
	
		
			
				|  |  |     public Envelop getRolesListNoPage(
 | 
	
		
			
				|  |  |             @ApiParam(name = "fields", value = "返回的字段,为空返回全部字段", defaultValue = "id,name,saasId,sex,phone,email,jxzc,lczcn,xlzc,xzzc,createUser,remark")
 | 
	
		
			
				|  |  |             @RequestParam(value = "fields", required = false) String fields,
 | 
	
		
			
				|  |  |             @ApiParam(name = "filters", value = "过滤器,为空检索所有条件")
 | 
	
		
			
				|  |  |             @RequestParam(value = "filters", required = false) String filters,
 | 
	
		
			
				|  |  |             @ApiParam(name = "sorts", value = "排序,规则参见说明文档", defaultValue = "+name,+createTime")
 | 
	
		
			
				|  |  |             @RequestParam(value = "sorts", required = false) String sorts) throws Exception {
 | 
	
		
			
				|  |  |         String filterStr = "";
 | 
	
		
			
				|  |  |         if(StringUtils.isNotBlank(filters)){
 | 
	
		
			
				|  |  |             JSONObject jsonResult = new JSONObject(filters);
 | 
	
		
			
				|  |  |             if(jsonResult.has("saasId")){
 | 
	
		
			
				|  |  |                 filterStr+="saasId="+jsonResult.get("saasId")+";";
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         return fegin.getRoleList(fields);
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @HystrixCommand(commandProperties = {
 | 
	
		
			
				|  |  |             @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds", value = "-1"),//超时时间
 | 
	
		
			
				|  |  |             @HystrixProperty(name = "execution.timeout.enabled", value = "false") })
 | 
	
		
			
				|  |  |     @PostMapping(value = BaseUserContants.Employee.api_create, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
 | 
	
		
			
				|  |  |     @PostMapping(value = BaseUserContants.EmployeeRole.api_create, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "新增用戶角色", notes = "新增用戶角色")
 | 
	
		
			
				|  |  |     public Envelop createEmployRoles(
 | 
	
		
			
				|  |  |             @ApiParam(name = "json_data", value = "", defaultValue = "")
 | 
	
	
		
			
				|  | @ -146,13 +122,11 @@ public class EmployController extends EnvelopRestController {
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @HystrixCommand(commandProperties = {
 | 
	
		
			
				|  |  |             @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds", value = "-1"),//超时时间
 | 
	
		
			
				|  |  |             @HystrixProperty(name = "execution.timeout.enabled", value = "false") })
 | 
	
		
			
				|  |  |     @PostMapping(value = BaseUserContants.Employee.api_create, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "新增用戶角色", notes = "新增用戶角色")
 | 
	
		
			
				|  |  |     @PutMapping(value = BaseUserContants.EmployeeRole.api_create, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "修改用戶角色", notes = "修改用戶角色")
 | 
	
		
			
				|  |  |     public Envelop updateEmployRoles(
 | 
	
		
			
				|  |  |             @ApiParam(name = "json_data", value = "", defaultValue = "")
 | 
	
		
			
				|  |  |             @RequestBody String jsonData) throws JiWeiException {
 | 
	
	
		
			
				|  | @ -160,13 +134,11 @@ public class EmployController extends EnvelopRestController {
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @HystrixCommand(commandProperties = {
 | 
	
		
			
				|  |  |             @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds", value = "-1"),//超时时间
 | 
	
		
			
				|  |  |             @HystrixProperty(name = "execution.timeout.enabled", value = "false") })
 | 
	
		
			
				|  |  |     @PostMapping(value = BaseUserContants.Employee.api_create, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "新增用戶角色", notes = "新增用戶角色")
 | 
	
		
			
				|  |  |     @DeleteMapping(value = BaseUserContants.EmployeeRole.api_create, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "删除用戶角色", notes = "删除用戶角色")
 | 
	
		
			
				|  |  |     public Envelop deleteEmployRoles(
 | 
	
		
			
				|  |  |             @ApiParam(name = "json_data", value = "", defaultValue = "")
 | 
	
		
			
				|  |  |             @RequestBody String jsonData) throws JiWeiException {
 | 
	
	
		
			
				|  | @ -174,19 +146,14 @@ public class EmployController extends EnvelopRestController {
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @HystrixCommand(commandProperties = {
 | 
	
		
			
				|  |  |             @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds", value = "-1"),//超时时间
 | 
	
		
			
				|  |  |             @HystrixProperty(name = "execution.timeout.enabled", value = "false") })
 | 
	
		
			
				|  |  |     @PostMapping(value = BaseUserContants.Employee.api_create, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "新增用戶角色", notes = "新增用戶角色")
 | 
	
		
			
				|  |  |     public Envelop getRoleList(
 | 
	
		
			
				|  |  |             @ApiParam(name = "json_data", value = "", defaultValue = "")
 | 
	
		
			
				|  |  |             @RequestBody String jsonData) throws JiWeiException {
 | 
	
		
			
				|  |  |         return fegin.create(jsonData);
 | 
	
		
			
				|  |  |     @GetMapping(value = BaseUserContants.EmployeeRole.api_getListNoPage)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "获取用戶角色列表,不分页")
 | 
	
		
			
				|  |  |     public Envelop getRolesListNoPage(
 | 
	
		
			
				|  |  |             @ApiParam(name = "fields", value = "返回的字段,为空返回全部字段", defaultValue = "id,name,saasId,sex,phone,email,jxzc,lczcn,xlzc,xzzc,createUser,remark") @RequestParam(value = "fields", required = false) String fields) throws Exception {
 | 
	
		
			
				|  |  |         return fegin.getRoleList(fields);
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | }
 |