From 205921a2411cfdcf12a7ba4e9222e9c26e32941e Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Tue, 28 Oct 2025 18:31:55 +0800
Subject: [PATCH] etf大宗
---
trading-order-service/src/main/resources/mapper/dz/StockDzMapper.xml | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/trading-order-service/src/main/resources/mapper/dz/StockDzMapper.xml b/trading-order-service/src/main/resources/mapper/dz/StockDzMapper.xml
index 9e82e25..7fafa96 100644
--- a/trading-order-service/src/main/resources/mapper/dz/StockDzMapper.xml
+++ b/trading-order-service/src/main/resources/mapper/dz/StockDzMapper.xml
@@ -45,19 +45,20 @@
<select id="getDzOrderList" resultType="com.yami.trading.bean.dz.ExchangeApplyOrderDz" parameterType="map">
SELECT
- *
- FROM t_exchange_apply_order_dz
+ t.*
+ FROM t_exchange_apply_order_dz t
+ LEFT JOIN t_stock_dz s ON t.dz_id=s.uuid
WHERE 1=1
<if test="stockType != null and stockType != '' ">
- AND stock_type = #{stockType}
+ AND s.stock_type = #{stockType}
</if>
<if test="state != null and state != ''">
AND t.state = #{state}
</if>
<if test="userId != null and userId != '' ">
- AND party_id = #{userId}
+ AND t.party_id = #{userId}
</if>
- ORDER BY create_time DESC
+ ORDER BY t.create_time DESC
</select>
<select id="getDzCheckList" resultType="com.yami.trading.bean.dz.dto.ExchangeApplyOrderDzDto" parameterType="map">
--
Gitblit v1.9.3