Helius
2020-07-07 d20d3b21b76638a55099109894717c67a3e9966f
modify
1 files modified
29 ■■■■■ changed files
src/main/resources/mapper/contract/ContractOrderDao.xml 29 ●●●●● patch | view | raw | blame | history
src/main/resources/mapper/contract/ContractOrderDao.xml
@@ -5,8 +5,35 @@
    <select id="selectContractOrderInPage" resultType="com.xcong.excoin.modules.contract.entity.ContractOrderEntity">
        select
            *,
            create_time,
            id,
            member_id,
            order_no,
            position_type,
            trade_type,
            order_type,
            order_status,
            entrust_opening_price,
            entrust_time,
            symbol,
            symbol_cnt,
            symbol_sku,
            closing_price,
            closing_time,
            closing_fee_amount*(select fee_spread_ratio from platform_trade_setting) closing_fee_amount,
            closing_type,
            lever_ratio,
            stop_loss_price,
            stop_profit_price,
            reward_amount,
            reward_ratio,
            opening_price,
            opening_time,
            pre_payment_amount,
            bond_amount,
            mark_price,
            force_closing_price,
            hold_amount,
            opening_fee_amount*(select fee_spread_ratio from platform_trade_setting) opening_fee_amount
        from contract_order
        <if test="record != null">