From 87955a97512bfc53f376cfbab2e29ab84bd25292 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 24 Aug 2024 11:15:52 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E3=80=91=E7=B3=BB=E7=BB=9F=EF=BC=9AOperateLogRespDTO=20?= =?UTF-8?q?=E7=9A=84=E5=AD=97=E6=AE=B5=E8=AF=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yudao/module/system/api/logger/dto/OperateLogRespDTO.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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..c7dcc5057 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 @@ -1,5 +1,6 @@ package cn.iocoder.yudao.module.system.api.logger.dto; +import cn.iocoder.yudao.module.system.api.user.AdminUserApi; import com.fhs.core.trans.anno.Trans; import com.fhs.core.trans.constant.TransType; import com.fhs.core.trans.vo.VO; @@ -18,8 +19,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", - fields = "nickname", ref = "userName") + @Trans(type = TransType.AUTO_TRANS, key = AdminUserApi.PREFIX, fields = "nickname", ref = "userName") private Long userId; @Schema(description = "用户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道") private String userName;