From 69b5fdc593fa73424448df0c911c5177f7497e7c Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Mon, 01 Sep 2025 18:44:11 +0800
Subject: [PATCH] 停牌判断 新增申购记录
---
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