zainali5120
2021-02-23 705635efdd5000152d9c4423ae980ccdc34632a8
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>