From a4abdefa6010c38e279df99dc5f6ac208ea1b490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=A3=E5=8F=A3=E5=8F=A3?= <17975121@qq.com> Date: Thu, 22 Aug 2024 08:58:46 +0000 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AF=91userName=EF=BC=8CRPC=E6=8A=A5?= =?UTF-8?q?=E9=94=99=EF=BC=8C=E4=BF=AE=E5=A4=8D=20yudao-module-system/yuda?= =?UTF-8?q?o-module-system-api/src/main/java/cn/iocoder/yudao/module/syste?= =?UTF-8?q?m/api/logger/dto/OperateLogRespDTO.java=20=E7=BF=BB=E8=AF=91use?= =?UTF-8?q?rName=EF=BC=8CRPC=E6=8A=A5=E9=94=99=EF=BC=8C=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 口口口 <17975121@qq.com> --- .../yudao/module/system/api/logger/dto/OperateLogRespDTO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/logger/dto/OperateLogRespDTO.java b/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/logger/dto/OperateLogRespDTO.java index 8f2be31e5..8f5a9bdea 100644 --- a/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/logger/dto/OperateLogRespDTO.java +++ b/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/logger/dto/OperateLogRespDTO.java @@ -18,7 +18,7 @@ public class OperateLogRespDTO implements VO { @Schema(description = "链路追踪编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "89aca178-a370-411c-ae02-3f0d672be4ab") private String traceId; @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666") - @Trans(type = TransType.RPC, targetClassName = "cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserDO", + @Trans(type = TransType.AUTO_TRANS, key = AdminUserApi.PREFIX, fields = "nickname", ref = "userName") private Long userId; @Schema(description = "用户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")