From 69adba5ed84906ed740dcda038fea34c819f27e2 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Thu, 11 Sep 2025 18:30:32 +0800
Subject: [PATCH] k线初始化
---
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