From bc60c2e83e277421336c0583c6105d9da9308c4b Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 10 Aug 2020 14:58:23 +0800
Subject: [PATCH] add whole some code

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

diff --git a/src/main/resources/mapper/contract/ContractHoldOrderDao.xml b/src/main/resources/mapper/contract/ContractHoldOrderDao.xml
index 3572e89..32fbaf4 100644
--- a/src/main/resources/mapper/contract/ContractHoldOrderDao.xml
+++ b/src/main/resources/mapper/contract/ContractHoldOrderDao.xml
@@ -29,6 +29,9 @@
         <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>

--
Gitblit v1.9.1