From adb628d7646724beed23e53771bbf18a1b294cf0 Mon Sep 17 00:00:00 2001 From: zainali5120 <512061637@qq.com> Date: Sat, 20 Feb 2021 15:01:23 +0800 Subject: [PATCH] TRC20版本提交 --- src/main/resources/mapper/contract/ContractHoldOrderDao.xml | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/contract/ContractHoldOrderDao.xml b/src/main/resources/mapper/contract/ContractHoldOrderDao.xml index 1884085..45c0994 100644 --- a/src/main/resources/mapper/contract/ContractHoldOrderDao.xml +++ b/src/main/resources/mapper/contract/ContractHoldOrderDao.xml @@ -88,4 +88,18 @@ set force_closing_price=#{forcePrice}, is_can_closing=1 where member_id=#{memberId} and symbol=#{symbol} </update> + + + <update id="updateMemberAllHoldOrderClosingStatus"> + update contract_hold_order + set is_can_closing = 0 + where member_id=#{memberId} + </update> + + <select id="selectMemberHasWholeOrder" resultType="java.lang.Long"> + select distinct member_id + from contract_hold_order + where position_type=2 + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.1