Helius
2021-01-29 bee6b602b0bf4dfb7956a61b39ba03a240d89d6f
src/main/resources/mapper/contract/ContractHoldOrderDao.xml
@@ -68,13 +68,12 @@
        order by create_time desc
    </select>
    <select id="selectAllWholeOrderMemberIdAndSymbol" resultType="java.util.HashMap">
    <select id="selectAllWholeOrderMemberId" resultType="java.lang.Long">
        select
            member_id,
            symbol
            member_id
        from contract_hold_order
        where position_type=2
        group by member_id, symbol
        where position_type=2 and is_can_closing=1
        group by member_id
    </select>
    <select id="selectWholeHoldOrderSymbolsByMemberId" resultType="java.lang.String">