From c6eddb4918edb92d78a04525d4e84867cc97f667 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Sat, 29 Nov 2025 18:46:52 +0800
Subject: [PATCH] 1

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

diff --git a/trading-order-service/src/main/resources/mapper/exchange/ExchangeApplyOrderMapper.xml b/trading-order-service/src/main/resources/mapper/exchange/ExchangeApplyOrderMapper.xml
index cb2b691..a699723 100644
--- a/trading-order-service/src/main/resources/mapper/exchange/ExchangeApplyOrderMapper.xml
+++ b/trading-order-service/src/main/resources/mapper/exchange/ExchangeApplyOrderMapper.xml
@@ -40,7 +40,7 @@
           and item.type=#{symbolType}
       </if>
       <if test="userName!=null and userName!=''">
-          and party.user_name=#{userName} or party.user_code=#{userName}
+          and (party.user_name=#{userName} or party.user_code=#{userName})
       </if>
       <if test="userCode!=null and userCode!=''">
           and party.user_code=#{userCode}

--
Gitblit v1.9.3