From f1673d496ad22f20c7b2f04bd98f916c841c5f5f Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Thu, 09 Oct 2025 11:23:43 +0800
Subject: [PATCH] 后台资金显示

---
 trading-order-service/src/main/resources/mapper/UserMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/trading-order-service/src/main/resources/mapper/UserMapper.xml b/trading-order-service/src/main/resources/mapper/UserMapper.xml
index 4414f22..90c8059 100644
--- a/trading-order-service/src/main/resources/mapper/UserMapper.xml
+++ b/trading-order-service/src/main/resources/mapper/UserMapper.xml
@@ -38,7 +38,9 @@
 
     <select id="listUser" resultType="com.yami.trading.bean.user.dto.UserDto">
 
-        SELECT * FROM tz_user u LEFT JOIN tz_wallet w ON u.user_id=w.user_id
+        SELECT u.*,w.money,c.money capital_money FROM tz_user u
+        LEFT JOIN tz_wallet w ON u.user_id=w.user_id
+        LEFT JOIN tz_capital_wallet c ON u.user_id=c.user_id
 
         where 1=1 and u.role_name in
         <foreach collection="roleNames" separator="," index="index" open="(" close=")" item="r">

--
Gitblit v1.9.3