From 2a9a89b2a38dca9ca235ec5ec3c0de0faa8aef32 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 16 Jun 2026 17:47:36 +0800
Subject: [PATCH] fix(gateApi): 修复网格交易中的订单取消和止损追加逻辑
---
src/main/resources/mapper/walletCoinOrder/OrderCoinDealDao.xml | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/walletCoinOrder/OrderCoinDealDao.xml b/src/main/resources/mapper/walletCoinOrder/OrderCoinDealDao.xml
index f498ab6..03a89ae 100644
--- a/src/main/resources/mapper/walletCoinOrder/OrderCoinDealDao.xml
+++ b/src/main/resources/mapper/walletCoinOrder/OrderCoinDealDao.xml
@@ -28,4 +28,19 @@
select * from coins_order_deal where order_id= #{orderId} and member_id = #{memberId}
</select>
+ <select id="findAllWalletCoinOrderInPage" resultType="com.xcong.excoin.modules.coin.entity.OrderCoinsDealEntity">
+ select * from coins_order_deal
+ <if test="record != null">
+ <where>
+ <if test="record.memberId != null" >
+ and member_id=#{record.memberId}
+ </if>
+ <if test="record.symbol != null and record.symbol != ''">
+ and symbol = #{record.symbol}
+ </if>
+ </where>
+ </if>
+ order by create_time desc
+ </select>
+
</mapper>
--
Gitblit v1.9.1