From 29bf89e3f30c1aaa09b34b1a2b9c572d3c070e29 Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Mon, 07 Jul 2025 20:05:16 +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