修复减权限没有指定角色的问题
This commit is contained in:
parent
62ddd205e8
commit
1ec8288c36
|
@ -87,7 +87,8 @@ public class UpmsRoleController extends BaseController {
|
|||
// 减权限
|
||||
UpmsRolePermissionExample upmsRolePermissionExample = new UpmsRolePermissionExample();
|
||||
upmsRolePermissionExample.createCriteria()
|
||||
.andPermissionIdIn(deleteIds);
|
||||
.andPermissionIdIn(deleteIds)
|
||||
.andRoleIdEqualTo(id);
|
||||
upmsRolePermissionService.deleteByExample(upmsRolePermissionExample);
|
||||
return new UpmsResult(UpmsResultConstant.SUCCESS, datas.size());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue