fix(REQ-2545): 记录菜单绑定角色关系的日志

This commit is contained in:
李昆鹏 2024-07-24 20:13:25 +08:00
parent cb46c5eb6d
commit 2efcaf9634

View File

@ -1558,7 +1558,7 @@ public class RoleServiceImpl extends ServiceImpl<SaasRoleMapper, SaasRole>
.build();
SaasPgroupPermissionRelationOperateLog operateLog = SaasPgroupPermissionRelationOperateLog.builder()
.scene(PermissionRelationOperateLogSceneEnum.OMS_ROLE_BIND_FEATURE_RESOURCE.getValue())
.sceneId(saveOrUpdateRole.getRoleCode())
.sceneId(saasRole.getRoleCode())
.createBy(saveOrUpdateRole.getOperatorId())
.createByName(saveOrUpdateRole.getOperatorName())
.traceId(MDC.get(Constants.CTX_LOG_ID_MDC))