From bb146de0f32bfbbb516e1c25ff4873986d548673 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Thu, 15 Jan 2026 10:41:21 +0800
Subject: [PATCH] etf
---
trading-order-service/src/main/resources/mapper/exchange/ExchangeApplyOrderMapper.xml | 5 ++++-
1 files changed, 4 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 88f127c..a699723 100644
--- a/trading-order-service/src/main/resources/mapper/exchange/ExchangeApplyOrderMapper.xml
+++ b/trading-order-service/src/main/resources/mapper/exchange/ExchangeApplyOrderMapper.xml
@@ -33,11 +33,14 @@
<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>
<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