Helius
2020-06-08 72e119a8d1a2d7c7b1727faa2381930249481f80
src/main/resources/mapper/contract/ContractEntrustOrderDao.xml
@@ -11,6 +11,15 @@
        select * from contract_entrust_order
        where member_id=#{memberId}
    </select>
    <select id="selectEntrustOrderListByMemberIdAndSymbol" resultType="com.xcong.excoin.modules.contract.entity.ContractEntrustOrderEntity">
        select * from contract_entrust_order
        where member_id=#{memberId}
        <if test="symbol != null and symbol !=''">
            and symbol=#{symbol}
        </if>
        order by create_time desc
    </select>
    <select id="selectEntrustOrderListByIds" resultType="com.xcong.excoin.modules.contract.entity.ContractEntrustOrderEntity">
        select * from contract_entrust_order
        where id in