Helius
2020-09-07 8d3774e6d2440690348dc7fb6fcb6c1a53236255
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>