From 4e5138fdfd60edf0d67787582905dfcc0801d667 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Thu, 20 Nov 2025 17:38:10 +0800
Subject: [PATCH] 多ip地址登录

---
 trading-order-service/src/main/resources/mapper/exchange/ExchangeApplyOrderMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 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 88f127c..cb2b691 100644
--- a/trading-order-service/src/main/resources/mapper/exchange/ExchangeApplyOrderMapper.xml
+++ b/trading-order-service/src/main/resources/mapper/exchange/ExchangeApplyOrderMapper.xml
@@ -33,6 +33,9 @@
       <if test="rolename!=null and rolename!=''">
           and party.role_name=#{rolename}
       </if>
+      <if test="usernameParent!=null and usernameParent!=''">
+          and ur.user_name like  CONCAT('%', #{usernameParent}, '%')
+      </if>
       <if test="symbolType!=null and symbolType!=''">
           and item.type=#{symbolType}
       </if>

--
Gitblit v1.9.3