Helius
2021-01-27 2f6670dc8a71ec0eb2980408d558f2c3d6ddce2a
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>