From dfff6a8de2ac1337c1bd44e8d2f1fd04ddc5877a Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 08 Sep 2020 19:05:17 +0800 Subject: [PATCH] modify --- src/main/resources/mapper/contract/ContractHoldOrderDao.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/contract/ContractHoldOrderDao.xml b/src/main/resources/mapper/contract/ContractHoldOrderDao.xml index 36994b2..45c0994 100644 --- a/src/main/resources/mapper/contract/ContractHoldOrderDao.xml +++ b/src/main/resources/mapper/contract/ContractHoldOrderDao.xml @@ -89,9 +89,17 @@ 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