|
|
@ -236,7 +236,7 @@ public class SysRoleController extends BaseController |
|
|
@RequiresPermissions("system:role:edit") |
|
|
@RequiresPermissions("system:role:edit") |
|
|
@Log(title = "角色管理", businessType = BusinessType.GRANT) |
|
|
@Log(title = "角色管理", businessType = BusinessType.GRANT) |
|
|
@PostMapping("/authUser/setAll") |
|
|
@PostMapping("/authUser/setAll") |
|
|
@Transactional |
|
|
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public AjaxResult setAll(@RequestBody RoleUserSaveForm form) |
|
|
public AjaxResult setAll(@RequestBody RoleUserSaveForm form) |
|
|
{ |
|
|
{ |
|
|
List<Long> existsUserIds = userService.selectAllocatedListSimple(form.getRoleId()); |
|
|
List<Long> existsUserIds = userService.selectAllocatedListSimple(form.getRoleId()); |
|
|
|