From 69f0dce8a40c857d3f16de2ee973dd6ce10eb372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Sun, 19 Jul 2026 00:16:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(mapper):=20=E4=BF=AE=E6=AD=A3=20OperationRe?= =?UTF-8?q?cordMapper=20=E4=B8=AD=E8=A1=A8=E5=90=8D=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将查询语句中的表名从 gxwebsoft_core.sys_operation_record 修改为 sys_operation_record - 保持了关联查询 sys_user 表的逻辑不变 - 确保查询语句正确指向目标表,避免命名空间冲突 --- .../common/system/mapper/xml/OperationRecordMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gxwebsoft/common/system/mapper/xml/OperationRecordMapper.xml b/src/main/java/com/gxwebsoft/common/system/mapper/xml/OperationRecordMapper.xml index 56b7fad..00f37e3 100644 --- a/src/main/java/com/gxwebsoft/common/system/mapper/xml/OperationRecordMapper.xml +++ b/src/main/java/com/gxwebsoft/common/system/mapper/xml/OperationRecordMapper.xml @@ -7,7 +7,7 @@ SELECT a.*, b.nickname, b.username - FROM gxwebsoft_core.sys_operation_record a + FROM sys_operation_record a LEFT JOIN gxwebsoft_core.sys_user b ON a.user_id = b.user_id