diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/controller/SysRoleController.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/controller/SysRoleController.java index 78c08d2..c1ad501 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/controller/SysRoleController.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/controller/SysRoleController.java @@ -236,7 +236,7 @@ public class SysRoleController extends BaseController @RequiresPermissions("system:role:edit") @Log(title = "角色管理", businessType = BusinessType.GRANT) @PostMapping("/authUser/setAll") - @Transactional + @Transactional(rollbackFor = Exception.class) public AjaxResult setAll(@RequestBody RoleUserSaveForm form) { List existsUserIds = userService.selectAllocatedListSimple(form.getRoleId());