From 04f33d32c28830004917c356d57f1a2714f2be0e Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Wed, 02 Jul 2025 23:17:02 +0800
Subject: [PATCH] 补充订单、退单用户操作信息

---
 oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml b/oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml
index a72896c..f5dd43c 100644
--- a/oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml
+++ b/oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml
@@ -22,8 +22,8 @@
         <include refid="Base_Column_List"/>
         from sh_order_operation_log
         <where>
-            <if test="criteria.userId != null">
-                and user_id = #{criteria.userId}
+            <if test="criteria.username != null">
+                and username like concat('%',#{criteria.username},'%')
             </if>
             <if test="criteria.userType != null">
                 and user_type = #{criteria.userType}

--
Gitblit v1.9.3