From cb0eefdc3573b633f18f242abe30f3a9b94e6153 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 14 Mar 2022 18:00:27 +0800
Subject: [PATCH] 20222223

---
 src/main/resources/mapper/contract/ContractHoldOrderDao.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/contract/ContractHoldOrderDao.xml b/src/main/resources/mapper/contract/ContractHoldOrderDao.xml
index 024fe90..3572e89 100644
--- a/src/main/resources/mapper/contract/ContractHoldOrderDao.xml
+++ b/src/main/resources/mapper/contract/ContractHoldOrderDao.xml
@@ -24,6 +24,15 @@
         select * from contract_hold_order where member_id=#{memberId} and is_can_closing=1 order by create_time desc
     </select>
 
+    <select id="selectHoldOrderListByMemberIdAndSymbol" resultType="com.xcong.excoin.modules.contract.entity.ContractHoldOrderEntity">
+        select * from contract_hold_order where member_id=#{memberId}
+        <if test="symbol!=null and symbol!=''">
+            and symbol=#{symbol}
+        </if>
+        and is_can_closing=1
+        order by create_time desc
+    </select>
+
     <select id="selectHoldOrderByMemberIdAndId" resultType="com.xcong.excoin.modules.contract.entity.ContractHoldOrderEntity">
         select * from contract_hold_order where member_id=#{memberId} and id=#{id}
     </select>

--
Gitblit v1.9.1