From c2e573685bc98c541dfd8381ac86a2d8d750606d Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Tue, 19 Aug 2025 14:22:18 +0800
Subject: [PATCH] 1
---
trading-order-service/src/main/resources/mapper/UserMapper.xml | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/trading-order-service/src/main/resources/mapper/UserMapper.xml b/trading-order-service/src/main/resources/mapper/UserMapper.xml
index 6a97229..4871ca0 100644
--- a/trading-order-service/src/main/resources/mapper/UserMapper.xml
+++ b/trading-order-service/src/main/resources/mapper/UserMapper.xml
@@ -45,12 +45,11 @@
#{r}
</foreach>
- <if test="userCode!=null and userCode!=''">
- and u.user_code=#{userCode}
- </if>
-
+<!-- <if test="userCode!=null and userCode!=''">-->
+<!-- and u.user_code=#{userCode}-->
+<!-- </if>-->
<if test="userName!=null and userName!=''">
- and u.user_name=#{userName}
+ and u.user_name=#{userName} or u.user_code=#{userName}
</if>
<if test="checkedList!=null">
--
Gitblit v1.9.3