fix(mapper): 修正 OperationRecordMapper 中表名引用错误
- 将查询语句中的表名从 gxwebsoft_core.sys_operation_record 修改为 sys_operation_record - 保持了关联查询 sys_user 表的逻辑不变 - 确保查询语句正确指向目标表,避免命名空间冲突
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
SELECT a.*,
|
SELECT a.*,
|
||||||
b.nickname,
|
b.nickname,
|
||||||
b.username
|
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
|
LEFT JOIN gxwebsoft_core.sys_user b ON a.user_id = b.user_id
|
||||||
<where>
|
<where>
|
||||||
<if test="param.id != null">
|
<if test="param.id != null">
|
||||||
|
|||||||
Reference in New Issue
Block a user