From 5208a38ba080c322f0f0b6a01ac527ee30fe4204 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Tue, 25 Nov 2025 15:51:41 +0800
Subject: [PATCH] 新增税务信息

---
 trading-order-service/src/main/resources/mapper/UserMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/trading-order-service/src/main/resources/mapper/UserMapper.xml b/trading-order-service/src/main/resources/mapper/UserMapper.xml
index 5a125be..e6b6054 100644
--- a/trading-order-service/src/main/resources/mapper/UserMapper.xml
+++ b/trading-order-service/src/main/resources/mapper/UserMapper.xml
@@ -117,7 +117,7 @@
         </if>
 
         <if test="userName!=null and userName!=''">
-            and u.user_name=#{userName} or u.user_code=#{userName}
+            and (u.user_name=#{userName} or u.user_code=#{userName})
         </if>
 
         <if test="userMail!=null and userMail!=''">

--
Gitblit v1.9.3