Package com.ketayao.ketacustom.entity.main

Examples of com.ketayao.ketacustom.entity.main.UserRole


 
  @Log(message="撤销了{0}用户的{1}角色。")
  @RequiresPermissions("User:assign")
  @RequestMapping(value="/delete/userRole/{userRoleId}", method={RequestMethod.POST})
  public @ResponseBody void deleteUserRole(@PathVariable Long userRoleId) {
    UserRole userRole = userRoleService.get(userRoleId);
    LogUitls.putArgs(LogMessageObject.newWrite().setObjects(new Object[]{userRole.getUser().getUsername(), userRole.getRole().getName()}));
   
    userRoleService.delete(userRoleId);
  }
View Full Code Here

TOP

Related Classes of com.ketayao.ketacustom.entity.main.UserRole

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.