| | |
| | | </where>
|
| | | order by create_time desc
|
| | | </select>
|
| | | <select id="selectAllWalletCoinOrderBySymbol" resultType="com.xcong.excoin.modules.coin.entity.OrderCoinsDealEntity">
|
| | |
|
| | | <select id="selectOrderCoinDealByTime" resultType="com.xcong.excoin.trade.ExchangeTrade">
|
| | | SELECT
|
| | | symbol symbol,
|
| | | deal_price price,
|
| | | symbol_cnt amount,
|
| | | deal_amount buyTurnover,
|
| | | deal_amount sellTurnover,
|
| | | order_type direction,
|
| | | create_time time
|
| | | from coins_order_deal
|
| | | where symbol = #{symbol}
|
| | | and order_type = 1
|
| | | and order_status = 3
|
| | | and create_time between #{startTime} and #{endTime}
|
| | | </select>
|
| | | <select id="selectAllWalletCoinOrderBySymbol"
|
| | | resultType="com.xcong.excoin.modules.coin.entity.OrderCoinsDealEntity">
|
| | | select * from coins_order_deal
|
| | | <where>
|
| | | <if test="memberId != null and memberId != ''">
|