From cfef703dffc6488977a728c8d89f2a00f5d62d67 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 07 Aug 2020 09:56:29 +0800
Subject: [PATCH] Merge branch 'follow' of https://gitee.com/chonggaoxiao/new_excoin into follow
---
src/main/resources/mapper/contract/ContractHoldOrderDao.xml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/contract/ContractHoldOrderDao.xml b/src/main/resources/mapper/contract/ContractHoldOrderDao.xml
index 25f9dcb..32fbaf4 100644
--- a/src/main/resources/mapper/contract/ContractHoldOrderDao.xml
+++ b/src/main/resources/mapper/contract/ContractHoldOrderDao.xml
@@ -29,7 +29,11 @@
<if test="symbol!=null and symbol!=''">
and symbol=#{symbol}
</if>
+ <if test="type!=null and type!=0">
+ and contract_type=#{type}
+ </if>
and is_can_closing=1
+ order by create_time desc
</select>
<select id="selectHoldOrderByMemberIdAndId" resultType="com.xcong.excoin.modules.contract.entity.ContractHoldOrderEntity">
--
Gitblit v1.9.1